Skip to main content
SeerStack provides a lightweight browser snippet that automatically tracks pageviews, clicks, and rageclicks. Use this for product analytics and UX insights without instrumenting every button.

Install the snippet

Add the script tag to your site and include your Publishable Key.
If you want to use a custom API host (self-hosted or staging), add data-host:

Auto-tracked events

Auto-captured properties

These properties are attached to every event: Click events also include:

Next.js (App Router)

Add the script once in your root layout:
The snippet automatically tracks client-side route changes for SPA frameworks like Next.js.

Manual tracking

You can also send your own events from the browser:

Reserved event names

Event names starting with $ are reserved for SeerStack system events. Avoid using $ prefixes for custom events.