affixo
Polar integration

Affiliate tracking for your Polar sales.

Paste one Polar token and affixo adds its own webhook in your Polar account. From then on paid orders, renewals, refunds and chargebacks come in on their own and pay (or take back) the right commission.

Live
How the code works

Three pieces. Only the first is required.

One code on every page, an optional signup line, and sales on Polar.

  1. Required
    Piece 1

    One code on every page

    The tag goes in the <head> of every page. It records the click when someone arrives through an affiliate link, and remembers who sent them.

    <!-- every page, in <head> -->
    <script async src=
    "https://go.affixo.dev/sa.js?w=<public key>">
    </script>
    Records a click
  2. Optional
    Piece 2

    A signup line with the email

    On the page people see right after signing up, inside the load listener. In a single-page app, use the wait-and-retry helper. It credits the signup to the affiliate.

    // the page after signup
    addEventListener('load', () =>
    Affixo.track('signup', { email })
    )
    Records a lead
  3. No code
    Piece 3

    Sales

    Paste one Polar token and affixo reads your orders there. The code on your pages tags your Polar checkout links for you.

    # polar connected
    ✓ sales arrive on their own
    Records a sale, the one that earns commission

Paste one token. No server code.

Create an organization access token in Polar and paste it into affixo. affixo checks it, stores it encrypted and adds the webhook for you. The token's permissions only read your sales and manage that webhook, so affixo can't charge your customers, issue refunds or move money in Polar.

  • No webhook URL or signing secret to copy
  • Snippet adds the visitor id to Polar checkout links on your site
  • Separate Polar sandbox connection for test sales
> connect polar (one token)
✓ token checked
✓ webhook added in polar

Commissions that follow the order.

Each paid order books on its amount after discounts and before tax, and renewals stay with the same affiliate, paid if your campaign pays recurring commissions. Refunds shrink or reverse the commission and chargebacks reverse it. Polar sends no dispute webhooks, so affixo checks for disputes every 15 minutes.

  • Recurring commissions on subscription renewals
  • Partial and full refunds adjust the commission
  • Chargebacks reverse it, and a won dispute restores it
order.paid → sale + commission
order.refunded → clawback
disputes → checked every 15 min

Add affiliate tracking to your Polar today.

Paste one token, add one script and hand your affiliates their links.

Polar FAQ

affixo + Polar, answered.

Yes, on every plan, including Free. You paste one Polar organization access token into affixo, and it tracks paid orders, renewals, refunds and chargebacks through its own webhook.

No server code. Put the affixo snippet on your site and it adds the visitor id to your Polar checkout links. If your server creates checkouts with Polar's API, pass the visitor id in the checkout metadata yourself.

No. A workspace takes its sales from Stripe, from Polar or from your own server, never more than one. A workspace that has already used Stripe can't switch to Polar, so use a new workspace for your Polar products.

In affixo, open Settings, then Payments & products, choose I use Polar and paste your token. The full guide, including sandbox testing, is at docs.affixo.dev/polar.

Run affiliates on Polar today.

Paste one script, connect your account, hand out links. Free until your affiliates make you real money.

Free plan · No credit card · No trial clock