Add the tracker

Install your site's script tag and check that events arrive. Review your consent requirements before enabling collection.

1. Copy your snippet

Sign in, open your website, and go to Settings → Tracking. Your snippet looks like this, with your own site token:

<script defer src="https://app.seean.io/k.js"
  data-site="YOUR_SITE_TOKEN"
  data-api="https://app.seean.io"></script>

Keep both script and API addresses on https://app.seean.io, as shown above. An existing snippet using these addresses does not need to change when Seean updates its infrastructure.

2. Paste it before </head>

On every page you want to measure. Single-page apps are handled automatically: route changes count as pageviews.

3. Verify

Open your site in a new tab, then look at Settings → Tracking → Setup health. It flips to “Receiving data” within seconds. The Overview banner disappears after the first pageview.

What the tracker sends

Field What it is
path the page path, no query string
hostname the website being measured
referrer the browser’s referring URL; the collector keeps its hostname only
timezone used to estimate country, without IP geolocation
visitorId, sessionId random identifiers stored in the browser and sent with events
campaign UTM source, medium and campaign when present
Web Vitals LCP, INP, CLS, FCP and TTFB; later measurements can update a sample

The collector also uses the request’s user agent for browser, operating system and device categories, and may use its language region as a country fallback. Screen dimensions are not sent by the current tracker.

The tracker writes a visitor ID to localStorage and session information to sessionStorage. These identifiers are sent to Seean and can link activity from the same browser. The visitor ID has no automatic expiry in the tracker. The tracker does not set cookies. It stops collection for Do Not Track, Global Privacy Control, or the browser opt-out described in Exclusions. Where consent or an opt-out applies, control whether the script loads through your site’s consent mechanism. See storage and consent.

Local development

The tracker ignores localhost unless you add data-local to the script tag.

Something unclear? Contact support.