How to use Affiliate Pixels and Tracking in Getcake

Affiliate Pixels and Tracking

This article will cover the following:

  • Affiliate Pixels

  • Tokens in Affiiate Pixels

  • Restricting Affiliate Pixels

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

Placing pixels in the Admin Portal

In the Admin portal 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:

Affiliate ID: #affid#
Offer ID: #oid#
Campaign ID: #campid#
Creative ID: #cid#
Sub ID 1: #s1#
Sub ID 2: #s2#
Sub ID 3: #s3#
Sub ID 4: #s4#
Sub ID 5: #s5#
Request ID: #reqid#
UDID: #udid#

Conversion Pixels Only:

Transaction ID: #tid#
Lead ID: #leadid#
Price (Affiliate Payout): #price#
Click IP: #sourceip#
Conversion IP: #ip#
Conversion UNIX timestamp: #utcunixtime#
Conversion timestamp: #sourcedate# (ie. 2013-11-12T13:04:27.5670000)

Placing pixels in the Affiliate 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 cursor is located.

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

There is an optional alert associated with Affiliate pixel placements - the ‘Pixel Was Placed on Campaign’ to alert you that an affiliate has placed a pixel. Such an alert allows you to verify the proper formatting or the type of pixel once it is placed to help proactively avoid tracking errors. 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.

Restricting Affiliate 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.

Tracking Settings

Section 1: Where to access Tracking Settings

To access your Tracking Settings click on the main Setup tab > Settings sub tab > Tracking Settings

Section 2: General Settings

Cookie Domain: The cookie domain is used for either affiliate tracking links, conversion pixels or as a POST URL for server posting into CAKE. This domain is decided upon during the onboarding process.

Session Regeneration Minutes: Duplicate clicks/conversions will not be counted if they occur within the specified time period. Users may override at the offer level.

Global Redirect: The default URL where a customer is redirect on invalid/inactive links, after all Upsell and Redirect paths have been exhausted and when no Thank You Link is present.

Paid Redirects: If selected, campaign redirects will be paid. Users may override at the affiliate level on the Affiliate card.

Encrypt Links: If enabled, all generated unique links and click/impression pixels will be encrypted to hide identifying source information.

Base Tracking Domain Redirect: The URL where a customer is redirected on clicks to a base tracking domain sans affiliate/query string info. If left blank, the Global Redirect will be used.

Don’t pay for Bot Traffic on CPC: If enabled, conversions will not be recorded from bot traffic on all CPC campaigns. Clicks will be recorded but without payment. If disabled, conversions will be recorded from my traffic on all CPC campaigns. Clicks will be recorded and paid for.

Don’t pay for Bot Traffic on CPM: If enabled, conversions will not be recorded from bot traffic on CPM campaigns. Impressions will still be recorded sans payment.

Enable Events: Enable this option to add event tracking options.

Grouped Offers: If enabled, this will turn on Grouped Offers (1:Many tracking)

Child Click Inherits Parent SubIDs: When enabled the values of s2-5 on the child offer’s click will be inherited from the parent offer’s click (note: sub ids from the child offer will be ignored). When disabled, only s1 will be inherited and s2-5 will be taken from the child offer’s click.

Cap Percentage Threshold: This allows CAKE users to override the default cap threshold of 90%, to a different percentage. Example: setting this to 50% will trip the alert when 50% of the cap is reached.

Section 3: Global Pixels & Postbacks

Global Pixels: Enables pixel placement at the affiliate, offer and global level.

Global Pixel: Pixels placed here will fire on all offers unless otherwise modified at the offer or affiliate level.

Postback URL: This URL will fire on all offers unless otherwise modified at the offer or affiliate level.

Postback Delay (ms): The delay (in milliseconds) before firing the global postback upon any conversion.

Fire Global Pixel By Default: If enabled, all new offers will fire global pixel by default.

Fire Pixel on Non Paid Conversions: If enabled, the global pixel fires on non paid conversions.

Section 4: Conversions

Pending Conversions: If enabled, all conversions will be sent to Queue.

Default Approved: Sets the default disposition for auto approved conversions.

Default Pending: Sets the default pending disposition for all conversions set for review at the campaign or affiliate level.

Default Rejected: Sets the default disposition for auto rejected conversions.

Conversion Cap Behavior: This setting allows you to customize how incoming conversions are dealt with once a conversion cap is hit. Any new or existing offers not assigned an explicit conversion cap behavior will be defaulted to this conversion cap behavior.

Conversion Behavior On Redirect: This setting allows you to customize how incoming conversions are dealt with when any redirect criteria is met (e.g. Inactive Affiliate, Expired offer), expect for conversion caps whose default behavior can be individually customized above. Any new or existing offers will be defaulted to this conversion behavior on redirect.

Section 5: Original Campaign Settings

Original Campaign by Offer Contract: Account for offer contract in original/non-original campaign creation.

Original Campaign by Media Type: Account for media type in original/non-original campaign creation.