Resource Center

Dynamic Tracking - Click ID Capture and Storage

1. Summary
2. Configure Your Program to Pass Click IDs
3. Collect Click ID from Consumer Traffic
4. Example Code
4.1. PHP
4.2. Node.js
5. Append Click ID to the Pepperjam Pixel


1. Summary

The following guide outlines the requirements to have your program ready to track orders in case Ascend cookies are not available. This may occur for multiple reasons including Safari ITP, mobile app purchases, or users deleting their cookies.

 

2. Configure Your Program to Pass Click IDs

In your advertiser account under Creatives Generic Link, you can add custom Destination URL Parameters. By default, the Ascend Click ID appears as a URL parameter in the form of clickId={clid}. Please verify that this value is present and this will ensure that this parameter is added to all of your Destination URLs.

 
 

3. Collect Click IDs from Consumer Traffic

When a consumer arrives on your website, look for the clickId URL parameter that you added above and store it in the user's session data, a new cookie, browser local storage, or other location of your choosing. Click IDs should be stored in a list and each click ID should be kept for at least the number of days indicated by your program's Lookback Period which can be found in your account under Settings Attribution Settings. If you do not have access to this page, we recommend a storage period of 60 days.

 
 

4. Example Code

To illustrate how the collection of Click IDs from Consumer traffic can be accomplished, please view the following code examples:
 

4.1. PHP

Dynamic Tracking - Click ID Capture and Storage: PHP

 

4.2. Node.js

Dynamic Tracking - Click ID Capture and Storage: Node.js

  

5. Append Click ID to the Pepperjamnetwork Pixel

Locate the Pepperjamnetwork conversion pixel on the confirmation page of your website and append a new URL parameter called CLICK_ID. This parameter should contain a comma separated list of all click IDs that you've stored for the user.


For more information regarding the conversion pixel integration, you can visit the following page: Dynamic Commissioning - Technical Integration Guide.


You can make these changes today without any interruption to your program. Open a support request with our advertiser integration team at ascend.support@partnerize.com if you have any questions or when you've completed the changes so they can confirm that everything is working properly.

 
 
© 2019 Pepperjam. All Rights Reserved.