Shopify
- Have your CJ-specific IDs ready before you begin: Enterprise ID, Action ID, and Tag ID. These are provided by your CJ Client Integration Engineering (CIE) team.
- Ensure you have admin-level access to your Shopify store before starting.
- Your unique tracking script must be copied directly from the CJ Network App within your Shopify Admin — do not use example code from screenshots.
- CJ cannot provide legal guidance on privacy compliance. Consult your legal team for jurisdiction-specific requirements before configuring privacy settings.
Prerequisite
Please ensure you have the correct permissions before starting.
If you are a Shopify Partner or Collaborator, an admin can grant the required permissions by navigating to Settings → Users and Permissions, selecting the collaborator, and enabling View customer events and Manage and add custom pixels under Store permissions.
Also update your browser settings to allow the Shopify Admin page to send pop-ups and use redirects. We recommend using Google Chrome.
Step 1 — Install the CJ Network App
Install the CJ Network App directly from the Shopify App Store to add affiliate tracking to your store.
If the app page doesn't load, check for pop-up blockers in your browser's address bar and ensure pop-ups and redirects are allowed for
apps.shopify.com
Step 2 — Configure Plugin Settings
After installation, configure your CJ credentials and tax settings before copying the tracking code.
2.1 — Add Your Account IDs
2.2 — Configure Tax Settings
CJ calculates commissions based on pre-tax amounts. Incorrect tax settings will cause inaccurate commission calculations for your publishers.
2.3 — Save Configuration
2.4 — Copy Tracking Code
If you need custom tracking code modifications, use the script provided directly by your CJ CIE team instead of the default snippet.
Step 3 — Create Custom Pixel
Shopify uses a Custom Pixel to execute the CJ tracking code at the browser level. Create the pixel container before adding the tracking code.
cj-network-integration-pixel. The pixel name must match exactly — it is referenced during testing.Step 4 — Configure Privacy Settings
Shopify requires privacy setting selections for all Custom Pixels. Review CJ's data practices before making your selections.
cj-network-integration-pixel setup screen, review the privacy settings options presented by Shopify.
CJ cannot provide legal guidance on privacy compliance. Consult your legal team for jurisdiction-specific requirements before confirming your settings.
Step 5 — Add Tracking Code
Paste the CJ tracking script copied in Step 2.4 into the custom pixel's code field.
cj-network-integration-pixel editor, locate the Code input field.Step 6 — Activate Custom Pixel
After saving your tracking code, connect the pixel to make it active on your storefront.
Step 7 — Test Integration
After connecting your pixel, verify it is loading correctly before proceeding to full end-to-end testing with your CJ team.
7.1 — Verify Pixel Installation
Use Shopify's built-in Pixel Helper to confirm the pixel container is active on your storefront.
cj-network-integration-pixel.cj-network-integration-pixel with a green "Loaded" status on all pages.7.2 — End-to-End Testing with Your CJ Team
Once you've confirmed the pixel is loading, work with your CJ CIE team to validate the full data flow.
Need help?
Submit a support ticket for account-specific support.
Updated 3 days ago
