CAKE Knowledge Base

How Do I Use Tokens in Third Party Pixels?

Updated

This article will cover the following:

- CAKE tokens that can be used in an affiliate or 3rd party pixel

- Where to find CAKE tokens

Where to find CAKE tokens

Tokens can be found in the Affiliate Portal within the offer card's 'Testing and Tracking' tab.  As an admin user you have the ability to virtually login to the Affiliate Portal by clicking on the "Login" button on the affiliate card, and in the affiliate grid.

On the left-hand side, you'll see a list of tokens which can be leveraged in your pixel.

Available Tokens

#leadid# - the conversion or lead ID auto-assigned by CAKE to each conversion

#affid# - Affiliate ID

#oid# - Offer ID

#campid# - Campaign ID

#cid# - Creative ID

#s1# - subid 1 (s1)

#s2# - subid 2 (s2)

#s3# - subid 3 (s3)

#s4# - subid 4 (s4)

#s5# - subid 5 (s5)

#price# - price

#ip# - conversion IP

#source_ip# - click IP

#utcunixtime# - conversion time in UNIX

#sourcetime# - conversion timestamp in this format (ie. 2013-11-12T13:04:27.5670000)

Things to note

  • s1 is reserved for passing sub affiliate IDs. There is a character limit of 50.
  • s2-s5 can be used to pass any value you like (like click ID's).  The character limit is 100 per parameter, but if you pass a value that exceeds 100 characters the remaining characters will spill over into the next parameter. For example, if you pass a 150 character value into s2, 100 will be in s2, and the remaining 50 will be stored in s3. To receive the entire value back in your pixel you will need to combine tokens for both parameters like this - #s2##s3#
  • Affiliate ID (#affid#), Offer ID (#oid#), Campaign ID (#campid#) and Creative ID (#cid#) are CAKE's values so it's unlikely that as an affiliate you'll want these values passed back to you.

0 Comments

Add your comment

E-Mail me when someone replies to this comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Previous Article Affiliate Portal - Global Customization of Affiliate Portal Views
Next Article How Do I Place Conversion Pixels in the Affiliate Portal?