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.
How it works
Section titled “How it works”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.
Automatic detection
Section titled “Automatic detection”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.
Custom events
Section titled “Custom events”For more control, you can fire custom conversion events from your JavaScript:
// Track a conversion eventattri('conversion', { type: 'purchase', value: 49.99, currency: 'USD',})// Track a sign-upattri('conversion', { type: 'signup',})Dead simple.
Attribution
Section titled “Attribution”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
valueandcurrency) are available in analytics and exports - Conversion data appears on the dashboard within seconds