Guide

Implement Commission Junction with Shopify via GTM

Without a single line of code and done in minutes, Elevar helps you implement your Commission Junction tracking pixel and conversion event to Shopify through Google Tag Manager using the most up-to-date requirements from each platform.

Plus – these templates come with built-in monitoring so you’re the first to know when a tag breaks and risks impacting your campaigns.

This integration supports the complete tracking implementation required by Commission Junction affiliate tracking.

About Commission Junction

Commission Junction is one of the largest affiliate marketing platforms for brands and retailers. Learn more about Commission Junction affiliate marketing here

Integration Specs

  • Available for Elevar Error Monitoring: Yes
  • Require Google Tag Manager Data Layer: Yes
  • Is Google Tag Manager Template Customizable: Yes
  • Commission Junction Chrome Extension: None Exists
  • Implementation Skill Level: Intermediate

Events Included in Template

  1. Sitewide Tag
  2. Purchase Conversion

User Properties Included in Template

  1. CJ Click ID

Download Container

If you have an Elevar account already, go to your Pre-Built Tags and download the Commission Junction container shown here:

install cj via gtm

Download Commission Junction GTM Tag Recipe for Shopify

Your free Elevar account will give you access to Commission Junction and 30+ pre-built marketing tags to quickly import into your GTM account.

Steps To Implement Commission Junction Tags with Shopify

Follow these steps to get your pixel tracking in no time:

  1. Ensure you have a data layer implemented on your store that pushes Shopify data (like product SKU, revenue) into the data layer *
  2. Download the container and import into your GTM account
  3. There are three variables that need to be updated to match your CJ account details. They start with NEEDS UPDATING in your variables. Update values to match your Commission Junction IDs which is show in more details below.
  4. Put GTM into preview mode
  5. This testing is a bit more technical so you should also reach out to your CJ account manager. In order to test you just need to grab a test link from your CJ account and copy into your browser. Then place a test order and with GTM in preview mode you can view the details passed in the conversion tag. You’ll want to verify all of the data is there especially the CJEVENT variable (show in screenshot below).
  6. Once verified then publish

These 3 variables are the constants that CJ provides in their onboarding documentation:

  • Type
  • Container Tag ID
  • CID

See here:

cj-tag-constants

You will need to update these variables in your account from our dummy account #s.

*If you don’t have one yet, install the GTM Suite from app store which implements complete data layer in 1 click. 

Common Issues

  1. If  you have different domains or subdomains for your website then you will need to be sure the CJEVENT Id is not lost in the process.
  2. If you have multiple checkouts – like ReCharge, or Bold – in addition to Shopify then the dataLayer will need to be configured on those stores as well.