Codetors
Work

CJ Affiliate BigCommerce

A BigCommerce app integration that captures CJ affiliate clicks, attributes orders, posts conversions to CJ's GraphQL Tracking API, and retries failed submissions.

CJ Affiliate BigCommerce

A focused build for measurable operational impact.

30d

click attribution window

CJ

GraphQL tracking API

Retry

outbox delivery pattern

Overview

The CJ Affiliate integration automates click capture and conversion reporting for BigCommerce merchants, preserving CJ parameters across the customer journey and sending order data to CJ when purchases complete.

Challenge

Affiliate conversion reporting needed to be accurate, automated, multi-storefront aware, and resilient to API failures, while still providing merchants with analytics and audit logs.

Solution

Codetors built a Next.js app with BigCommerce OAuth, storefront scripts, cookie and database click persistence, CJ GraphQL conversion posting, idempotent order handling, outbox retries, dashboards, and logs.

Outcomes

Automated CJ click tracking and server-to-server conversion posting for BigCommerce orders.

Improved operational reliability through idempotency, retry jobs, status tracking, and comprehensive API logging.

Gave merchants dashboard visibility into clicks, conversions, revenue, success rates, and storefront configuration.

Project visuals

Selected screens and visual assets from the project system.

CJ Affiliate BigCommerce visual 1
CJ Affiliate BigCommerce visual 2
CJ Affiliate BigCommerce visual 3
Get EstimateWhatsApp