Install
Install through Google Tag Manager
Add the script through Google Tag Manager without editing your site's code. It works the same as the snippet added by hand.
- Best for
- Marketers, or whoever manages your Tag Manager container
- Prerequisites
- Publish access to your site's Google Tag Manager container.
Step 1: Copy your site's snippet
Go to your sites, pick the site and copy the snippet from its setup page.
HTMLCustom HTML tag <script async src="https://staging-script.pebbleanalytics.io/s/YOUR-SITE-ID.js"></script>Step 2: Create a Custom HTML tag
In your container, go to Tags and click New. Name the tag, click Tag Configuration, choose Custom HTML and paste the snippet into the HTML field.
Step 3: Set it to fire on all pages
Under Triggering, select All Pages, then click Save.
Step 4: Preview and publish
Click Preview and open your site. The tag should show as fired on each page. Then click Submit and Publish.
Done: You're all set
Pageviews show up on your dashboard, just as with the snippet added by hand.