‹ All updates

Rebuilt tracking and SDK 2.0

Partner links use ?aff=, clicks, leads and sales are recorded as separate events tied by a click ID, and the SDK adds signup().

Feature2.0.0DevelopersBrandsTrackingSDKAPI

Tracking is rebuilt from the ground up. Partner links now carry ?aff= instead of ?ref=. Clicks, leads and sales are recorded as separate events, tied together by a click_id, so every sale can be traced back to the click that started it.

SDK 2.0 adds signup(userId, email). It waits for the script to load, so the signup is never lost, and replaces trackLead(), which stays as a deprecated alias.

await affitor.signup(user.id, user.email);

The setup page now shows events live as they arrive, so you can watch your integration work. Read how attribution works