A/B testing on Shopify: how to do it without breaking the store
A/B testing on Shopify has a catch: Liquid themes, apps that fight each other and the temptation to touch the checkout. You can do it right with a light snippet that runs on any theme and needs no App Store app.
Shopify renders the store with Liquid themes and injects scripts from many apps. A poorly installed A/B test flickers the page (a flash of the old content before the variation) and can clash with review, upsell and shipping apps. Donnu avoids that with an anti-flicker snippet under 6KB that assigns the visitor and applies the variation before the screen appears, with no manual theme editing.
How to install Donnu on Shopify
- Via the theme (theme.liquid). Paste the Donnu snippet line in the <head> of theme.liquid (Online Store, Themes, Edit code). It applies store-wide and survives page changes.
- Via Google Tag Manager. If you already use GTM on the store, add Donnu as a Custom HTML tag firing on all pages. Zero theme editing.
- Confirm the install. Donnu has a checker that tells you right away whether the snippet was detected, and explains what to fix if it was not. No guessing.
What to test on Shopify
Product page
Test the buy button text, the image order, the guarantee badge next to the price and the free shipping line. These are the changes that move e-commerce conversion the most.
Collection and home
Test the main banner, the headline promise and how many products show above the fold. Donnu lets you edit all of that on the page itself, without touching the theme.
Social proof
Test showing reviews and sales counts closer to the button. Easy to build as version B and measure by the click on buy.
Frequently asked questions
- Do I need to install a Shopify App Store app?
- No. Donnu is a snippet you paste in the theme or fire via GTM. That keeps the store lighter and avoids one more app competing for resources in the customer browser.
- Can I test the Shopify checkout?
- Shopify checkout is restricted (only Plus allows more customization). Donnu shines on everything before checkout: product page, collection, home and cart, which is where most conversion is won or lost.
- Does the test slow the store down?
- The snippet is under 6KB, loads asynchronously and has anti-flicker. If Donnu is down, the store simply shows the original version, never a broken page.