Measure creator cohorts across Shopify and Klaviyo with stable identity, refund-aware value curves, repeat-purchase formulas, QA and decisions.

Short answer: answer: Assign each customer to a creator cohort from the first eligible settled order, freeze that assignment, and measure refund-adjusted orders, buyers and contribution by months since acquisition. Use Shopify as the order and refund ledger; use Klaviyo for profile and event activation after reconciling its order events back to Shopify IDs. Compare creators only at the same cohort age and after a published identity, attribution and maturity rule.

First-order revenue is the fastest creator metric and often the least informative one. A creator who attracts discount-only buyers may win launch week and lose by day 90 after returns and weak repeat purchase.

The second trap is letting profile systems define commercial truth. Klaviyo's Shopify integration makes Placed Order, Ordered Product and Refunded Order events useful for segmentation, but duplicated profiles, deleted profiles, asynchronous sync and event definitions still require reconciliation to the Shopify order ledger.

The Creator Cohort Value Curve

CDM's Creator Cohort Value Curve follows a cohort through five points: entry, settlement, return, repeat and contribution. Our position is direct: creator acquisition should be judged on cohort economics and retention, not first-order revenue alone. A launch scorecard can guide pacing; it should not determine a durable partnership.

Point 1: freeze cohort entry

Define cohort membership once, using the first eligible order under a versioned attribution rule. A useful key is:

acquisition_month + creator_id + market + offer_family

Store customer_key, first_eligible_order_id, first_order_at, creator_id, evidence type, rule version and assignment confidence. Evidence might be a unique discount code, governed referral parameter, affiliate record or separately stored self-report. Define precedence when signals conflict. For example, a verified affiliate click may outrank a shared coupon, while self-report remains a parallel signal.

Do not rewrite the original creator when a customer later buys through another creator. Store later touches in an influence table. Cohort analysis needs stable membership; influence analysis answers a different question.

Identity is the hard boundary. Prefer Shopify customer ID inside a store. Use normalized email or phone only under permitted, documented logic and never assume two stores share a customer because strings match. Guest checkout, changed email, shared household details and merged records create uncertainty. Keep identity_confidence and an unlinked bucket.

Point 2: define a settled acquisition order

Shopify exposes order totals, transactions and refund objects. An order's totalPriceSet is before returns, while totalRefundedSet records refunded amounts; Shopify also warns that the existence of a Refund object does not prove money returned, because associated transaction status can be pending, processing, successful or failed.

Define an eligible settled order as a non-test, non-cancelled order with successful captured payment, minus successful monetary refunds under a stated observation window. Decide how store credit, exchanges, duties, shipping and tax enter value. Keep shop and presentment currency separate and convert only with an approved rate policy.

For cohort reporting, calculate:

net_order_revenue = captured merchandise + retained shipping − successful refunds − discounts allocated outside captured total

Adapt the formula to the exported fields; do not subtract a discount twice if Shopify's captured total already reflects it.

Point 3: trace the refund curve

Measure cumulative refund rate at fixed ages—day 14, 30, 60 and 90—rather than reporting today's refunds against cohorts of different ages. A January cohort has had more time to return products than an August cohort.

Store refunds at refund-transaction date and link them to original order, line and creator cohort. Maintain two views:

  • order-cohort view: refund reduces the original acquisition cohort, showing cohort economics;
  • cash-period view: refund appears when processed, supporting payout and finance reconciliation.

Both are valid. Confusing them creates unexplained monthly differences.

Point 4: calculate repeat purchase on comparable ages

Define a repeat buyer as a customer with at least one later eligible settled order. Then calculate:

repeat_buyer_rate_90d = customers with a second eligible order by day 90 / eligible acquired customers observed for at least 90 days

The denominator excludes cohorts that have not reached 90 days; otherwise recent creators look artificially weak. Also report median days to second order and cumulative net revenue per acquired customer.

This illustrative warehouse query assumes cleaned Shopify facts and was not executed here:

``sql SELECT creator_id, acquisition_month, COUNT(DISTINCT customer_key) AS acquired_customers, COUNT(DISTINCT IF(order_number >= 2 AND days_since_first <= 90, customer_key, NULL)) AS repeat_buyers_90d, SAFE_DIVIDE( COUNT(DISTINCT IF(order_number >= 2 AND days_since_first <= 90, customer_key, NULL)), COUNT(DISTINCT IF(cohort_age_days >= 90, customer_key, NULL)) ) AS repeat_buyer_rate_90d, SUM(IF(days_since_first <= 90, net_order_revenue, 0)) AS net_revenue_90d FROM creator_customer_orders GROUP BY 1, 2; ``

In a real model, the denominator should come from a unique customer-cohort table so multiple orders do not duplicate eligible customers. Build and test that table before using this compact illustration.

Point 5: add contribution and action

Revenue is not value. Add cost of goods, payment fees, fulfillment, discounts, returns processing, creator fees and affiliate payout at the grain the business can support. Name the result accurately: gross margin, contribution before creator cost or contribution after creator cost.

Plot cumulative contribution per acquired customer by cohort age. Compare a creator's mature curve with matched cohorts by market, offer and season. Set a decision rule before viewing results: for example, renew when day-90 contribution per customer clears the portfolio median with at least 100 mature customers and refund rate stays within the guardrail. Those thresholds are illustrative.

Suppose Creator A generates 500 first orders and Creator B generates 300. At day 90, A has 8% repeat buyers and 18% refunded value; B has 21% repeat buyers and 7% refunded value. After cost allocation, B's contribution per acquired customer is 60% higher. The decision is to expand B and redesign A's offer or audience fit, not to reward A for launch volume alone.

Join Shopify and Klaviyo safely

Use this data model:

  • customer_cohort: one row per customer and frozen creator assignment;
  • shopify_order: one row per order with customer, timestamps, test/cancel flags and money sets;
  • shopify_refund_transaction: one row per refund transaction and status;
  • klaviyo_event: event UUID, metric, profile ID, order ID, event time and value;
  • identity_bridge: Shopify customer ID to Klaviyo profile ID with provenance and validity;
  • cohort_curve: creator, cohort month, age bucket, buyers, orders, refunds, revenue and contribution.

Klaviyo says its Shopify integration initially syncs recent data and then full history; it exposes Shopify-branded order and refund metrics. Use event order IDs to reconcile counts and values. Its Events API relates each event to a metric and profile and uses cursor pagination. Deduplication and profile identity behavior mean an event count is not automatically an order count.

Run seven QA tests:

  1. one frozen cohort row per customer key;
  2. first eligible order precedes every repeat order;
  3. order IDs are unique and test orders excluded;
  4. successful refunds never exceed refundable scope without an explained adjustment;
  5. Klaviyo Placed Order IDs reconcile to eligible Shopify orders by date;
  6. mature denominators include only customers old enough for the window;
  7. cohort-view and cash-view refunds bridge to finance within classified timing and currency limits.

Reconciliation cannot erase source differences. Klaviyo can support activation and messaging analysis; Shopify represents commerce operations; payment processors and finance may settle on other dates and include fees or chargebacks. Publish complete-through dates and residual categories.

Frequently asked questions

Should Shopify or Klaviyo be the source of truth for orders?

Use Shopify as the operational order and refund ledger for this model, then reconcile payment settlement and accounting to the processor or finance system. Use Klaviyo's Shopify events for messaging, segmentation and event-level activation after matching order IDs.

The caveat is that custom checkout, subscription or marketplace systems may create orders elsewhere. In that case, declare a governed commerce ledger that incorporates those systems rather than assuming Shopify contains the entire business. A reconciled order ID is the shared control key between them.

How should we assign a customer to a creator cohort?

Use the first eligible settled order and a written precedence rule across referral IDs, affiliate records, creator codes and self-report. Freeze the assignment, store evidence and keep later creator touches separately. This makes retention curves stable and reproducible.

The caveat is that no attribution rule proves causality. Shared codes, private sharing and missing identifiers remain uncertain; report confidence and an unattributed group instead of forcing every buyer into a creator cohort. Publish the unattributed share and assignment-confidence distribution beside every creator comparison.

What counts as a repeat purchase?

Count a later eligible settled order by the same governed customer key, excluding the acquisition order, tests, cancelled orders and fully reversed payments. Choose a time window such as 90 days and include only customers observed for that full period in the denominator.

The caveat is business model: subscriptions, replenishment and durable goods have different natural cycles. Use a window based on the expected repurchase interval and report the definition beside the rate. State whether same-day second orders count as repeat behavior.

How do refunds change creator cohort results?

Refunds reduce the original cohort's cumulative economics while also appearing in the cash period when processed. Maintain both views so retention decisions and payout reconciliation remain coherent. Link successful refund transactions to order and line where possible, and define shipping, tax, store credit and exchanges.

The caveat is return lag: recent cohorts are incomplete. Compare creators at equal age and avoid final judgments until the relevant return window has substantially matured. Always show cohort maturity and observation days beside every reported refund rate.

Can Klaviyo cohort reports replace a warehouse model?

They can answer useful repeat-purchase and post-purchase questions, especially for teams with eligible subscriptions and clean integrations. Klaviyo documents cohorting events and prebuilt reports for repeat purchasers. A warehouse is still needed when creator assignment, contribution costs, identity rules or finance reconciliation require custom logic.

The caveat is proportionality: a small store can begin with Klaviyo plus a documented Shopify export, then add warehouse complexity when the decisions justify it. Export matched row-level order IDs when any material discrepancy needs independent investigation.

What minimum sample should a creator cohort have?

Set the minimum before comparing creators and base it on expected variability and decision risk, not a universal internet number. Show acquired customers, mature customers and uncertainty alongside rates. Pool periods or use directional evidence when volume is low.

The caveat is that waiting for statistical precision can be impractical for small programs; use capped tests and qualitative evidence, but label the result provisional and avoid treating a handful of repeat orders as a stable retention advantage. Also cap the budget placed on provisional evidence.

Next decision: How Do You Calculate Refund-Adjusted Affiliate Revenue in Shopify or Stripe?

Related reading: How Do You Govern Lifecycle Stages for Creator Leads in HubSpot? · Why Do Ad Platforms, GA4, CRM and Finance Disagree—and How Do You Reconcile Them? · How Do You Build a Marketing Measurement Warehouse With GA4 and BigQuery?

Sources and research notes

Limitations: CDM did not access a reader's Shopify store, Klaviyo account, subscription data, payment processor or cost ledger and did not execute the SQL. Identity quality, event fields, currency handling and contribution inputs must be validated locally.

CDM Editorial

This article is editorial guidance. Apply the principles in proportion to your market, evidence, and responsibilities.