Google Tag Manager

Advanced Billing has placed this short guide as a reference for how to format the code provided by Google Tag Manager. Unfortunately at this time, we are unable to provide support for implementing Google Tag Manager. It is recommended that you reach out to the GTM team to assist with any troubleshooting of your implementation of Google's product.

 

Advanced Billing is happy to provide this short guide on how to implement Google Tag Manager on your Public Signup Pages. You will need to follow the instructions below and the format of the snippet in order for Google Tag Manager to work on your site.

For up to the minute information on Google Tag Manager, please visit their homepage here.

If you would like to incorporate Google Tag Manager into your Public Signup Pages, you can accomplish this via two methods:

  1. Place the code snippet from Google as a default for all Public Signup Pages to use
  2. Place the code snippet from Google on an individual Public Signup Page.

Example Code

Please replace your Google Tag Manager ID in the example below, after "GTM-". You'll want to replace XXXXXX with your code.
 
(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://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 
})(window,document,'script','dataLayer','GTM-XXXXXX');

 

Omission of Iframe script

Regarding the noscript portion of the Google Tag manager script, its implication is for usage in webpages that do not use JavaScript. Seeing that there are very few applications that do not support JS, the above script will handle approximately 99% of visitation to your site.

 
<!-- Google Tag Manager (noscript) --> 
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXXXX" 
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 
<!-- End Google Tag Manager (noscript); -->

 

Troubleshooting

Please note that the Google Tag Assistant will display an error when used with Advanced Billing Public Signup Pages. We encourage you to bypass the errors reported by Google Tag Assistant and view the GTM dashboard to gauge if your installation is successful.

 

We recommend using Google Tag Assistant to ensure that your tag is placed correctly and is functioning properly.

Was this article helpful?
0 out of 0 found this helpful