Docs

Site builders

No coding needed — every builder below has a custom-code field where the same snippet goes. Menu names vary slightly by plan and version.

The snippet

Copy this once, then paste it into the builder you use:

<script defer src="http://localhost:3000/analytics.js" data-website-id="YOUR_TRACKING_ID"></script>

Webflow

Go to Project settings → Custom code → Head code and paste the snippet. Custom code is available on paid site plans.

Squarespace

Go to Settings → Advanced → Code Injection → Header and paste the snippet. Code injection needs a Business plan or higher.

Wix

Go to Settings → Custom code → Add code, choose Head, and paste the snippet. Custom code is available on premium plans.

Shopify

Go to Online Store → Themes → Edit code and open layout/theme.liquid. Paste the snippet before </head>.

This covers your storefront. Checkout pages are not covered on standard plans.

Framer

Go to Site settings → General → Custom code and paste the snippet into Start of <head>.

Carrd

Go to Site settings → Custom code (Pro plans) and paste the snippet into the head area.

Track custom events

Call the global function from your builder's custom-code or JavaScript field:

lumen("Signup", { plan: "pro" });

Verify

Publish your site, reload it, and open the site's real-time view in your dashboard. The pageview should appear within seconds. If you use a caching plugin or CDN, clear the cache first.