But, if you only want to run your script on certain pages of your site, you can also use the Plus sign to configure a custom trigger: Once you’ve added both your script and your trigger, go ahead and click SAVE: At this point, your tag is finished…but it’s not yet live on your site. First, enter your Account Name. This is because a click trigger would fire the tag again and again (injecting it again and again) whenever the click trigger is a success. You can see it in the screenshot above. How To Add Google Tag Manager To WordPress + Insert Scripts. To get started, sign in to Google Tag Manager with your Google account. First, create a Data Layer Variable to contain the entire ecommerce object, named ‘ecommerce’. huge thanks. Where are website script sources coming from? When the Google Tag Manager library has loaded, it’s typical that the parsing of has already finished, and the browser is well into rendering the . You can also fire the GTM tags when the DOM is loaded or when the page is fully-loaded, a condition very close to put the tag before the tag. But what use is that?

But if you are planning to use Tag Manager, the benefits are that: In a nutshell, this method isn’t for everyone. Why use Custom HTML tags? It seems too complicated to create a second GTM containers to manage my footer scripts. Going forward, this will be the best way to proceed with