Skip to main content
Twilio → AwinIntegration guide

Connecting Twilio to Awin

Twilio is infrastructure rather than a product, so what it can tell you depends entirely on what your own application logged alongside the message or call. Awin is a traditional last-click affiliate network, and last-click is the whole problem: whoever touched the customer most recently takes the commission, which is a structural invitation for voucher-code sites to intercept sales you had already won. The join between them succeeds or fails on one thing: whether the Awin click reference, awc reaches the Twilio message or call record before the conversion happens, because Awin can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Awin commissions on phone sales handled through Twilio

Show a Twilio tracking number on affiliate landing pages, record which awc was active when it was shown, and attach it to the call record. Post the closed sale, not the call, server-side from your order or CRM with the awc, order reference and value. Size the number pool and leave ambiguous calls unattributed.

Awin needs a click reference on a sale, and a phone call carries none. If affiliates send traffic that converts by phone, such as insurance quotes, travel bookings or home services, the awc has to be joined to the call by your own application: show a Twilio tracking number on the landing page, record which awc was active when that number was shown, and attach it to the call record your application creates.

The conversion you post to Awin is the sale your agent closed, not the call. Post it server-side from your order or CRM system with the awc, an order reference and the value once the sale is confirmed. Check whether your Awin program accepts conversions confirmed later by phone, and agree with publishers up front how call-originated sales are validated, because they cannot see your call records and will query sales they think were missed.

Number pools are the weak point. If the pool is too small for your traffic, one Twilio number is shown to visitors from two publishers within the same window, and the call cannot be attributed with confidence. Size the pool to concurrent visitors, hold each assignment for a fixed time, and when a call matches more than one session, do not guess: leave it unattributed rather than paying the wrong publisher.

Twilio → Awin · what breaks

Why this join usually fails — Twilio → Awin

  1. 01

    The Awin click reference, awc never reaches Twilio

    Twilio has no concept of marketing at all. Any identifier has to be attached by your own code at the point the interaction is created, and if it was not, the record cannot be recovered afterwards.

  2. 02

    Transport confused with meaning

    A delivered SMS is not a conversion. Twilio reports delivery, and reading that as a business outcome is the standard mistake when teams wire the console directly.

  3. 03

    Voucher-code publishers intercepting sales at the checkout

    A customer arrives from a paid ad, reaches the basket, opens a new tab to search for a discount code, clicks a voucher site's link and returns to complete the order. Under last-click the voucher site earns the commission on a sale your advertising produced. This is not a fringe case; on many programmes it is the largest single publisher category.

  4. 04

    Nothing reconciles afterwards

    Awin's reporting shows the sale, the publisher and the commission group. Read the publisher type and the time between click and sale — a click seconds before the order tells you what happened.

Twilio → Awin · the fix

What working looks like — Twilio → Awin

  • The Awin click reference, awc on every interaction

  • Conversions arriving in Awin

    The sale appears as pending, publishers see it in their reporting, and it validates after your approval period.

  • Reconciled against the source

Twilio → Awin · architecture

How Twilio and Awin actually connect

  1. 1

    Twilio holds the truth

    Twilio knows a message was sent or a call connected. Whether that represented a lead, a booking or a delivery notification is something only your application knows, which makes your own logging the source of truth rather than Twilio's console.

  2. 2

    Awin needs a click to match

    Awin needs the click reference, a unique order reference, the order value and the commission group. Missing the click reference means the sale is untracked and the publisher will query it.

  3. 3

    The identifier is the bridge

    The Awin click reference, awc, captured at the visit and carried into the Twilio message or call record.

  4. 4

    The event source decides reliability

    Send from your application when the interaction represents something commercially meaningful, not from Twilio's status callbacks, which report transport rather than outcome.

  5. 5

    Deduplication at the destination

    Awin deduplicates on your order reference. It also supports a dedup flag so you can decline to commission sales that another channel already claimed — which is the feature most advertisers do not know exists and should be using.

Twilio → Awin · normal or broken

Working vs. broken, side by side — Twilio → Awin

Normal, not a fault

  • The Awin click reference, awc present on the interaction

  • Sent from your application's own event, keyed to the Twilio SID

  • Deduplicated correctly

    Awin deduplicates on your order reference. It also supports a dedup flag so you can decline to commission sales that another channel already claimed — which is the feature most advertisers do not know exists and should be using.

  • Reconciles with the source

Actually broken

  • The Awin click reference, awc missing on most records

    Twilio has no concept of marketing at all. Any identifier has to be attached by your own code at the point the interaction is created, and if it was not, the record cannot be recovered afterwards.

  • Sent from the browser

    A delivered SMS is not a conversion. Twilio reports delivery, and reading that as a business outcome is the standard mistake when teams wire the console directly.

  • Counted twice, or not at all

    A customer arrives from a paid ad, reaches the basket, opens a new tab to search for a discount code, clicks a voucher site's link and returns to complete the order. Under last-click the voucher site earns the commission on a sale your advertising produced. This is not a fringe case; on many programmes it is the largest single publisher category.

  • Nobody has reconciled it

Twilio → Awin · diagnose

Diagnostic order — Twilio → Awin

  1. 01

    Count interactions carrying the Awin click reference, awc

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether your application logs the business meaning of each interaction

    If it only stores Twilio SIDs and statuses, there is nothing to build a conversion on.

  4. 04

    Segment publishers by type and check where the click happened in the journey

    Voucher and cashback clicks that occur within seconds of an order are interception, not acquisition. Use the deduplication flag rather than paying for both.

  5. 05

    Read the match rate, not the success message

    Awin's reporting shows the sale, the publisher and the commission group. Read the publisher type and the time between click and sale — a click seconds before the order tells you what happened.

Twilio → Awin · prove

How it gets proven — Twilio → Awin

Source of truth

Your own application's records of Twilio interactions, since Twilio itself stores the transport and not the business meaning.

  • The Awin click reference, awc confirmed present on a live interaction.
  • Validated sales reconciled per order reference against your own records, with voucher-sourced sales identified and the paid-media overlap stated.
  • Conversions confirmed to come from your application's business events rather than Twilio's delivery callbacks.

Twilio → Awin · free audit

What we check in the free audit

  • Count interactions carrying the Awin click reference, awc
  • Follow one real conversion end to end
  • Check whether your application logs the business meaning of each interaction
  • Segment publishers by type and check where the click happened in the journey
  • Read the match rate, not the success message

Checked against

Your own application's records of Twilio interactions, since Twilio itself stores the transport and not the business meaning.

Get my free conversion tracking audit

Free30 minutesNo obligation

Twilio → Awin · when not to buy

When you don't need this — Twilio → Awin

  • Measure identifier coverage yourself first — pull your last hundred interactions and count how many carry the Awin click reference, awc.
  • If Twilio is purely notification infrastructure in your stack, it is not a conversion source and should not be treated as one.
  • If you run no affiliate programme this is irrelevant. If you do, the commission structure by publisher type will change your economics more than the tracking accuracy will.

Twilio → Awin · what we deliver

What gets built — Twilio → Awin

  • Identifier capture into Twilio

    Attach the click identifier in your own application's record when creating the Twilio interaction, and store it alongside the Twilio SID so the two can be joined.

  • Event source: your application's own event, keyed to the Twilio SID

    Send from your application when the interaction represents something commercially meaningful, not from Twilio's status callbacks, which report transport rather than outcome.

  • Dispatch to Awin

    Server-to-server conversion posting from your order system, or the tracking pixel where server posting is not available.

  • Reversals where they exist

    Nothing inherent; whatever your application defines as a reversal applies.

Written guarantee

95%+ tracking accuracy

Measured against Your own application's records of Twilio interactions, since Twilio itself stores the transport and not the business meaning.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Twilio → Awin questions, answered

Only if your application ties the awc to the call, usually through a dynamic Twilio number, and then posts the closed sale with that reference. Awin cannot see calls itself.

Free · 30 min

Get Twilio and Awin joined properly

Free30 minutesNo obligation