- Copy the Trace snippet from your site dashboard (Overview or Install snippet).
- Paste it inside the
<head>section of your HTML templates, before the closing</head>tag. - Ensure the same head (or equivalent include) is used on every page you want to measure, not only the homepage.
If you use a static site generator, SPA framework, or CMS, add the snippet to the global document head (layout, index.html, or framework head API) rather than a single route.
After deployment, use Verify installation on your Trace Overview to confirm events are received.