If you don’t know what SumoMe is, check it out. It’s cool, has a free version which you can test drive and integrates really well with your weapons of choice in marketing.
Keep your data-sumo-site-id ready. That’s inside the code you get when adding a new SumoMe site:
[php]</pre>
<script src="//load.sumome.com/" data-sumo-site-id=“HERE-IS-YOUR-SITE-ID" async="async"></script></div>
<div>
<pre>[/php]
Step 1: Make sure you’ve placed your GTM Tag in the head tag
Putting your GTM tag into the header may actually cause you a bunch of problems, for the smoothest implementation and possible problems you can see the post at lunametrics.
Bottom line is, put the “noscript” part right after the body opening tag and the rest (the “script” part) right before the closing of the head tag.
Step 2: Create a custom HTML tag
Check “document.write” and (maybe) specify a tag firing priority (of 1). You wanna make sure that tag is fired right at the beginning. (I don’t have other tags with a firing priority so
this tag with priority 1 fires before any other tag. Default priority is 0 and higher priority fires first.)
Input this code and insert your site id (yes all backslashes are supposed to be there to escape special characters):
[php]</pre>
<script>document.write("<scr"+"ipt src=\"//load.sumome.com/\" data-sumo-site-id=\”YOUR-SITE-ID\" async=\"async\"></scr"+"ipt>");</script></div>
<div>
<pre>[/php]
Step 3: Set a trigger for all pages
Step 4: Finishing touch
Debug the container (hit preview) check that your tag is fired (in the t”ags fired on this page list”). If it works you should see the SumoMe bar on the top right (even in debug/preview mode). Don’t forget to put your tag into some kind of folder (e.g. “cool marketing tools”) and publish your container.
Next Steps? Click on that blue bar and start customizing your SumoMe by adding apps.