Docs/Installation Guides

Google Tag Manager

Add the snippet as a Custom HTML tag on all pages.

If you manage tags through GTM, add the snippet as a Custom HTML tag.

  1. 1
    In GTM, create a new tag of type Custom HTML.
  2. 2
    Paste the snippet into the HTML field.
  3. 3
    Set the trigger to All Pages, then save and publish the container.
Tracking snippet
<script
  defer
  data-key="lw_xxxxxxxx"
  src="https://localwrangler.com/track.js"
></script>
Loading through GTM is fine for analytics. Make sure GTM itself fires on every page so the script is present site-wide.