Overview

What is the Universal Tag?

The Universal Tag is a single, lightweight JavaScript snippet deployed across your site to power CJ's full measurement and attribution stack. A unified codebase serves two distinct tracking functions based on placement:

Page Tracking — When deployed across browsing pages (homepage through checkout), the tag records on-site engagement signals, enabling CJ to reconstruct the affiliate-referred customer journey and surface insights into shopping behavior.

Conversion Tracking — When deployed on the order confirmation page, the tag transmits completed transaction data — including order value, item details, and the originating cjevent — back to CJ, ensuring that contributing publishers are credited and commissioned accurately.

Why use it?

Accurate Attribution
Captures CJ's unique click ID in tandem with a server-side cookie, preserving publisher attribution even in browsers that restrict third-party cookies — including Safari, iOS, and Firefox with ETP enabled.
Cross-Channel Journey
Measures every touchpoint preceding a conversion — Affiliate, Search, Social, Email, Display, and Direct — providing full visibility into how the affiliate channel contributes to your overall marketing mix.
Privacy Compliance
Automatically handles GDPR, CCPA, and regional privacy regulations through the cjdata URL parameter — requiring no additional engineering work or consent-management integration from your development team.
Concurrent Tracking
Run the Universal Tag alongside server-side methods like S2S or the GraphQL API to maintain measurement integrity through ad blockers, cookie deprecation, and browser tracking-prevention restrictions.

Integration Steps

📘

If you can't set an HTTP cookie, or to bolster your Universal Tag integration even more, add a reverse proxy to your setup.

Concurrent Tracking

How concurrent methods flow into CJ
FOUNDATIONUniversal TagBrowser-sidePRIMARYCONCURRENT METHODS (ON TOP OF UNIVERSAL TAG)Advertiser Tracking APIGraphQLData File ImportCSVServer-to-Server PostbackHTTPCJ Tracking SystemDeduplication · ValidationCommission Detail
Foundation
Universal Tag (Required)
Concurrent methods
Advertiser Tracking API
Data File Import
Server-to-Server Postback
CJ Tracking System

Concurrent tracking runs a server-side backup method alongside the Universal Tag to capture conversions that would otherwise be lost. Ad blockers, browser restrictions, and technical outages can prevent client-side tags from firing — a secondary method fills these gaps and ensures accurate attribution.

Choose one of the three options below based on your technical setup.



What’s Next