Google Tag Manager

to add peasy to your Google Tag Manager project, follow the steps below:

<script>
	var script = document.createElement('script');
	script.src = "https://cdn.peasy.so/peasy.js";
	script.async = true;
	script.id = 'peasy-script';
	script.dataset.websiteId = '<website_id>';
	document.getElementsByTagName('head')[0].appendChild(script);
</script>
  1. copy the snippet above, replacing <website_id> with your website id found in your dashboard.
  2. go to GTM and create a new tag and select Custom HTML tag type.
  3. paste your script into the HTML field.
  4. click on the Triggering section and set triggering to All pages.
  5. name your tag, save and publish your container.

that's it! peasy will now start tracking user interactions on your website.

try web analytics
you'll actually love.

sign up for peasy today. free to start and while below 3000 events per month, then $9 monthly.