
Why GA4 Revenue Doesn’t Match Shopify (And How to Check)

A sticky add to cart test is quick to build and easy to misread. Most pages that publish results lead with the add-to-cart lift and stop there. That lift is the number the change is built to move, so it says little about whether the store earns more. This post covers how we set up a sticky ATC button A/B test on a Shopify product page. It runs from the hypothesis to the read-out. Every result we quote comes from a named page, and we say what each page does and doesn’t report.

Five public test pages give a useful spread. We quote them as reported and haven’t verified any of them.

Add to cart rose in all four tests that report it. Revenue per visitor fell in two of the three that report it, and average order value fell in three of the four that report it. Only one page gives a sample size.
Our reading is that an easier button gets more shoppers to add a product and doesn’t always get more of them to buy. The CleanCommit page for the 15-day test makes the same tentative point. We treat it as a pattern to guard against.
A sticky bar only helps shoppers whose main button has scrolled out of view. The hypothesis should name them. Here is the shape we use:
If we keep an add to cart button in view after shoppers scroll past the main one on mobile product pages, more shoppers who have already decided will buy, because they don’t have to scroll back up. We expect purchase conversion rate to rise on long pages.

Two choices need settling before you build anything. The first is device. Run the sticky add to cart on mobile first and report it as its own segment. CleanCommit’s AFTCO page describes a mobile sticky button but lists results across all devices, so the mobile effect can’t be separated from the rest. Blend’s Little Bible Stories test shows the risk of blending them. Mobile conversion rose 8% and desktop fell 5%, and Blend says neither device result reached significance.
The second is what your control already has. In that Blend test the control already carried a sticky bar, so the test compared placements and not presence. Check your theme before you call a test “bar against no bar.”
Product pages are often where mobile traffic drops off. Our guide to mobile experience optimization covers how to find the pages worth testing first.

The bar and its button label are separate variables. Conversion Rate Experts tested a sticky mobile call to action for a manufacturer of high-price products. They included a variation with the same “Add to Cart” label as the control. That let them read the effect of the bar apart from the wording. Every variation beat the control by at least 8% in conversion, and “Start Your Risk-Free Trial” won with a 25% rise in sales. Their report gives no sample size, duration or significance and covers one client. We use it for the design and skip the number.
Copy that design. Run the first test with the bar’s label matching the main button. If the bar wins, test wording in a second round. Run both together and a win can’t tell you which change did the work.
Add to cart is the metric the bar moves directly. In four of four tests above it went up, so it works poorly as a test of whether the idea is good. A primary metric that rarely fails tells you little.

We’d set purchase conversion rate or revenue per visitor as the primary metric and keep add-to-cart rate as a diagnostic. That is our view and not a rule from any of the sources. Our post on CRO program metrics beyond win rate defines a win the same way. The primary metric must beat the minimum detectable effect, and the guardrail metrics must stay within their limits.
Guardrails are the numbers that must stay inside a limit while the primary metric moves. Set the limits before launch.

The bottom of a phone screen is shared space. Cookie banners and chat widgets sit in the same strip. CleanCommit’s guide says bars that cover size charts or chat widgets cost more than they return. That is the author’s view with no measured result behind it. Check it on your own theme by loading the page on a real phone and opening each element.

Then tab through the product form with the bar switched on. WCAG 2.2 success criterion 2.4.11 says a component that receives keyboard focus must not be entirely hidden by author-created content. W3C’s guidance names sticky footers and headers as common culprits and lists a failure for a sticky footer that completely hides a focused element. If a field disappears behind your bar, add scroll padding or move the bar.
Finally, keep the bar short. NN/g writes about sticky headers, and we think the point carries over to a bottom bar. A sticky element permanently takes screen space meant for content. That matters more on mobile “given the small size of the screen.” NN/g also recommends tap targets of at least 1 cm by 1 cm.
Core Web Vitals treat a Cumulative Layout Shift (CLS) of 0.1 or less as good, measured at the 75th percentile of page loads. Web.dev says shifts usually happen when resources load late or DOM elements are added above existing content. It also says a newly added element doesn’t count as a shift when it doesn’t push other visible elements.
A fixed bar that overlays the page shouldn’t move anything. A theme script that injects the bar late or adds bottom padding after load can. Pull CLS for both arms from field data and treat a worse score in the variant as a guardrail breach.

Your results are only as good as the add-to-cart event. A goal defined as a click on the main button’s selector will miss every add from the sticky one.

Shopify’s product_added_to_cart standard event logs an instance where a customer adds a product to their cart and carries the cart line with its variant and price. We read that as tied to the add itself and independent of which button fired it. Confirm it on your store before you trust it.
Run this check in both arms before launch. Add one product from each button, then confirm the event fires once per add with the same variant ID and price. Check how your testing tool defines its goal, too. To confirm the traffic split is clean, see our post on broken A/B test data and sample ratio mismatch.
One CleanCommit test ran 15 days on 7,948 mobile visitors and ended inconclusive, with none of the movements significant. A result like that doesn’t show the bar is neutral. It shows the test couldn’t tell.
Work out the sample size before launch and divide it by your daily product-page visitors on the tested device. Then run for at least one full business cycle. Our post on how long an A/B test should run covers sample size and stopping rules, including when stopping early is justified.
The decision rules below are ours. They follow from the guardrails above.

A sticky bar is a small change, which makes it a good first test for a team building a testing habit. Write the hypothesis, the primary metric and the guardrail limits in one document before anyone opens the theme code.
If you’d like help planning the test, building the variant and checking the events, our team will go through your product pages with you. Talk to our team about A/B test development.
The published results are mixed. In the five tests above, conversion rate moved from -7.7% to +16.27%, and only one page gives a sample size. Test it on your own store.
We start with mobile and report it as its own segment. Blend’s Little Bible Stories test found mobile conversion up 8% and desktop down 5%, though neither device result was significant.
Blend recommended the bottom placement in its Little Bible Stories test for the best overall balance, and the client launched it. The same variant showed mobile revenue per visitor down 18%, so test placement on your own store.
We’d use purchase conversion rate or revenue per visitor and keep add-to-cart rate as a diagnostic. Add to cart rose in every test above that reports it, so it rarely separates a good bar from a bad one.
Long enough to reach the sample size you calculated before launch, and for at least one full business cycle. One CleanCommit test ran 15 days on 7,948 mobile visitors and was inconclusive.

