Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Summary of steps

  1. Create a Google sGTM container on tagmanager.google.com and check the option “Manually provision tagging server”.

  2. Copy the Container Config String

    1. Example: aWQ9R1ABLVdISjlGWkMmZW52PTEmYXV0aD1VUzlrbVhlUWxtcElyVzhENEJBeGxn

  3. Copy the Web Container Id (Attention: This is not the ID of the server-side container)

    1. Example: GTM-WHJ8FZC

  4. In order to improve tracking quality by running sGTM on your own domain, choose a sub-domain of your main domain. The sub-domain should be random (use this website to generate a random string: Random.org)

    1. Example: c3y1mavw4g.yoursite.com

  5. Set an A record with your registrar to

    1. Hostname: c3y1mavw4g.yoursite.com

    2. Type: A

    3. TTL: 60

    4. Data: 34.117.47.164

  6. Write a ticket to Ingenious sGTM taglify.io Service Center with the following information:

    • Container Config String

    • Web Container Id

    • Your Sub-Domain (c3y1mavw4g.yoursite.com in our example)

  7. Set an A record with you registrar to the IP provided by taglify.io Service Center

    1. Hostname: c3y1mavw4g.yoursite.com

    2. Type: A

    3. TTL: 60

    4. Data: ${IP_PROVIDED_BY_TAGLIFY}

  8. To load the gtm-javascript code via your sgtm-container you have to make the following changes to the script on your page.

    1. Replace ${TAGGING_URL} with your tagging url. e.g. c3y1mavw4g.yoursite.com

    2. Replace ${CONTAINER_JS_ID} with with the container-js-id you got from Ingenious taglify.io . e.g. y16rm8ykxy.js

    3. Replace ${WEBCONTAINER_ID} with your Web Container Id.

  9. If you want to use the preview mode in Google Tag Manager:

    1. Set the tagging domain (c3y1mavw4g.yoursite.com in our example) in the container settings.

Code Block
languagejs
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://${TAGGING_URL}/${CONTAINER_JS_ID}?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','${WEBCONTAINER_ID}');</script>
<!-- End Google Tag Manager -->

How to setup a sGTM tagging container with

...

taglify.io

1. Go to tagmanager.google.com and log in.

...

3. Note the long string in the field Your Container Config is:. Also make a note of your Web Container Id. You can find this at https://tagmanager.google.com/#/home.

4. Write a ticket to Ingenious sGTM taglify.io Service Center with the following information.

...

4.1 A custom sub-domain step is strongly suggested, but it is not needed. When the container is up and running, we’ll provide you with the default Tagging Server URL provided by Ingenious sGTMtaglify.io. Setting up a custom domain within your site's domain is highly recommended. It will enable you to set first-party cookies, making tracking more secure and resistant. Send your FirstParty Domain that you want to use for the setup with the ticket. The sub-domain should be random (use this website to generate a random string: Random.org). After that, create an A record that corresponds to the IP address given by taglify Service Center e.g. 34.117.47.164 The DNS settings should look like the one in the screenshot.

...

  • Replace ${TAGGING_URL} with your tagging url. e.g. c3y1mavw4g.yoursite.com

  • Replace ${CONTAINER_JS_ID} with with the container-js-id you got from Ingenious taglify.io . e.g. y16rm8ykxy.js

  • Replace ${WEBCONTAINER_ID} with your Web Container Id.

...

6.In order to use the preview mode in your Google Tag Manager account, you have to configure it in the Container Settings. Open the admin panel of your container. Click on Container Settings. Click on "Add URL" under Server container Urls. Enter the tagging url. If you are not using a firstparty setup, enter the tagging url you received from ingenious taglify.io .

...

7. That end our topic. The sGTM container has been set up. You may now start configuring server-side tagging in sGTM.

Conclusion

Ingenious Google Tag Manager taglify.io sGTM hosting is the most convenient and cost-effective option available. Many options are available to make your tagging experience simple and uncomplicated, allowing you to focus on what matters most: proper tracking.