What is recorded
The amount is what the merchant paid, before tax, in its own currency. Every earning is read from Shopify’s Partner API with your token, so each one is verified.
Connect Shopify App Store
1
Open the panel
In CrispStats, open the site’s Settings, then Integrations. Select Connect a payment provider and choose Shopify App Store, under App marketplaces.
2
Create the Partner API token
Under Shopify Partner API token, select Create a Partner API token. It opens the Shopify Dev Dashboard. Then:
- Open Organization settings, then Users, then Security, and choose Add Partner API client.
- Name it CrispStats and tick View financials only.
- Choose Add client and copy the access token here. Shopify shows it once.
3
Enter the Partner ID and App ID
Open your app in the Partner Dashboard. Both IDs are in the address:
partners.shopify.com/<Partner ID>/apps/<App ID>. Paste them into Partner ID and App ID.Use the numbers from partners.shopify.com, not the Dev Dashboard’s organization number: the panel refuses a value from a dev.shopify.com address.4
Connect
CrispStats checks the token against the app at once. Select Connect Shopify App Store. The row shows Connected to your app.
What the token can do
View financials is read-only and covers your organization’s app and theme earnings. It is the only permission that reads money actually paid. CrispStats does not ask for Manage apps: it gives app events such as installs and charges activated, which are not payments. CrispStats never moves money.How fresh the numbers are
Shopify sends no webhooks for earnings, so CrispStats reads new transactions every 10 minutes. An earning appears within 10 minutes of Shopify recording it. Shopify records an earning when the merchant is billed, not when they install.Past payments
When you connect, CrispStats imports every transaction of the app. See revenue history.Test mode
Charges on development stores are test charges. As far as Shopify’s documentation shows, they never become earnings, so nothing test is read. This has not been confirmed with a real Partner account; if a test charge ever appears, report it to support.Link earnings to visits
A merchant installs your app from the Shopify App Store, not from a checkout on your site, so no visitor id travels with the charge. CrispStats links an earning to your site’s visitors through the merchant’s shop domain instead: callcrispstats.identify() with the merchant’s myshopify.com domain when they sign in on your site, for example in your app’s onboarding or on your marketing site after OAuth:
https://. Each earning carries the shop’s domain as its user id, so it is credited to that user’s first visit. Earnings from shops your site never identified are recorded and counted, without a visit.
Disconnect
Select Disconnect on the row. CrispStats stops reading earnings and destroys the saved token. Payments already recorded stay. CrispStats created nothing in your Partner organization. You can delete the Partner API client in the Dev Dashboard.Next steps
Identify users
Tie visits to the shop domain with
crispstats.identify().Shopify store
Run a store? Connect its orders instead.
Revenue history
What the import reads and how it avoids counting twice.