Skip to content

Back to Help center

Is your add-to-cart right? See how Varly counts it on your site

See what Varly counts as add to cart on your site, compare it with Google Analytics 4, and pick another way to count.

In this article
  1. How Varly can count add to cart
  2. What you see
  3. Next to Google Analytics 4
  4. Pick what counts
  5. What changes when you pick another way
  6. On Overview
  7. Common problems

Add to cart is the goal most shops test on, because it happens far more often than an order. Shops don't all measure it the same way, so this check tells you what a test with that goal measures on your site.

How Varly can count add to cart

Your site uses one of these. The check names it at the top.

  • Your Shopify theme’s add-to-cart form. Varly counts each time a visitor sends your theme's standard cart form. No setup. A quick-add button or an app that adds products another way doesn't count, unless your developer sends add_to_cart with Varly.track.
  • The Varly plugin for WooCommerce. The plugin (1.1 or later) counts each time WooCommerce adds a product: on product, shop and category pages and in product blocks.
  • The event add_to_cart your site sends. On any other shop, your developer sends add_to_cart with Varly.track when a product goes into the cart. See Send your own events with Varly.track.
  • Your own event. Your site already sends an event under another name, for example cart_add? You can pick it.
  • Clicks on your add-to-cart buttons. Varly recognizes these buttons by their text, in any language, without code. See Detected actions.

If you don't choose, Varly uses the add_to_cart event when it comes in, and otherwise the clicks on your add-to-cart buttons.

What you see

  • How Varly counts it here: the way your site uses, and whether Varly or you chose it.
  • Varly counts: the number in the period, and in how many visits. With the buttons, the number is clicks.
  • GA4 counts (with Google Analytics 4 connected): GA4's add_to_cart events on your site's domain, over the same days.
  • Per day: one bar per day, for Varly and for GA4. Click Show the number for each day for the exact numbers.
  • The buttons that count or The pages it comes from: which button texts or pages produced the number.

With GA4, the period is 28 whole days ending 3 days ago, in the time zone of your GA4 property: GA4 reports a few days late. Without GA4, it is the last 30 whole days in your site's time zone.

Next to Google Analytics 4

Varly gives one of these verdicts:

  • About the same: within 25% of each other.
  • A normal difference: up to 50% apart.
  • Varly counts clearly more, or clearly fewer: more than 50% apart. The check then shows The likely cause for the way your site counts.
  • Too little to compare: fewer than 30 add-to-carts on both sides, or fewer than 7 whole days.

The two never match exactly. By default, Varly counts only visitors who accept cookies. GA4 can also count or estimate the others, so GA4 is often a little higher.

  • Varly counts clearly more, usually because many button clicks add nothing, your shop doesn't send add_to_cart to GA4 (or uses another name), or the form or event fires twice.
  • Varly counts clearly fewer, usually because many visitors decline cookies, products are added outside the theme's form (quick-add, cart drawer, upsell app), the Varly plugin is old, or a button has only an icon or a text Varly doesn't recognize.

Pick what counts

  1. Open Install and scroll to Is your add-to-cart right?
  2. Under This is my add to cart, look at the number next to each choice. With GA4 connected, the choice nearest to GA4 says This is the closest to GA4.
  3. Pick one and click Use this as my add to cart. Let Varly choose goes back to the automatic choice.

If you count the buttons, fix the list right there: Stop counting this button removes a text, and Count this button text adds one Varly missed. Both also apply to earlier clicks.

What changes when you pick another way

  • New test goals, new funnel steps and the goal Varly suggests at launch use your choice. Added to cart in the goal picker means what you picked.
  • A running test keeps the goal it started with, so its numbers never shift halfway. The same goes for a paused test you resume.
  • Saved funnels keep their steps. Edit a funnel if its step should follow your new choice.
  • Earlier days. Varly stored the events and the button clicks all along, so a new funnel also counts earlier days the new way.
  • The filter Detected action → Add to cart on reports always means clicks on the buttons, whatever you pick here.

On Overview

When Varly counts clearly more or clearly fewer than GA4, Is your data right? on Overview shows Add to cart next to GA4, with a link to the check. If you picked the way to count yourself, it shows for your information, not as a fix. The line follows the last comparison, which Varly makes when someone opens Install.

Common problems

  • "Not measured yet." No add_to_cart event came in, and no visitor clicked a button Varly recognizes. Add your button's text under Site settings → Detected actions, or ask your developer to send add_to_cart.
  • GA4 shows 0. Your shop doesn't send add_to_cart to GA4, or GA4 is connected to another property. Judge from Varly's numbers per day.
  • The check is missing. Kind of site under Site settings → General is Bookings or subscriptions or Leads or sign-ups, or Varly sees no shop. Choose Online shop there if visitors put products in a cart.
  • "Google Analytics didn’t answer just now." Varly shows its own numbers. Click Compare with GA4 again a few minutes later.
Was this article helpful?

Still stuck? Email support@varly.ai and we'll help you out.

Related articles

Updated November 20, 2026