Connecting Shopify does two separate jobs: syncing your customers into a contacts list, and watching for checkout/order events so a send's own revenue shows up next to its opens and clicks. Here's exactly how to set both up and where to read the results.
If you've read "Track orders, checkouts & revenue" on the integrations page and weren't sure what that actually looks like day to day, this is the walkthrough. It runs from the Settings screen to the number that shows up in the email's Insights.
Step 1 — Connect your store
In your Shopify admin, create a small app for your store in Shopify's Dev Dashboard, install it on the store, and paste its Client ID and Client secret into Settings → Integrations in MailInApp. It takes about five minutes, and the Shopify guide shows each step with screenshots. Once the store connects, two things start immediately:
- MailInApp creates a dedicated contacts list for the store and begins syncing existing customers into it in the background.
- MailInApp registers webhooks with Shopify so new customers, started checkouts, and paid orders arrive live from then on — no periodic re-import needed.
Connecting is free on every plan, including Free, and your MailInApp plan is billed by MailInApp as usual.
Step 2 — Build an email that links back to your store
Nothing about the email itself needs to be special. Design a project the normal way: a Countdown block for a live, always-accurate deadline works well for a promotion. An Image or Button pointed at a real product or collection URL on your store is what actually sends someone there — link to your store exactly the way you would from anywhere else, by pasting the real product page URL. There's no separate "tracking link" to generate and no tag to add by hand.
Step 3 — Send it: the link gets tagged automatically on click
This is the part that's easy to miss, because there's nothing to configure. Every Button, Image, or other link-bearing block that points off MailInApp already gets routed through a click-tracking redirect when a recipient clicks it — that's how Insights › Engagement counts the clicks on any outbound link. A Product grid cart sends shoppers to your store the same way, with the same tags. For a link to an external site like your Shopify store, that same redirect does one more thing: it appends
utm_source=mailinapp
utm_medium=email
utm_campaign=<this project's ID>
utm_content=<the block that was clicked>
to the destination URL before sending the recipient on their way — but only if the link doesn't already carry its own utm_campaign. If you've deliberately tagged a link yourself for your own analytics, that tag is left exactly as you set it, and MailInApp won't attribute through it.
Step 4 — Shopify carries those tags through to the order
Shopify stores the URL a shopper landed on (including its full query string) on the order it eventually creates, whether they buy immediately or come back later. So the utm_campaign that named your MailInApp project is still sitting on the order by the time it's paid — nothing extra to configure on the Shopify side either.
Step 5 — MailInApp reads it back off the paid order
Once the order is actually paid — not just placed, since a placed-but-unpaid order is a checkout, covered below — Shopify calls MailInApp's webhook. MailInApp verifies the request genuinely came from Shopify, looks up the utm_campaign on the order, matches it back to your project, and records a purchase event for it. From here it flows through the same reporting pipeline a purchase made through one of MailInApp's own in-email checkouts would.
Step 6 — Read the results
Two places to look:
- The email's Insights › Commerce shows a Store revenue card, with the revenue and the number of orders, once the first order comes back to it.
- Every synced customer's own record updates with their order regardless of attribution, so even a purchase with no click behind it (someone who bought directly on your store) still updates that customer's history. It just won't show up tied to one specific campaign, since there was no click to attribute it through.
That customer-level history also feeds a Purchased and a Total revenue condition, available when you're building the audience for your next send, schedule, or journey. "People who bought something after last month's email" becomes a filter you can actually build, not a spreadsheet you have to assemble by hand.
Stalled checkouts start a reminder
A checkout that's started but not paid is a stall, and it starts a journey on its own. Point a journey's Store cart abandoned trigger at your store, set a delay, and a reminder goes out to anyone whose checkout stalls that long. Shoppers who pay in the meantime are skipped. Recover abandoned carts and checkouts walks through the whole flow.
Orders that start a journey
An order that comes back to an email also fires that email's Purchase journey trigger, just like a purchase made in the email itself. A thank-you, a care guide a week later or a satisfaction check-in can follow every order your emails bring in.
Turning that order history into a win-back offer
Synced orders aren't only for attribution. The same line-item data powers a Purchase history audience condition (bought a specific product, in a specific date range) and a per-project Discount offer that mints a real, single-use code on your own store for every match. See win back past buyers with purchase-history segments & discount codes for that walkthrough.
Getting started
Connect your store from Settings → Integrations, build one email with a real link to a product or collection page, and send it to a small segment first. Check the email's Insights › Commerce after a day or two: an order placed through that link shows up in the Store revenue card. See Shopify, Responses & webhooks, and Behavioral segments for the full reference.
