Skip to main content
Statamic → ImpactIntegration guide

Connecting Statamic to Impact.com

Statamic is a flat-file CMS on Laravel, usually chosen by agencies for content sites where commerce is bolted on rather than central. Impact is the first destination on this site that pays somebody for the conversion you send it, which changes the stakes completely: an event that is wrong here does not distort a report, it produces a payment. The join between them succeeds or fails on one thing: whether the Impact click identifier, irclickid reaches the Statamic or Laravel order record before the conversion happens, because Impact can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Statamic lead sites to Impact: pay partners on qualified leads

On a lead-based Impact program, send each Statamic form submission to Impact's Conversions API from a Laravel listener as pending, with the irclickid captured in the browser, the submission ID as order identifier and the agreed payout basis. Reverse spam and unqualified leads by that same ID before locking. Test the form on every template with caching on.

Many Statamic sites sell nothing on the page, and an Impact program on them pays partners per lead: a quote request, a demo booking, a trial sign-up. That makes the Statamic form submission the conversion, sent to Impact's Conversions API from a Laravel listener with the irclickid, a stable lead ID and the payout basis you agreed. Capture irclickid in the browser, through Impact's tracking script or your own first-party cookie, because statically cached landing pages never start a Laravel session.

Lead programs need reversals more than order programs do. Spam, duplicates and unqualified leads should be reversed inside the locking period, from the CRM or wherever a person decides the lead is bad. Send the lead as pending, keep the Statamic submission ID as the order identifier, and reverse by that same ID; a fresh ID on a retry pays the partner twice.

The Statamic-specific break: the form is a partial embedded on many pages, and some of those pages are excluded from static caching while others are not, so the hidden irclickid field fills on some forms and stays empty on others. Test a submission from every template that includes the form, with caching on, before the program launches.

Statamic → Impact · what breaks

Why this join usually fails — Statamic → Impact

  1. 01

    The Impact click identifier, irclickid never reaches Statamic

    Statamic's static caching serves pre-rendered files with no PHP execution at all, which means anything expecting server-side rendering per request simply does not run.

  2. 02

    Static caching bypassing PHP entirely

    Statamic's full static caching serves a file from disk. No PHP runs, so nothing dynamic happens — and this is invisible because the page looks perfect.

  3. 03

    A second party claiming a conversion your ads already paid for

    This is the structural problem with every affiliate and partnership platform. A customer clicks a paid ad, browses, later clicks a partner link for a discount code, and buys. Google reports a conversion, Impact commissions a partner, and you paid twice for one order. Neither system is wrong on its own terms — but nothing reconciles them unless you do.

  4. 04

    Nothing reconciles afterwards

    Impact shows the conversion in its reporting with the attributed partner and the commission. Check that the order ID matches your own record and that the value is net of what you actually keep, not the gross basket.

Statamic → Impact · the fix

What working looks like — Statamic → Impact

  • The Impact click identifier, irclickid on every order

  • Conversions arriving in Impact

    The conversion is attributed to a partner, held for your review or approval period, and then commissioned.

  • Reconciled against the source

Statamic → Impact · architecture

How Statamic and Impact actually connect

  1. 1

    Statamic holds the truth

    Because Statamic sits on Laravel, the commercial record is usually a database table your developers defined. That is the source of truth and it is fully under your control.

  2. 2

    Impact.com needs a click to match

    Impact needs the click identifier, an order identifier and the order value to attribute and commission the conversion. Without the click identifier it cannot tell which partner to pay.

  3. 3

    The identifier is the bridge

    The Impact click identifier, irclickid, captured at the visit and carried into the Statamic or Laravel order record.

  4. 4

    The event source decides reliability

    Fire from the application event. Static caching means the template that rendered the page may never have executed anything.

  5. 5

    Deduplication at the destination

    Impact deduplicates on your order identifier, so the same order sent twice will not commission twice — provided you send a stable order ID. Send a new ID for a retry and you have paid a partner twice for one sale.

Statamic → Impact · normal or broken

Working vs. broken, side by side — Statamic → Impact

Normal, not a fault

  • The Impact click identifier, irclickid present on the order

  • Sent from your Laravel application's order event

  • Deduplicated correctly

    Impact deduplicates on your order identifier, so the same order sent twice will not commission twice — provided you send a stable order ID. Send a new ID for a retry and you have paid a partner twice for one sale.

  • Reconciles with the source

Actually broken

  • The Impact click identifier, irclickid missing on most records

    Statamic's static caching serves pre-rendered files with no PHP execution at all, which means anything expecting server-side rendering per request simply does not run.

  • Sent from the browser

    Statamic's full static caching serves a file from disk. No PHP runs, so nothing dynamic happens — and this is invisible because the page looks perfect.

  • Counted twice, or not at all

    This is the structural problem with every affiliate and partnership platform. A customer clicks a paid ad, browses, later clicks a partner link for a discount code, and buys. Google reports a conversion, Impact commissions a partner, and you paid twice for one order. Neither system is wrong on its own terms — but nothing reconciles them unless you do.

  • Nobody has reconciled it

Statamic → Impact · diagnose

Diagnostic order — Statamic → Impact

  1. 01

    Count orders carrying the Impact click identifier, irclickid

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether full static caching is enabled

    If it is, any per-request logic in a template is not running and never was.

  4. 04

    Count orders that appear in both your ad platforms and Impact

    The overlap is what you are paying for twice. It is a single query against order IDs and it is almost never run.

  5. 05

    Read the match rate, not the success message

    Impact shows the conversion in its reporting with the attributed partner and the commission. Check that the order ID matches your own record and that the value is net of what you actually keep, not the gross basket.

Statamic → Impact · prove

How it gets proven — Statamic → Impact

Source of truth

Whatever your Laravel application persists — Statamic's flat files hold content, not transactions.

  • The Impact click identifier, irclickid confirmed present on a live order.
  • Conversions in Impact reconciled per order ID against your own order records, with the ad-platform overlap measured and stated.
  • Order data confirmed persisted on a purchase made while full static caching was active.

Statamic → Impact · free audit

What we check in the free audit

  • Count orders carrying the Impact click identifier, irclickid
  • Follow one real conversion end to end
  • Check whether full static caching is enabled
  • Count orders that appear in both your ad platforms and Impact
  • Read the match rate, not the success message

Checked against

Whatever your Laravel application persists — Statamic's flat files hold content, not transactions.

Get my free conversion tracking audit

Free30 minutesNo obligation

Statamic → Impact · when not to buy

When you don't need this — Statamic → Impact

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Impact click identifier, irclickid.
  • If commerce lives in a separate system entirely, work there — Statamic is the content layer.
  • If you have no partner programme, there is nothing to send here. If you have one and are not reconciling the overlap with paid media, that reconciliation is worth more than any tracking build.

Statamic → Impact · what we deliver

What gets built — Statamic → Impact

  • Identifier capture into Statamic

    Capture the identifier and persist it through a Laravel event listener into your own order table, entirely outside the static cache path.

  • Event source: your Laravel application's order event

    Fire from the application event. Static caching means the template that rendered the page may never have executed anything.

  • Dispatch to Impact

    The Impact Conversions API, posted server-side from your order system with the click identifier, order ID and value.

  • Reversals where they exist

    Whatever your application defines as a refund.

Written guarantee

95%+ tracking accuracy

Measured against Whatever your Laravel application persists — Statamic's flat files hold content, not transactions.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Statamic → Impact questions, answered

Yes, if you send each submission to Impact with the irclickid and a stable lead ID, and reverse unqualified leads within the locking period.

Free · 30 min

Get Statamic and Impact joined properly

Free30 minutesNo obligation