External ID as Click ID
Learn how to use an external identifier from a closed third-party platform (like Kartra or Kajabi) as the AnyTrack Click ID. Covers identifying a shared identifier between client and server, triggering the AnyTrack Event Snippet with the refId parameter, and matching server-side webhook conversions back to the original session.
The AnyTrack click_id is the identifier that ties a session to its downstream conversions for server-side tracking. When a platform cannot store or return the click_id, an External ID can be used as a substitute.
Why Some Systems Do Not Accept Click IDs
Some platforms, like Kartra and Kajabi, are closed systems and do not accept or return the click_id through their API or webhook. To solve this, you can use an External ID.
What is an External ID?
An External ID is a shared identifier that both the browser and the server can see. It could be a cookie value, IP address, lead ID, or event ID. The ID must be something that JavaScript can capture on the client side and that also appears in the webhook payload.
How to Use an External ID
-
Find the External ID:
- Identify an ID that is available both on the client side and the server side.
-
Trigger the Client-Side Event:
- Associate the External ID with the AnyTrack Click ID.
AnyTrack('trigger', 'ViewContent', { refId: 'external_id' });
When to use this approach
Use an External ID whenever your platform's API or webhook cannot carry the AnyTrack click_id end-to-end. The refId aliases the External ID with the AnyTrack Click ID at trigger time, so when the conversion webhook arrives, AnyTrack matches it back to the original session and forwards the deduplicated conversion to all connected ad platforms via Conversion API.
Updated 17 days ago
