Deploying GTM with a directory exclusion isn’t working.
I have added a script via Google Tag Manager and it fires on all pages with the exception of a single directory. However, when visiting a page that should be excluded, the script still fires until I force a refresh, then the script stops firing. If I go to another page outside the excluded directory, the script doesn’t fire there either. It’s a very strange result.
Has anyone ever experienced anything like this? I’m hoping to narrow down whether it’s user error, GTM functionality, or Netlify caching - which I don’t believe it has anything to do with Netlify based on its nature.