Install
One script — then events appear
Paste before </body>. Publish. Trace starts recording clicks, scroll, hover, and page URL within seconds.
index.html
1
2
3
4
5
6
<!-- Trace — before </body> -->
<script
defer
src="https://cdn.gettrace.uk/trace.js"
data-key="tr_live_xxxxx"
></script>○ Waiting for publish…
Live events8 in queue
- click/pricingx:0.62 y:0.28 · Get Trace12:04:22
- scroll/pricingdepth 71%12:04:18
- hover/pricingx:0.68 y:0.34 · 4.2s12:04:15
- click/pricingx:0.41 y:0.58 · FAQ link12:04:11
- move/pricingx:0.55 y:0.4212:04:09
- click/docs/installx:0.33 y:0.22 · Copy12:03:44
Your data-key maps to your site in Trace — never exposed in customer-facing docs as infrastructure.
Live events
Every interaction, timestamped
Clicks with coordinates, scroll depth per page, hover duration, and move samples — batched to Trace without slowing your site.
Live events8 in queue
- click/pricingx:0.62 y:0.28 · Get Trace12:04:22
- scroll/pricingdepth 71%12:04:18
- hover/pricingx:0.68 y:0.34 · 4.2s12:04:15
- click/pricingx:0.41 y:0.58 · FAQ link12:04:11
- move/pricingx:0.55 y:0.4212:04:09
- click/docs/installx:0.33 y:0.22 · Copy12:03:44
- scroll/depth 82%12:03:30
- click/x:0.71 y:0.19 · Hero CTA12:03:18
- click
- x, y normalised · page_url · target label
- scroll
- max depth % on current URL
- hover
- attention zones · duration sampled
- move
- throttled pointer path for heatmap density