This article will cover the following:

- Affiliate Pixels

- Tokens in Affiiate Pixels

- Restricting Affiliate Pixels

Section 1: Affiliate Pixels

Affiliates pixels are placed at the campaign level and can be placed both directly by the affiliate through the Affiliate Portal. Alternatively the pixel can be placed by an admin employee in the admin as well.

Placing pixels in the Admin

On the admin side, you can place an affiliate pixel on the Campaign card > Home tab > Pixels sub-tab.

You can view a list of tokens by using the hover menu for the Setup tab > Show Tokens. The full list of available tokens includes the following:

  • #leadid# - the conversion or lead ID auto-assigned by CAKE to each conversion. This is the most commonly used for any type of transaction or order ID.
  • #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)
  • #udid# - available in the tracking link and conversion pixels, this will represent a user's unique device id
  • #price# - price. This token is used in any type of revshare scenario to communicate the affiliate payout back to the affiliate.
  • #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)

Section 2: Placing Pixels In the Affiliate's Portal

Affiliate pixels are placed in the Offer card > Testing & Tracking tab. Here, your Affiliate will enter their test link and their pixel. A list of tokens is available on the left-hand side, and clicking on them will place the corresponding token wherever your mouse is placed.

Once placed, CAKE will display these pixels in the Affiliate tab > Pending > Pixels section.

There's also an alert that goes with Affiliate pixel placements - the 'Pixel Was Placed on Campaign' to alert you that an affiliate has placed a campaign so you can verify that there aren't any obvious errors with formatting or the type of pixel. For example, if your advertiser places your postback or server pixel, your affiliate needs to use a postback as well. For this reason, we have a setting to restrict the type of pixel your affiliate places.

Section 3: Restricting Affiliate's Pixels

In order to prevent the chance that an affiliate will place a web-based pixel (iframe / javascript / image) in error, CAKE has created a setting to restrict affiliates to placing postbacks only. You can enable this across the board for every affiliate and campaign in Setup > Settings > Affiliate Portal Settings > Affiliate Permissions. The specific setting is the first in the section to 'Only Allow Affiliate Postbacks'.

With no further action, the Affiliate will no longer be able to place any pixel other than a postback through the Affiliate Portal. Every campaign will now have a warning icon stating that this setting has been enabled.

NOTE: If you have a postback placed with your Advertiser, placing a non-postback even in the admin will not function.

If you want to pick and choose where and when to apply this feature, you can do that as well. Without the global setting, every offer will include a option (which goes away with the Global Setting enabled) for "Postbacks Only". Enabling this checkbox on the offer card will immediately pop up the warning icons on the campaigns for that offer.