Click tracking
Attribute every visitor to the partner who referred them.
Click tracking on Partli is redirect-based — there is nothing to install on your site for the basic case. Every approved partner gets a unique referral link of the form partli.app/r/<slug>. They share it as-is.
If you want to also support deep links of the formyoursite.com?via=<slug> (so partners can link to specific pages on your site instead of always landing on your default destination URL), install the JavaScript snippet too.
How it works
- Visitor clicks the partner's
partli.app/r/<slug>link. - Our redirect endpoint records the click and sets a
pref_cidcookie that lasts 90 days. - We 302 the visitor to your program's
destinationUrl. - At conversion time, your backend reads the cookie and forwards it to the sale-tracking endpoint as
clickId.
Zero install
Because attribution happens at our redirect, you don't add any JavaScript, pixel, or SDK to your site. The only integration code you write is the server-side call to
/api/track/sale at conversion.What gets recorded
Each click stores:
- SHA-256 of the visitor's IP (no raw IPs stored)
- User agent (truncated)
- Referer URL
- Country + city (from CDN headers)
- Timestamp + unique
clickId
Fraud signals (automatic)
Each incoming click runs through cheap, non-blocking checks:
- Bot UA — matches known patterns (bot, spider, puppeteer, headless, curl, etc.)
- IP spam — repeated clicks from the same IP for the same partner in a short window
Flagged clicks still redirect and still attribute, but show in the admin UI with an amber warning badge so you can review patterns.