Installing Sumo on Google Tag Manager

1 Installing Sumo through GTM App (recommended)

2 Changing your tag's SiteID

3 Installing Sumo through GTM manually


Installing Sumo through GTM App

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) If you have multiple GTM Accounts, select the Account you want to add Sumo to. Otherwise, skip this step!

4 If you have multiple GTM Containers, select the Container you want to add Sumo to. Otherwise, skip this step!

5 Click Install Sumo!

6 Navigate to sumo.com/sites and login with your desired credentials (if you're not logged in already).

login.png

7 Click Manage next to your newly created site, then configure your Sumo forms how you would like.

manage.png

8 That's it! Now visit your site, and you should see your newly created form!

Note: If you don't see your Sumo form on your site, we suggest clearing both your browser's and site's cache.


Changing your tag's SiteID

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) If you have multiple GTM Accounts, select the Account you want to add Sumo to. Otherwise, skip this step!

4 If you have multiple GTM Containers, select the Container you want to add Sumo to. Otherwise, skip this step!

5 Scroll down to the bottom of the page and click Change Sumo Site ID

6 Enter the new SiteID (or click "Get New Site ID" to generate a fresh one)

7 Click Save Changes!

Note: 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


Installing 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 async>(function(s,u,m,o,j,v){j=u.createElement(m);v=u.getElementsByTagName(m)[0];j.async=1;j.src=o;j.dataset.sumoSiteId='YOUR_SITEID_HERE';v.parentNode.insertBefore(j,v)})(window,document,'script','//load.sumo.com/');</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.

10 Publish the latest Workspace Changes in GTM by clicking the Submit button.

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

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.