Skip to content

Click Tracking

Every time someone clicks an Attri shortlink, a click event is recorded with metadata about the visitor. This happens at the edge before the redirect, so there’s no added latency for the visitor.

Each click event includes:

FieldDescription
TimestampWhen the click happened (UTC)
Link IDWhich shortlink was clicked
ReferrerThe page the visitor came from
CountryVisitor’s country (from IP geolocation)
CityVisitor’s city
Device typeDesktop, mobile, or tablet
BrowserBrowser name and version
OSOperating system
User agentFull user agent string

No cookies. No client-side JavaScript. Everything happens server-side at the redirect, which is exactly the kind of tracking we think should be the default.

  1. Visitor clicks your shortlink (e.g., attri.link/spring)
  2. The request hits Attri’s Cloudflare Worker at the edge
  3. The Worker looks up the link configuration in KV
  4. A click event is sent to Tinybird for analytics
  5. The visitor is redirected to the destination URL (with parameters appended)

The entire process completes in under 50ms at the edge. We’ve spent a lot of time optimizing this path, and it shows in the numbers.

Attri filters out known bots and crawlers from your click data so your analytics reflect real human traffic. Nobody wants inflated numbers from Googlebot.

  • Click data is retained according to your plan’s retention period
  • For tracking activity on your website after the redirect, see the Tracking Script