Sales tracking instructions

This guide will help your web developer to implement the sales tracking pixel tag, provided by Commission Junction, on your website. This helps us to track the performance of traffic that we send to you so we can optimise it to be as effective and profitable as possible.

The most important elements to get right are the pixel tag format and the value parameters. You can then build the necessary logic at your end and integrate the pixel tag into your website's order confirmation page.

Your unique field IDs

Your account manager will email you two unique field IDs, which you’ll need to add into the pixel tag code you implement on your site. For example:

  • Action ID: 555555
  • Enterprise ID: 7777777

Pixel tag structure

The fields of the pixel tag code example below in red relate to these unique IDs.

  • The Action ID should be dropped in as the value for the Type field
  • The Enterprise ID should be dropped in as the value for the CID field

The fields of the pixel tag code example below in green must be dynamically populated by the logic on your website order confirmationpage. They are:

  • AMOUNT (total shopping cart order amount)
  • OID (unique order ID)
  • CURRENCY

You’ll also need to make sure that a unique Order ID is generated by your system.

If your website can’t generate a unique ID, you’ll need to use a timestamp value. If you need to use a timestamp then please check that after a user places an order and refreshes the page, the same OID value is present. If this returns a blank result then it might have generated a duplicate order, which can create inaccurate data. Your developer will need to look into why this is occurring.

If the OID field contains special characters (non-alphanumeric) these must be passed in URL-encoded format. To avoid tracking problems, don’t set the dimensions of the pixel tracer to 1x1.

Pixel tag code example

<!-- [ START: COMMISSION JUNCTION AFFILIATE TRACKING TAG - IF REMOVED, DOWNTRACKING FEES MAY APPLY] -->

<img src="https://www.emjcd.com/u?AMOUNT=AMOUNT&CID=7777777&OID=OID&TYPE=5555555&CURRENCY=CURRENCY&METHOD=IMG"height="1"width="20" />


<!-- [ END: COMMISSION JUNCTION AFFILIATE TRACKING TAG - IF REMOVED, DOWNTRACKING FEES MAY APPLY] -->

Your developer will need to make sure the appropriate logic is built into your website's order confirmation page to generate the right values each time a transaction is completed.

Once you’ve implementing the code you’ll need to carry out a test transaction to check that the information is coming through to PriceRunner correctly.

Test transactions

Follow these steps to carry out a test transaction

  1. Copy the test link (supplied by your account manager) to your browser
  2. Make a test transaction on your website
  3. Once you’ve completed your order and your confirmation page has fully loaded, save the web page by right clicking on it and choosing Save As -> Web page, single html
  4. Send this file to us by email, and include the following information:
    a) Order ID your website has generated
    b) Order Sale Amount (if applicable)

Once we’ve received the above we can check that the integration is complete and the tracking is all working properly. The tracking won't go live until the test transaction has been confirmed.

Sales Tracking FAQs

What support can I get with implementation? It’s difficult for us to give much more technical support than the above as each website is built differently but this should be straightforward for a web developer to implement.

Is it essential to do a test transaction? Yes, we need to check the data is coming through accurately before we can push your account live so we’ll need to do a test transaction.

How do I know if the test transaction has worked? Our operations team will confirm that with you and let you know of any issues.

If you have any questions at all please contact your account manager.


We have placed cookies on your computer to help make this website better. You can change your cookie settings at any time. Otherwise, we'll assume you're OK to continue.