Skip to content

Pageview Tracking

Once the tracking script is installed, Attri automatically captures a pageview event every time someone loads a page on your website. No extra setup needed.

Each pageview event includes:

FieldDescription
Page URLThe full URL of the page visited
Page titleThe document title
ReferrerThe previous page URL
UTM parametersAny UTM values present in the URL
TimestampWhen the pageview occurred
Session IDA first-party session identifier

We’ve been deliberate about keeping this list focused. You get everything you need for attribution without collecting anything you shouldn’t.

Attri uses a first-party cookie to maintain session identity across pages. A session expires after 30 minutes of inactivity. No third-party cookies are used.

When a visitor arrives via an Attri shortlink, the UTM parameters from that link are stored in the session. Subsequent pageviews within the same session are attributed to the original link, even if the UTM parameters are no longer in the URL. This is how we make sure you don’t lose attribution when visitors navigate around your site (which, let’s be honest, is the whole point).

For single-page applications (React, Vue, Next.js, etc.), the tracking script detects route changes via the History API and sends pageview events automatically. No additional configuration is needed.

  • Pageview events are counted toward your plan’s usage quota
  • The script respects Do Not Track browser settings when enabled
  • No personally identifiable information (PII) is collected