Testing & Validation
This guide walks you through validating that the CJ Universal Tag is firing correctly on your site using browser developer tools.
- The Universal Tag (Site Page Tag and Conversion Tag) must be implemented on your site before testing.
- Test in an Incognito browser or clear all cookies/cache before testing.
- Have your CJ Enterprise ID, Action Tracker ID, and Tag ID on hand to verify it appears in network payloads.
- Disable any ad blockers that may suppress requests.
CJ Test Link
CJ Account Manager
or Create Test Link
test link
(must be https://)
Save
to generate a link
cjevent appended to your URL.Testing Scenarios
Retail
-
Scenario 1: No Discount Test
Click a CJ Tracking Link, proceed with a purchase and do not apply any discount code at checkout. -
Scenario 2: Whole Order Discount Test
Click a CJ Tracking Link, proceed with a purchase and apply a whole-order discount code at checkout. -
Scenario 3: Item Level Discount Test
Click a CJ Tracking Link, proceed with a purchase and apply an item-specific discount code at checkout. -
Scenario 4: Combination Discount Test
Click a CJ Tracking Link and apply both an item-level and whole-order discount discount code at checkout.
All tests should include 2 products minimum, with one product having a quantity of 2. Please send a screenshot of the order confirmation page that includes order Id, product prices, discounts, and taxes.
Travel
-
Initial Reservation Purchase Test
Click a CJ Tracking Link and proceed with a standard purchase of hotel/flight reservation.If you are utilizing our Open Ended Lifecycle Solution, we will need to test
-
Accepted
The initial reservation is completed and the initial transaction updates from pending to accepted. -
Declined
The initial reservation is cancelled and the initial transaction updates from pending to declined.
-
Finance
-
Scenario 1: Standard Application Submission
Click a CJ Tracking link and submit a credit card application with all required fields completed. -
Scenario 2: Pre-Qualified Application
Click a CJ Tracking link, complete a pre-qualification check, then proceed to full application submission. -
Scenario 3: Card Approval
Click a CJ Tracking link and submit an application that results in instant approval (validates approval-based commissioning if applicable). -
Scenario 4: Checking Account Opening
Click a CJ Tracking link and open a new checking account with initial deposit. -
Scenario 5: Savings Account Opening
Click a CJ Tracking link and open a savings or high-yield savings account.
Network Services
-
Scenario 1: Basic Signup
Click a CJ Tracking link and complete a new internet/mobile plan signup with standard pricing. -
Scenario 2: Promotional Rate Signup
Click a CJ Tracking link and complete a signup using a promotional offer or discounted first-month rate. -
Scenario 3: Bundle Signup
Click a CJ Tracking link and sign up for a bundled package (e.g., internet + TV + phone). -
Scenario 4: Plan Upgrade
Click a CJ Tracking link as an existing customer and upgrade to a higher-tier plan (e.g., faster internet speed, more data).
The scenarios on this page represent commonly tested situations for each vertical. They are not exhaustive βyour account may have additional action trackers, custom parameters, or program-specific requirements that require further testing. Contact your CJ Integration Engineer for a complete list of scenarios specific to your account setup.
Universal Tag validation steps
Open your browser's developer tools before navigating to your site:
- macOS: Option + β + J
- Windows / Linux: Shift + Ctrl + J
Click on the Network tab, then click your test link to load your site.
Step 1: Verify tag.js
The tag.js call loads the CJ tracking script on the page. It fires on every page load.
- Type
tag.jsinto the Network tab's search filter - Confirm the following:
- Status Code:
200 - Request URL: matches
https://www.mczbf.com/tags/{tagId}/tag.js
- Status Code:
The request URL will be different if you are utilizing the reverse proxy solution.
Step 2: Verify pageInfo
The pageInfo call sends page visit data to CJ. It carries the payload from your cj.sitePage object.
- Clear the filter and type
pageInfo - Confirm the following:
- Status Code:
200 - Payload: response contains data
- Enterprise ID: appears in the payload
- Status Code:
Step 3: Verify seteventid
The seteventid call stores the cjevent cookie from the affiliate click.
- Clear the filter and type
seteventid - Confirm the following:
- Status Code:
200 - This call only fires when a
cjeventvalue is present in the URL
- Status Code:
Step 4: Verify the Conversion Tag
Navigate to an order confirmation or thank-you page while your test session is active.
- Clear the filter and type
emjcd - Confirm the following:
- cid: Your account's Enterprise ID
- type: Your account's Action Tracker ID
- oid: Unique ID
- amount: Subtotal of order
- cjeventOrder: CJ's click-id, present in cje cookie
- If returning Item-Level details, item, quantity, amt are present
- Confirm additional vertical parameters are returning, if required
How to calculate commissionable subtotal
The conversion tag supports two discount parameters β one at the item level and one at the order level. Both are used when calculating the final commissionable subtotal. Taxes and shipping must never be included.
The formula
Worked examples
$15.00 β $0.00
$20.00 β $5.00
Need help?
Submit a support ticket for account-specific support.
Updated 11 days ago
