What is recorded
Every order is read back from Shopify’s Admin API with your app’s credentials before it counts as verified revenue. The product is the first line item’s title. Chargebacks are not read from Shopify; refunds you make in Shopify are.
Connect Shopify
You need to own the store, or be allowed to create apps for it.1
Open the Shopify panel
In CrispStats, open the site’s Settings, then Integrations. Select Connect a payment provider and choose Shopify.
2
Enter the store address
Under Store address, enter the store’s
your-store.myshopify.com address. You find it in Shopify’s Settings, then Domains. A custom domain is refused: use the myshopify.com one. Pasting the store’s admin address works too.3
Create the app in the Dev Dashboard
Under Client ID, select Create an app in the Shopify Dev Dashboard. Then:
- Choose Create app and name it CrispStats.
- In a new version, add the scopes
read_ordersandread_all_orders. - In the same version, under Protected customer data, select Orders, then release the version.
- Choose Install app and pick this store.
- Open Settings and copy the Client ID and Client secret here.
4
Paste the Client ID and secret
Paste them into Client ID and Client secret. CrispStats asks Shopify for a token for this store at once and reads the store’s name.
5
Connect
Select Connect Shopify. CrispStats creates webhooks for paid orders, refunds and uninstalling, and the row shows Connected to your store. Live.
6
Save the visitor id on the cart
See pass the visitor id at checkout below.
If Shopify refuses
Shopify gives this kind of app access only to stores in the same Shopify organization as the app. Owning a store does not always place it in the organization you are signed in to, which is why creating the app from the store’s own admin is the safest route.
Shopify stopped letting merchants create apps inside the store admin on 1 January 2026. Apps are now made in the Dev Dashboard, and an app made there for your own organization’s store needs no review from Shopify for
read_all_orders or for order data.What the app can do
The app has no write scopes, so it cannot change products, orders or refunds. CrispStats never moves money. It keeps the client secret encrypted and asks Shopify for a fresh token when it needs one; the token lasts a day and is never stored.
How fresh the numbers are
Shopify sends each paid order and refund within seconds, and CrispStats checks for updated orders every 15 minutes as a safety net. An order seen both ways is stored once. Shopify removes webhooks after repeated failed deliveries; the row then asks you to disconnect and connect again.Past payments
When you connect, CrispStats imports the store’s orders and refunds: all of them withread_all_orders, the last 60 days without it. See revenue history.
Test mode
Shopify marks orders placed with the Bogus Gateway or a payment provider’s test mode as test orders. They show with a Test tag and never count as verified revenue. The app itself has no test or live mode.Pass the visitor id at checkout
The CrispStats script does not run on Shopify’s checkout pages, so the visitor id travels on the cart. In Online Store, Themes, Edit code, openlayout/theme.liquid and paste this below the CrispStats tag, above </head>:
layout/theme.liquid
crispstats_visitor_id is read too, so a snippet you added earlier keeps working.
To check it: with an item in the cart, open /cart.js on your store. attributes should hold __crispstats_vid with 32 hexadecimal characters. If it is missing, check that the CrispStats script loads on the page; an ad blocker can stop it. See install on Shopify.
An order without the attribute is still recorded and counted, without a visit.
Disconnect
Select Disconnect on the Shopify row. CrispStats removes its webhooks from the store and destroys the saved client secret. Payments already recorded stay. If Shopify does not let CrispStats remove them, uninstall the app from the store in Settings, then Apps, which removes them too. You can then delete the app in the Dev Dashboard.Next steps
Install on Shopify
The script tag in
theme.liquid.Shopify App Store
Sell an app on Shopify? Connect its earnings instead.
Revenue history
What the import reads and how it avoids counting twice.