Resource Center

Basic Tracking - Click ID Capture and Storage

1. Summary

The following guide outlines the requirements to have your program ready to track orders in case Pepperjam Affiliate Network 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 Pepperjam Click ID appears as a URL parameter in the form ofclickId={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 ID from Consumer Traffic

Each time 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 ID should be stored for the longest cookie duration of your commission terms. If you can't find this value, 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

Basic Tracking - Click ID Capture and Storage: PHP

4.2. Node.js

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

5. Append Click ID to the Pepperjam Pixel

Locate the Pepperjam conversion pixel on the confirmation page of your website and append a new URL parameter called CLICK_ID. This parameter should contain the Click ID that you've stored for the user.

For more information regarding the conversion pixel integration, you can visit the following page: Pixel Integration Guide.

You can make these changes today without any interruption to your program. Raise a support request if you have any questions, or when you've completed the changes so they can confirm that everything is working properly.