telemtrie ← dashboard

Install telemtrie on your site

Privacy-friendly analytics + Web Vitals. No cookies, no consent banner, no personal data. One snippet, any stack.

your site slugYOUR_SLUG
your loader hosttelemtrie.com

⚡ Make it first-party (recommended — do this first)

Your loader host should be a subdomain of your own store (e.g. metrics.yourshop.com) so analytics loads first-party and ad blockers don't quietly drop your data. If you control your store's DNS, add one record:

metrics   CNAME   cname.vercel-dns.com

It's ready when https://metrics.yourshop.com/r.js loads JavaScript in your browser. Works without this too (pointed at the default host) — first-party is just the accuracy upgrade.

1 · Add the snippet

Paste this just before the closing </head> tag, on every page. Keep the queue stub before the loader.

Where it goes

Drop it into your shared <head> (e.g. index.html, layouts/Base.astro, _includes/head.html) so every page includes it.

The collector ignores localhost, Vercel previews (*.vercel.app), and preview.* / staging.* hosts — so test traffic never pollutes your numbers. You'll only see data from your real production domain.

2 · Track your checkout funnel (optional, recommended)

Call window.metric(...) at three moments. Use these exact names — you'll get a cart → checkout → payment funnel with drop-off:

// product added to cart
window.metric('cart_add', { product: 'dragon-keychain', price: 40 });

// checkout opened
window.metric('checkout_open', { items: 2, subtotal: 72.50 });

// payment completed (fire once, on the thank-you page)
window.metric('payment_success', { total: 72.50, items: 2 });

Rules for event data

3 · Check it's working