Connect Shopify to Nevian
Send every Shopify order to Nevian with the Nevian script in your theme and a custom pixel on your checkout, so each sale shows up next to the ad that brought the buyer. No app to install.
What you need
- Your Shopify admin login, with access to the theme code and to Settings › Customer events (the store owner has both).
- A Nevian workspace with an active plan (Beginner, Pro or Enterprise), where you are the owner, an admin or a member. Viewers can't connect integrations.
- The two tabs side by side: Nevian on Integrations and your Shopify admin.
Steps
-
In Nevian, open Integrations, click Add integration (Connect provider when nothing is connected yet) and pick Shopify. In the Connect Shopify window, have the platform open in another tab, then click Next to get your tracking code.
-
Nevian creates two pieces of code for your store. Copy the first one, Nevian script for theme.liquid, and leave this window open.
-
In your Shopify admin, go to Online Store. On your current theme, click the … button and choose Edit code.
-
Open
theme.liquidin thelayoutfolder (or press ⌘+P or Ctrl+P and type its name). Paste the script on its own line right before</head>and click Save.
-
Back in Nevian, copy the second piece, Custom pixel code.
-
In Shopify, go to Settings › Customer events and add a custom pixel. Name it
Nevianand click Add pixel.
-
In Customer privacy, set Permission and Data sale to match your store's cookie consent. Paste the code in the Code window, click Save, then Connect pixel and confirm.
-
Back in Nevian, go on to the last step of the window. It reads Connected. Waiting for the first order. Click Done: your first order shows up by itself.
Check that it works
- The Shopify card in Integrations shows it as connected right away, waiting for the first order. Both pieces of code stay on the integration's Connection tab.
- Your first real order shows up in Logs › Webhooks, exactly as the pixel sent it, and in the reports.
- The custom pixel can't tell an order made in Shopify's test mode (see Shopify's guide to its test mode) from a real one, so Nevian records it as an order: open it in Logs › Conversions and click Mark as test (owners and admins), and it stays out of revenue.
- Optional: if you also added Shopify's order webhook, its Send test button (Settings › Notifications › Webhooks, in the … menu of that webhook) shows as “Test received” in Nevian and never counts in revenue.
- For real sales, the script in your theme saves the click ID (in a cookie and on the cart), and the pixel sends it with the order, so the sale lands on the right ad.
Problems
No order shows up after a real order
The pixel didn't send the order. In Settings › Customer events, open Custom pixels: if Nevian is under Disconnected pixels, click Connect. If Permission is set to Required, the pixel only runs after the buyer accepts cookies in your banner, so an order from a buyer who didn't accept them doesn't reach the pixel.
Some orders never arrive
The pixel runs on Shopify's own checkout. Cash on delivery apps (such as Releasit), checkouts outside Shopify and some upsell apps skip that step, so their orders don't reach the pixel. If such an app can send a postback, connect it as Custom / CRM / COD.
"no matching click" on a real sale
The optional test never has a click, so this is normal there. On a real order, check that the script is in theme.liquid of the theme that is live (not a copy) and that your ads use the Nevian tracking link.
Shopify explains custom pixels in its own custom pixels guide.
Still stuck? Chat with us on WhatsApp or write to contact@nevian.io.
Images are drawings of Shopify's and Nevian's screens, not screenshots; the real screen may look a little different.