Connecting Statamic to PartnerStack
Statamic is a flat-file CMS on Laravel, usually chosen by agencies for content sites where commerce is bolted on rather than central. PartnerStack commissions partners on recurring subscription revenue rather than on a single order, which makes it the one destination here where a conversion you send creates a payment obligation that repeats every month. The join between them succeeds or fails on one thing: whether the PartnerStack referral key reaches the Statamic or Laravel order record before the conversion happens, because PartnerStack can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Statamic SaaS marketing sites to PartnerStack: hand the key over
Nothing commissionable happens on a Statamic marketing site, so send no conversions from it. Set the PartnerStack referral key in a parent-domain cookie client-side, so the app subdomain can read it at sign-up; billing then reports recurring revenue and cancellations. If demos or waitlists become sales-created accounts, store the key on the submission and pass it to the CRM.
PartnerStack belongs with SaaS companies, and when a Statamic site is involved it is the marketing site, while sign-up and billing live in a separate app. Statamic's role is only to receive the partner click and keep the referral key alive until the visitor reaches the app's sign-up. Nothing commissionable happens on the Statamic site, and no conversion should be sent from it.
Set the referral key in a cookie scoped to the parent domain, so both www and the app subdomain can read it, using PartnerStack's script or your own client-side code, since Laravel code does not run on fully cached pages. The app then attaches the key to the customer at sign-up, and billing reports recurring revenue and cancellations to PartnerStack.
The pair-specific break is a sign-up form on the Statamic site itself, a waitlist or demo request, that creates the account later by hand. The key was on the visitor, the account was created by a salesperson, and the partner is never credited. If sales-assisted sign-ups happen, store the key on the Statamic submission and pass it into the CRM so the account can carry it when it is created.
Statamic → PartnerStack · what breaks
Why this join usually fails — Statamic → PartnerStack
- 01
The PartnerStack referral key 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.
- 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.
- 03
A commission that recurs on revenue that stopped
The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.
- 04
Nothing reconciles afterwards
PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.
Statamic → PartnerStack · the fix
What working looks like — Statamic → PartnerStack
The PartnerStack referral key on every order
Conversions arriving in PartnerStack
The customer is attributed to a partner, and commission accrues against the recognized revenue on the schedule you configured.
Reconciled against the source
Statamic → PartnerStack · architecture
How Statamic and PartnerStack actually connect
- 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
PartnerStack needs a click to match
PartnerStack needs the referral key, the customer identifier and the subscription value. Recurring commission also needs the ongoing revenue reported, not just the first payment.
- 3
The identifier is the bridge
The PartnerStack referral key, captured at the visit and carried into the Statamic or Laravel order record.
- 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
Deduplication at the destination
Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.
Statamic → PartnerStack · normal or broken
Working vs. broken, side by side — Statamic → PartnerStack
Normal, not a fault
The PartnerStack referral key present on the order
Sent from your Laravel application's order event
Deduplicated correctly
Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.
Reconciles with the source
Actually broken
The PartnerStack referral key 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
The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.
Nobody has reconciled it
Statamic → PartnerStack · diagnose
Diagnostic order — Statamic → PartnerStack
- 01
Count orders carrying the PartnerStack referral key
- 02
Follow one real conversion end to end
- 03
Check whether full static caching is enabled
If it is, any per-request logic in a template is not running and never was.
- 04
Check whether churn events reach PartnerStack at all
In most implementations the new-subscription path was built and the cancellation path was not, because only one of them is exciting.
- 05
Read the match rate, not the success message
PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.
Statamic → PartnerStack · prove
How it gets proven — Statamic → PartnerStack
Source of truth
Whatever your Laravel application persists — Statamic's flat files hold content, not transactions.
- The PartnerStack referral key confirmed present on a live order.
- Commissionable recurring revenue reconciled against active subscriptions in billing, with cancellations proven to reverse.
- Order data confirmed persisted on a purchase made while full static caching was active.
Statamic → PartnerStack · free audit
What we check in the free audit
- Count orders carrying the PartnerStack referral key
- Follow one real conversion end to end
- Check whether full static caching is enabled
- Check whether churn events reach PartnerStack at all
- Read the match rate, not the success message
Checked against
Whatever your Laravel application persists — Statamic's flat files hold content, not transactions.
Free30 minutesNo obligation
Statamic → PartnerStack · when not to buy
When you don't need this — Statamic → PartnerStack
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the PartnerStack referral key.
- If commerce lives in a separate system entirely, work there — Statamic is the content layer.
- If you run no partner or affiliate programme, there is nothing to send here. If you run one on one-off sales rather than subscriptions, the recurring-commission complexity does not apply to you.
Statamic → PartnerStack · what we deliver
What gets built — Statamic → PartnerStack
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 PartnerStack
Server-side reporting from your billing system, with the referral key, customer identifier and the recurring revenue as it is recognized.
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.
From $400 · See packages
FAQ
Statamic → PartnerStack questions, answered
Yes, if the referral key is captured client-side into a parent-domain cookie the app can read at sign-up.
Store the referral key on the form submission and pass it to the CRM so the account carries it when sales creates it.
Almost always because the PartnerStack referral key never reached the Statamic or Laravel order record. 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. Measure coverage before debugging the dispatch.
PartnerStack attributes through a referral key carried on the link and stored against the customer. Because commissions are frequently paid on recurring revenue for the life of the subscription, losing the key does not cost a partner one commission — it costs them the whole relationship's worth, and produces a dispute you cannot resolve after the fact.
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.
PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.
More on Statamic → PartnerStack
- Statamic → Google AdsConnecting Statamic to Google Ads
- Statamic → MetaConnecting Statamic to Meta Conversions API
- Statamic → GA4Connecting Statamic to GA4
RELATED GUIDES
Where Statamic → PartnerStack fits in the rest of your tracking
- Sitecore → PartnerStackConnecting Sitecore to PartnerStack
- Ghost → PartnerStackConnecting Ghost memberships to PartnerStack
- Drupal Commerce → PartnerStackConnecting Drupal Commerce to PartnerStack
- Statamic → AwinConnecting Statamic to Awin
- Statamic → ImpactConnecting Statamic to Impact.com
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Concrete CMS → PartnerStackConnecting Concrete CMS to PartnerStack
- Duda → PartnerStackConnecting Duda to PartnerStack
Free · 30 min
Get Statamic and PartnerStack joined properly
Free30 minutesNo obligation
