SDK guides

Integration guides

Install RefCampaign with working code for the stack you already use. Each guide covers click tracking, customer identification, conversion attribution, and local validation.

Copy-paste code

Use complete snippets instead of translating product docs into app-specific glue code.

Conversion loop included

Track clicks and connect revenue events so commissions can be created reliably.

Built-in checks

Each guide ends with local checks that prove the attribution chain works.

Next.jsIntermediate

Next.js affiliate tracking with RefCampaign

Add RefCampaign to a Next.js app with browser click capture, email fallback attribution, and Stripe Checkout metadata for paid conversions.

Track affiliate clicks and connect them to paid conversions
35 minutes
Read guide