Follow

Installing Sumo on Google Tag Manager

GTM App installation

Want to install Sumo through GTM with a couple of clicks? No problem.

    1. Go to our GTM App page
    2. Click Connect Sumo

    3. Log into the Google account that has your GTM account(s)
    4. If you have multiple GTM Accounts, select the Account you want to add Sumo to. Otherwise, skip this step!
    5. If you have multiple GTM Containers, select the Container you want to add Sumo to. Otherwise, skip this step!
    6. Click Install Sumo!
    7. Go to your website, click on the Sumo login badge at the top-right

      login_badge.png

    8. Click the Log In button at the bottom, then log in with your Sumo account!

      login_button.png

IMPORTANT: If you don't see the changes take place on your website after saving, you'll need to clear your cache. Click the link below the success message for instructions.


Changing your SiteID in-app

If you need to change your SiteID, you can do that in a few easy steps!

    1. Go to our GTM App page
    2. Click Connect Sumo

    3. Log into the Google account that has your GTM account(s)
    4. If you have multiple GTM Accounts, select the Account you want to add Sumo to. Otherwise, skip this step!
    5. If you have multiple GTM Containers, select the Container you want to add Sumo to. Otherwise, skip this step!
    6. Scroll down to the bottom of the page and click Change Sumo Site ID

    7. Enter the new SiteID (or click "Get New Site ID" to generate a fresh one)
    8. Click Save Changes!


IMPORTANT:
If you don't see the changes take place on your website after saving, you'll need to clear your cache. Click the link below the success message for instructions.


Install Sumo through GTM manually


NOTE: Google Tag Manager (GTM)
must be placed in your HTML <head> for Sumo to work properly.

  1. First, you'll need your unique Sumo siteID. Copy your siteID to your clipboard for step 5.
  2. Login to Google Tag Manager and click on your Account Name.
  3. Click the "Add a new tag" box and then the "Tag Configuration" box.
  4. Click the "Choose a tag type to begin setup…" box and choose "Custom HTML" tag type.
  5. Copy and paste in the Sumo install code provided below. Replace YOUR SITEID HERE with the siteID from step 1 and place it in the  in the Configure Tag HTML box.

    GTM install script:

    <script>document.write("<scr"+"ipt src=\"//load.sumome.com/\" data-sumo-site-id=\"YOUR SITEID HERE\" async=\"async\"></scr"+"ipt>");</script>
  6. Check the box that says "Support document.write" below the HTML box and Click the Save button in the top right.
  7. In the “No Triggers Selected" box, click the "Add Trigger" button.
  8. Choose the "All Pages" option and click the "Save" button in the top right.
  9. Name the "Sumo" and click the "Save" button.

For more information about installing the Google Tag Manager snippet, visit Google’s Quick Start Guide.


Was this article helpful?
3 out of 5 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.