This guide uses the script tag approach — the fastest way to get Tracelit running on any site, including plain HTML, WordPress, Webflow, Shopify, or any CMS. If you’re using React, Next.js, Vue, or another framework, see the framework installation guide after reading this.Documentation Index
Fetch the complete documentation index at: https://docs.tracelit.io/llms.txt
Use this file to discover all available pages before exploring further.
Step 1 — Get your token
Your site token is found in the Tracelit dashboard under Settings → Site Token.
Don’t have an account yet? Sign up at tracelit.io — it’s free to get started.
Step 2 — Paste the script
Copy this snippet and paste it inside the<head> tag of every page on your site. Replace YOUR_TOKEN_HERE with the token you copied.
Don’t want to edit <head> yourself? Use this AI prompt
If you’re a vibe coder, copy this prompt into Cursor, ChatGPT, Claude, or any coding assistant:
Replace
YOUR_TOKEN_HERE before you run the prompt.Step 3 — Verify it’s working
Open your site in a browser, click around for a few seconds, then head to your Tracelit dashboard.
- A live visitor appear under Live Visitors
- A new session appear in Sessions within a few seconds
- Page views and clicks populating automatically
If you see data appearing — you’re done. Tracelit is now capturing page views, clicks, scroll depth, session replays, heatmaps, JS errors, API errors, and performance metrics automatically.
What’s next?
Using a framework?
See the React, Next.js, Vue, and other framework setup guides.
Identify your users
Link sessions to real users with one line of code.
Tag features in replay
Mark specific flows (checkout, onboarding) so you can filter and jump to them.
Understand your errors
Every error is linked to its session replay — see exactly what the user saw.