Install
Google Tag Manager
One Custom HTML tag. Fire on All Pages. Publish. Breathe.
Google Tag Manager
Use GTM when the site already runs on Tag Manager and you do not want another theme edit.
Do this
- GTM → Tags → New → Custom HTML
- Paste the StoreMetrics collector HTML from Settings (shape below)
- Trigger: All Pages
- Submit / Publish the container
- Open the live site → confirm StoreMetrics sees you
Tag body
<script
defer
src="https://YOUR_STOREMETRICS_HOST/tracker.js"
data-velora-key="YOUR_SITE_KEY"
data-velora-site-id="YOUR_SITE_KEY"
data-velora-stack="unknown"
></script>
Tips
- Prefer All Pages over a fragile page list.
- Preview mode in GTM is great — but verify on the real domain StoreMetrics expects.
- Do not also paste a duplicate snippet in the theme unless you like double-counting drama (StoreMetrics dedupes, but still — don't).
Prompt
Add StoreMetrics via Google Tag Manager for YOUR_DOMAIN.
Create a Custom HTML tag with this exact script (site key must stay YOUR_SITE_KEY), trigger All Pages, and publish.
Explain how I verify in GTM Preview and in the StoreMetrics live feed.
Do not add a second copy of the script in the theme.