Skip to content

Conversion Tracking

Conversion tracking lets you measure the actions that matter. Not just clicks and pageviews, but form submissions, sign-ups, purchases, and any other event you define.

Attri’s tracking script watches for conversion events on your website and sends them to the analytics pipeline. Conversions are tied to the session, so they’re attributed back to the shortlink and UTM parameters that originally brought the visitor.

The tracking script can detect common conversion patterns out of the box:

  • Form submissions — Standard HTML forms
  • Thank-you pages — Pages matching common patterns (/thank-you, /confirmation, /success)

We’ve tested these detectors across hundreds of sites during development, and they catch most standard setups without any configuration.

For more control, you can fire custom conversion events from your JavaScript:

// Track a conversion event
attri('conversion', {
type: 'purchase',
value: 49.99,
currency: 'USD',
})
// Track a sign-up
attri('conversion', {
type: 'signup',
})

Dead simple.

Conversions are attributed to the shortlink that started the session. If a visitor clicked attri.link/spring-sale and later purchased on your site, the conversion is credited to that link with all its UTM parameters.

This gives you a clear picture of which campaigns and channels drive real results, not just traffic. In our experience, that distinction is what separates useful analytics from vanity metrics (and it’s a distinction most tools gloss over).

  • Conversion events count toward your plan’s usage quota
  • Custom event properties (like value and currency) are available in analytics and exports
  • Conversion data appears on the dashboard within seconds