StoreMetrics Docs

StoreMetrics Docs

Search product docs or ask for an answer based on the docs.

Install

Universal script

The dumbest install. Also the most reliable. Paste before </head>.

Universal script

If your stack is weird, unknown, or held together by prayer — use the script.

Paste this

<!-- before </head> -->
<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>

Always prefer the filled snippet from StoreMetrics — this page shows the shape so you know what "right" looks like.

Checklist

  • On every public template
  • Site key matches Settings
  • Deployed / published (not only local)
  • Live feed shows a visit after you reload

Optional attributes (advanced)

Settings can generate exclusions for paths, hostnames, countries, and IPs. Prefer configuring those in the StoreMetrics UI — the tracker picks them up from your site config.

Prompt

Add the StoreMetrics universal tracker to the global HTML head of this project.

Use site key YOUR_SITE_KEY and script YOUR_VELORA_URL/tracker.js.
Load on every page. Show the diff. Do not invent attributes.