Complianz Privacy Suite

Google Tag Manager and Complianz WordPress plugin

Aert Hulsebos

Aert Hulsebos

Categories

Popular articles

Redirect Policy URL based on Region

How to redirect your policies based on region Some users might have checked all three regions to enable Complianz’s specific region cookie management. For these

Read More
Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn

You’ve added GTM to the Complianz Wizard and still you’re receiving a 404 GTM.JS Error in Google Tag Manager. We know the issue and we have a solution for this issue.

The solution to GTM.JS 404 Error

The solution is one of GTM itself. What is actually happening is that your browser is requesting data from GTM. However, the container hasn’t been published yet. This means into no data that is being returned. There is one simple solution to this: Publish the GTM container once you create it.

How do you do this?

Always follow these steps when you plan tracking a new website for GTM:

  • Create new container
  • Publish it!
  • Put the GTM embed code in your website code
  • Open the JavaScript Console when browsing on your website
  • No gtm.js 404 error? Then there’s no error and you’re good to go.

Master tip: Always publish your containers, even when they’re empty. By doing this developers won’t receive a 404 error.

Related articles

5 Responses

  1. Where can I find anything on your page regarding integration with Contact Form 7? I have activated Contact Form 7 integration but my contact form doesn’t show any GDPR consent checkbox. I have spend hours trying to find anything on the net. Please add a “How to” on your website. This feature is really totally disregarded by you guys. Thanks!

Leave a Reply

Your email address will not be published.

Subscribe

We have released 4.0 for Premium. For more information about Cookiedatabase.org and New Features...