Implement Google Tag Manager in Composer

If you want to use event tags for tracking with Google Tag Manager, Google provides you with a code snippet that it wants you to add to the header of your site pages. For your convenience, Composer generates all this code for you and applies it to the appropriate locations on your site. Use the following instructions to find your site’s Container ID and add it to Composer, so you can make use of these event tags.

Note: This article applies only to Google tracking codes. For other types of tracking codes or pixels, refer to Adding user tracking codes/pixels to your site (or to specific pages).

Step 1: Find your Container ID

To find your site’s Container ID, go to Google Tag Manager and log in using the account you use to access Google Analytics. Find the domain you want to add the tracking code for on the list, and copy the code under “Container ID.”

Step 2: Paste into Domain Settings

Once you have copied the Container ID, you can paste it into the Composer Domain Settings.

Click the three-dot menu next to the domain in the Pages menu of Composer, then select “Settings.”

More Actions menu in Composer domain

Select the SEO tab, then enter the Container ID in the “Custom Google Tag Manager ID” field.

Google Tag Manager code in SEO tab of Domain Settings

Step 3: Repeat for each domain

If you have a site that is set up with multiple domains, such as a district site, each domain will be listed as its own container and have its own Container ID. Find the Container ID for each site in the Accounts list, then paste it into the Composer Domain Settings as detailed above.

Was this article helpful?
2 out of 3 found this helpful

Comments

2 comments
  • I see this, but I need some guidance on where to put it on our site.
    Thank you!

    Gayle

    0
    Comment actions Permalink
  • Hi Gayle,
    Thanks for reaching out! I've submitted a ticket to our Support team on your behalf, so they'll be in touch soon to help you with your site. Have a great day!
    Regards,
    Lauren

    0
    Comment actions Permalink

Please Sign in to leave a comment if you don't see the comment box below.