Dynamic Click Pixel

Attributing traffic on the fly!

What is the CAKE Dynamic Click Pixel?

A CAKE Dynamic Click Pixel tracks a user's visit to your website.  It is a snippet of JavaScript that is placed on all of your landing pages that will determine where your traffic is coming from and what campaigns it is associated to.

What is the difference between Static and Dynamic Click Pixels?

A static click pixel is a campaign specific piece of code that will track a click from a user when they land on a page.  Since it is hard coded to a campaign, this type of pixel is typically given to third party affiliates that may host a landing page for you.  

Dynamic click pixels have the ability to reference specific attributes in the page URL or referring URL to determine which of your campaigns to attribute the traffic to.

When do I use the CAKE Dynamic Click Pixel?

CAKE recommends that you use dynamic click pixel:

1.  When you're buying keywords from search providers and would like to track those visitors.

2.  When your Affiliates or Sources cannot use a  CAKE tracking link

Which Channels leverage the CAKE Dynamic Click Pixel?

If you are using the CAKE for Advertisers platform we encourage you to use a Dynamic Click Pixel for all landing pages on your site for tracking all of your sources.  The one exception to this is for your Affiliate traffic.  While it is possible to use a dynamic click pixel for tracking Affiliates we recommend you use a CAKE tracking link which will give you the ability to actively redirect the user based on many different criteria.


Implementation:  How do I create a CAKE Dynamic Click Pixel?

Implementation:  How do I create a CAKE Dynamic Click Pixel?

Hover over your Channels main tab and mouse down to Tags > Generate Click Pixel

Generate Click Pixel Wizard

Generate Click Pixel Wizard

Choose Dynamic as your pixel type.

Offer Type

Offer Type

Select either Any Offer or a Specific Offer.

Best Practice Tips:  When would you choose Any Offer over a specific offer?

If you choose "Any Offer" the dynamic click pixel will search all campaigns across all Offers to find the matching attribution parameter values.

Referrer Type

Referrer Type

Referrer Type:  Your selection will determine what populates within the Referrer column in your Reports.  

Page URL is the URL that hosts the click pixel

Referrer is the webpage address that linked to the click pixel page.  


You will most likely want to choose Referrer because this will allow you to use Referrer mapping in the case you would need to fall back. (See Referrer Mapping below)

Campaign Referrer Mapping will be based on the Referrer type selected here.  

If you are placing this pixel on a 3rd party landing page you will want to use the Page URL to verify the URL that the pixel is on.

Identify Sources

Identify Sources

Attribution Parameter Name:  Campaigns will be identified via the value in the attribution parameter defined here, not the parameter name.  

Insight:  How do we do this?  Map the value at the Campaign level in a field called "Third Party Name"

When driving traffic to your webpages through multiple traffic providers, you will want to pass a unified attribution parameter within your URLs.  If you do not already have a specified source parameter, simply append a new unified parameter to all of your URLs.

For Example:




Check Referrer First will be used if you chose Page URL as the Referrer Type (on the previous step) for reporting, however, your attribution parameter is within the referring URL.


Identify Unique Sessions

This typically only works for Google AdWords campaigns and not Bing Ads.

Unique Sessions:

CAKE identifies a user's session based on a cookie.  However, Google identifies sessions based on a unique value passed within their URL once an AdWord is clicked on.

To account for a new Google session, CAKE will identify the unique value within the gclid parameter.  Please note: If CAKE identifies the same Google session value twice or more, the CAKE dynamic Click pixel will not fire again.  Essentially, the Dynamic Click Pixel has its own deduplicaiton methods so that CAKE can be aligned with Google's Adwords charges.

IMPORTANT:  The autotagging setting in Google Adwords must be enabled to pass the gclid parameter on the URL.

Check Referrer First will be used if you chose Page URL as the Referrer Type (on the previous step) for reporting, however, your attribution parameter is within the referring URL.

Copy and Paste!

Copy and Paste!

It's arrived!  Here is your Dynamic Click Pixel Javascript snippet to place throughout your website.

Considerations - Important!

Check the box to Disable click deduplicaiton at the Offer level> Attribution Settings.

If you are running any Affiliate Traffic to your website while also leveraging the Dynamic Click pixel you will need to append ckmreqid=#reqid# to all of your Offer Links.


Add your comment

E-Mail me when someone replies to this comment