Shopify
Edit theme.liquid and paste before the head close.
Shopify themes expose the layout file where the head is defined.
- 1From your admin, open Online Store, Themes.
- 2Click the three dots on your live theme and choose Edit code.
- 3Open
layout/theme.liquidand paste the snippet just before the closing head tag.
Tracking snippet
<script
defer
data-key="lw_xxxxxxxx"
src="https://localwrangler.com/track.js"
></script>