Quickstart
This walk-through gets you from a fresh Cobalz account to a fully tracked commission in about 15 minutes. We'll assume you have a WooCommerce store; the Shopify, BigCommerce, Wix, Squarespace, and Stripe variants are linked at the end.
1. Create a merchant account
Go to /signup, pick a slug for your program (this becomes the URL of your affiliate portal at /a/your-slug), and confirm your email. You land on the Free plan with 25 affiliate seats and unlimited tracking events.
2. Install the WooCommerce plugin
- From your WordPress admin go to Plugins → Add New → Upload.
- Download the plugin ZIP from your merchant dashboard › Settings › Store connection.
- Upload + activate. You'll see a new top-level menu: Cobalz Affiliate.
- Click it, enter the pairing code from your dashboard, save.
Within 60 seconds your dashboard's green-dot status indicator flips from Pending to Connected. If it doesn't, see the WooCommerce troubleshooting section.
3. Drop in the tracker
Add this one line to your storefront — anywhere before </body> (the plugin can inject it for you under Plugin Settings → Inject tracker):
<script async
src="https://affiliate.cobalz.com/t.js"
data-merchant="<YOUR_MERCHANT_UUID>"
data-merchant-slug="<your-slug>"
></script>That ships a 2.7 KB beacon that captures ?ref= parameters, writes a 90-day first-party cookie, and fires a click event to /api/t/click. Full options: tracker docs.
4. Approve your first affiliate
- Share the affiliate signup URL:
https://affiliate.cobalz.com/a/your-slug/signup - An applicant fills out the form and lands in Approval queue on your dashboard.
- Click Approve. They get an email; an
affiliate.approvedwebhook fires; if you've enabled Slack, your team sees a message. - Auto-coupon is on by default — Cobalz creates a personal discount code in WooCommerce for the new affiliate and stamps it on their account.
5. Watch the first commission land
Have the affiliate share their link (or their coupon) and place a test order. Within seconds:
- The order arrives via the WC plugin's outbox.
- Cobalz resolves attribution (cookie → coupon → URL param, in that order).
- A commission row is inserted with status
pendingand a hold period (default 30 days, matches your refund window). - The affiliate sees pending earnings in their portal at
/a/your-slug/dashboard.
At /m/<slug>/commissions you'll see the new row with the winning rule and amount. The daily approve-holds cron auto-promotes it to approved after the hold; the monthly payouts cron then drafts a Mercury invoice (or PayPal / Stripe / Wise, depending on the affiliate's preference).
Where to go next
- REST API — everything your dashboard can do, from your code.
- Outbound webhooks — get real-time pushes to your stack on every event.
- Klaviyo or Mailchimp — sync approved affiliates into a marketing list.
- Shopify, BigCommerce, Stripe Subscriptions — if WooCommerce isn't your platform.