Install DataPocket on Google Tag Manager

Updated

A Custom HTML tag on All Pages. Sign in and these snippets fill in your site ID and domain. Until then, swap YOUR_SITE_ID and YOUR_DOMAIN with the values from your Install page.

  1. 1

    Tags → New → Tag Configuration → Custom HTML. Paste this. It injects the script so data attributes survive GTM:

    html
    <script>
      (function () {
        var s = document.createElement("script");
        s.defer = true;
        s.setAttribute("data-site-id", "YOUR_SITE_ID");
        s.setAttribute("data-domain", "YOUR_DOMAIN");
        s.src = "https://datapocket.vo1d.studio/js/script.js";
        document.head.appendChild(s);
      })();
    </script>
  2. 2

    Triggering → All Pages. Save, then Submit/Publish the container.

Related guides

Install DataPocket on Google Tag Manager · DataPocket