Nantu runs on a Shopify store the same way it runs anywhere else: from a Google Tag Manager container. The Shopify-specific parts are where that container goes, what it can reach, and how test data gets into GA4 next to the ecommerce data Shopify’s own integration records. This page covers those. When to use Nantu and when to use Shopify’s own Rollouts is in the Shopify A/B testing guide.
Where Google Tag Manager goes on a Shopify store
Shopify’s Google Tag Manager help page points an upgraded checkout to a custom pixel (Shopify Help), and pixels run in a sandbox that can’t display buttons, forms, banners or pop-ups (Shopify Help). A container installed as a custom pixel can’t change the page, so it can’t run Nantu tests.
Nantu’s container is installed in the theme instead, once:
- In your Shopify admin, go to Online Store, then Themes. Make a copy of your published theme, so you can preview the change before it goes live (Shopify Help), and open Edit code on the copy (Shopify Help).
- Google’s install instructions put the first Google Tag Manager snippet as high in the
<head>as possible and the second immediately after the opening<body>tag, on each page of your site (Google Tag Manager Help). In a Shopify theme, that means the file your theme uses for the<head>and<body>of every storefront page. Paste the Nantu Antiflicker snippet first, then the Google Tag Manager head snippet below it, then the body snippet. - Save, preview the copy and confirm the container loads, then publish the copy.
After that one-time install, running a test needs no further theme edits. Each test is a tag in the container.
Then the standard Nantu install
Import the Nantu AB Test Suite into that container, or install the template manually, then create your first test. Nothing in this step is Shopify-specific.
Nantu and Shopify’s own Rollouts
On the Grow plan or higher, Shopify’s Rollouts can run an Experiment, an A/B test of a theme change or a checkout and accounts configuration, natively (Shopify Help). Nantu changes pages in the shopper’s browser, from the container in your theme’s code, without publishing a theme change. Which to use for which test is in the Shopify A/B testing guide.
What can Nantu test on a Shopify store?
On a Shopify store, Nantu can test:
- the homepage
- collection pages
- product pages
- the cart page (layout and copy)
What to test on each of those pages is in the Shopify CRO guide.
Nantu can’t test:
- the information, shipping and payment steps of checkout, on any plan
- the thank-you and order status pages
checkout.liquid is unsupported for the information, shipping and payment steps, the checkout’s additional-scripts box has been view-only since August 28, 2025, and script tags on the thank-you and order status pages were retired on August 28, 2025 for Plus stores and August 26, 2026 for other stores (Shopify, Shopify Help). So theme code doesn’t reach those pages, and a container in the theme can’t change them. On Shopify Plus, changes to the information, shipping and payment pages go through the apps Shopify allows on those pages (Shopify Help, Shopify Help), not through a script in the theme, so they aren’t Nantu tests.
Flicker
The Nantu Antiflicker snippet from step 2 hides the page until the variation is ready, with a fallback that shows the page after a short timeout if the variation hasn’t loaded, so shoppers don’t see the original first. Keep it above the Google Tag Manager snippet in the theme.
Tracking
Shopify recommends its built-in Google Analytics integration, and adding Google Analytics through Google Tag Manager as well can duplicate tracking (Shopify Help). So leave ecommerce tracking to Shopify’s integration, and use the container for test code and Nantu Tracking, which sends one GA4 event that sets each visitor’s variation as a user property. Set the Nantu GA Measurement ID variable to the GA4 property Shopify’s integration reports to, so test enrollment and the store’s ecommerce data are read in one place.
QA before launch
For each test, the QA Container loads tests from a separate container when a query variable is on the URL, and the QA Tab switches between variations on the page, so you can see a variation on the live store before shoppers do. Check every variation on a phone as well as a desktop, including adding a product to the cart.
Collaborator access
ConversionTeam works through Shopify collaborator access, not a shared staff login.