The purpose of this article is to educate affiliates about tokens within CAKE.
This article covers:
- Where to find the available tokens
- How to implement tokens
- Basic examples of tokens
What Are Tokens?
Tokens are dynamic placeholders intended to be used in your tracking pixels.
Tokens can be replaced with details that have have passed on the CAKE tracking link or information internal to your advertiser's CAKE platform.
For example, you may pass a sub ID on the s1= parameter on each unique click. You may want this value passed back on your pixel. Tokens allow for this.
Where Can I Find The Available Tokens?
How Do I Implement Tokens?
What Are Some Basic Token Examples?
In the example above, the affiliate has implemented a postback URL.
On every click, the affiliate is passing a unique click ID on the s2 parameter of the tracking link. The affiliate requires this value to be passed back in their postback URL in the Click_ID parameter. Therefore, the affiliate has used #s2# to pass this information back dynamically.
Additionally, the affiliate wants their payout passed in a revenue parameter because they are doing a revshare campaign with their advertiser. Instead of being paid a static CPA, the affiliate's payout will change per conversion. Therefore, the affiliate has leveraged the #price# token to receive their payout.
Lastly, the affiliate would like a unique Conversions/Lead ID passed back to ensure they receive a unique ID from their advertiser's CAKE platform passed into their platform.