# CrispStats for ecommerce: see which campaigns turn into orders

Updated 2026-11-16

CrispStats ties each order to the campaign, landing page and source of the visit that placed it, and shows where shoppers leave between product page and checkout. It sets no cookies, so it adds nothing to your consent banner.

## Which campaigns bring orders, not just clicks?

Tag ads, emails and partner links with [UTM parameters](/glossary/utm-parameters). Orders paid through Stripe, Polar, Paddle, Dodo Payments, Creem, Whop, Razorpay, Freemius, Lemon Squeezy, Shopify, RevenueCat, Superwall, App Store or Shopify App Store are attributed when you connect the provider with a key and pass the visitor id at checkout (on Shopify, as a cart attribute); for any other checkout, call `crispstats.revenue()` on the confirmation page or send revenue from your server. Each campaign then shows revenue and [revenue per visitor](/glossary/revenue-per-visitor) next to its visits.

## Where do shoppers drop out?

Send events for add to cart, checkout started and order placed. Declarative events need no JavaScript: a `data-cs-event` attribute on the button is enough. Then chain them into a [funnel](/glossary/funnel) to see the step that loses the most people.

## Are slow pages costing sales?

With `data-vitals` on the script tag, [LCP](/glossary/lcp), [INP](/glossary/inp) and [CLS](/glossary/cls) are measured on real visits and broken down by page and device, so you can see whether product pages are slow on phones.

## What did one customer look at before buying?

Visitor profiles show the pages and events of a visit in order, from the first referrer to the order, so you can read the path behind a purchase.

## Will I hear about a big day or an outage straight away?

Alerts fire on traffic spikes and on downtime from the uptime checks, and weekly or monthly email reports summarise the rest.

## What it does not do

- Shopify orders are read from the store you connect with a key. On another platform without a connection, send revenue with `crispstats.revenue()` or from your server.
- Product-level reports such as inventory, margins or product performance are not built in. Revenue is reported by source, campaign, page and event.
- There is no session replay, no heatmaps and no A/B testing.
- There is no import from Google Analytics 4 yet.

## Features to read next

- [Revenue attribution](/features/revenue-attribution): See which source, page and campaign each payment came from.
- [Funnels and goals](/features/funnels): Find the step where people leave, and count what matters.
- [Web vitals](/features/web-vitals): LCP, INP and CLS measured on real visits, by page and device.
- [Visitor journeys](/features/visitor-journeys): Follow a visit page by page, from first referrer to purchase.
- [Alerts and reports](/features/alerts-and-reports): Spikes, downtime and weekly summaries, sent where you read them.

## Your first week

1. **Install the script with vitals.** Add the snippet to every page with `data-vitals`, so speed is measured from the first day.
2. **Send revenue.** Connect your store or payment provider with a key, or call the revenue function on the order confirmation page.
3. **Track the cart steps.** Add events for add to cart and checkout started, then build the checkout funnel.
4. **Tag every campaign link.** Agree on lowercase source and medium names before the next newsletter or ad goes out.
5. **Set alerts.** One alert for downtime and one for unusual traffic, sent to the channel your team reads.

## Frequently asked questions

### Does CrispStats work with Shopify?

Yes. The script goes in your theme's theme.liquid, and you connect the store with the client ID and secret of a small app you create for it in Shopify's Dev Dashboard. Paid orders and refunds are then read from Shopify and tied to the visit through a cart attribute.

### Do I need a cookie banner for this analytics?

The default setup sets no cookies and stores nothing on the device, so it adds nothing to a cookie banner. Other tools on your store may still need one. This is not legal advice.

### How are refunds handled?

Refunds reported by the payment provider are recorded as negative payments, so revenue by source reflects them.

### What does it cost for a store with 1M events a month?

Growth is $12 a month for 1M events with every feature. Paid plans start with a 14-day free trial.
