Configuring Complianz for Server-side Tag Manager

Get compliant today in the European Union, United States, Canada, United Kingdom, Australia, Brazil & South Africa with the only Privacy Suite for WordPress that offers a fully-featured plugin for Worldwide Compliance.

Although server-side tag manager is relatively new we had some questions about how to proceed if you serve tags from the server-side, and not directly from the third-party domain There are 2 domains to consider. In this example you will see the first domain that sets the tag, and the transport URL, that receives data.

In this case, it’s both, a self-managed server for both instances. It’s however possible to still serve the tags or container with or a dedicated Google Cloud solution and still hold another transport URL.

That being said, if you’re using server-side tagging, you probably understand the differences.

					<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src=""></script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-1234', {
     transport_url: '',
     first_party_collection: true

Configuring Complianz

Complianz can add your GTM code automatically, but this is only available for standard implementation. If you want to use Complianz with your variation of server-side tagging.

Choose Google Tag Manager under “Statistics,” but make sure Complianz does not add the snippet. As shown in the below screenshots.

Afterwards you can add the desired snippet yourself and Complianz knows it should fire events through the data layer. To further  configure Tag Manager, please read this article

Recent articles


You can also directly download the demo container with triggers and variables/ Please make sure you know how to import a container.


Google Consent Mode

You can now enable Google Consent Mode for Tag Manager. How it works, and what you need to configure can be found here.

Client Demo

We have a client demo where we have prepared custom events and the most common tags. If you want access for inspiration, please contact support. You will need a Google Account to get access.

Other articles

Join our mailing list - 8 Tips & Tricks in your inbox over the next 8 weeks!