Loading your account…

Brand Integration Docs

Track real sales from creators using Analytx with a simple script integration.

Overview

Analytx helps you track which creators actually drive revenue. You do not need complex backend integrations.

Creators share referral links like:

https://yourbrand.com/product?ref=CREATOR123

Analytx automatically captures this referral and attributes the sale when a purchase is completed.

Step 1: Add Tracking Script

Add the Analytx script to your website (preferably in the global layout or <head> section):

<script src="https://tryanalytx.com/tracker.js" 
        data-api-key="YOUR_API_KEY">
</script>

Replace YOUR_API_KEY with your API key from the dashboard.

Step 2: Track Sale

Call Analytx.trackSale() only after a successful purchase (on your order confirmation / thank-you page).

<script>
Analytx.trackSale({
  skuId: "SKU-001",
  salePrice: 499
});
</script>

Required fields:

  • skuId – Product SKU
  • salePrice – Final amount paid

How It Works

1. Creator shares referral link

2. User visits your site → Analytx stores the referral automatically

3. User completes purchase

4. You call Analytx.trackSale()

5. Analytx attributes the sale to the correct creator and campaign

Important Rules

  • Only call Analytx.trackSale() after a successful payment
  • Do not call it on button click or before order confirmation
  • Call it once per order
  • Ensure correct skuId and salePrice

Example Integrations

Shopify / WooCommerce / Custom apps all follow the same rule:

// Call this on order success page
Analytx.trackSale({
  skuId: order.sku,
  salePrice: order.total
});

Notes

  • No backend integration required
  • No manual referral handling needed
  • Analytx automatically manages attribution
  • Works across Shopify, WooCommerce, Webflow, and custom sites

For support, contact jems.analytx@gmail.com