Docs/Installation Guides

Generic HTML site

Paste the snippet into the page head.

For any hand-built or static HTML site, paste the snippet directly into the page head.

  1. 1
    Open your site template or each HTML file and find the closing </head> tag.
  2. 2
    Paste the snippet just before it.
  3. 3
    Deploy and verify a pageview appears in Analytics.
Tracking snippet
<script
  defer
  data-key="lw_xxxxxxxx"
  src="https://localwrangler.com/track.js"
></script>
If your pages share a common header include, add the snippet there once so every page is covered.