In this article, I will describe how to set up a custom subdomain within your Google Tag Manager server container. The main advantage of a custom subdomain inside the Google Tag Manager Server container is that it helps to bypass Intelligent Tracking Preventions, AdBlockers and increases cookie lifetime for users browsing in Safari. Pixels will be loaded from your subdomain and run as the first-party.
Google Tag Manager Server-side tagging allows moving out third-party tracking pixels off the website or app to the server-side environment.
Server-side tagging offers a few advantages over client-side tags:
You have two option for tagging server URL:
We recommend setting up a custom subdomain since with the custom subdomain you’ll enjoy the following benefits:
Tracking prevention doesn’t affect requests from your own domain. Your website will bypass AdBlockers and ITPs, giving the full data about your website visitors and conversions.
First of all, you need to create and set up the Google Tag Manager server container. If you don’t have a server container follow this instruction.
Comments