Google Tag Manager
To install Zigpoll via Google Tag Manager, follow the steps below:
Log into Google Tag Manager and select your container.
In the left-hand menu, click "Tags" > "New".
Click "Tag Configuration" > choose "Custom HTML".
Paste the Zigpoll embed script into the HTML field:
<script type='application/javascript'> ;(function () { window.Zigpoll = { accountId: '$YOUR_ACCOUNT_ID' }; var script = document.createElement("script"); script.type = "text/javascript"; script.charset = "utf-8"; script.src = "//cdn.zigpoll.com/static/js/main.js"; script.async = true; document.head.appendChild(script); }()); </script>
Under Triggering, choose "All Pages" (or a specific page trigger if you only want Zigpoll to run on certain pages).
Click "Save" and name your tag (e.g.,
"Zigpoll Embed"
).Click "Submit" in GTM to publish your changes.
Last updated