Landing Page URL Builder

Ecommerce event troubleshooting

GA4 Add to Cart Not Showing

If campaign visits and product views appear in GA4 but add_to_cart is missing, the issue is usually button tracking, platform integration, theme behavior, or duplicate tag setup.

Product page add to cart action flowing into GA4 event checks

First check

Confirm GA4 sees the landing page visit before debugging the add-to-cart event itself.

Common cause

The store theme, app, variant selector, drawer cart, or custom button does not send the expected event.

Best test

Click the same product button a real shopper uses and watch GA4 Realtime or DebugView.

Debug in this order

  1. Open the product page through a campaign URL.
  2. Confirm page_view and, where supported, view_item.
  3. Click the real add-to-cart button, not a preview-only or editor-only button.
  4. Check whether add_to_cart appears in GA4 Realtime or DebugView.
  5. If it does not appear, test a different product template or variant option.
  6. Check whether a drawer cart, quick-add widget, or app replaces the native event path.

What to inspect

Area Why it matters Check
Product template Different templates may have different tracking code. Test the exact product page used in ads.
Variant selector Some carts require a valid variant before firing. Select size, color, or bundle options before clicking.
Cart drawer Drawer carts can replace standard add-to-cart behavior. Check app or theme events for the drawer interaction.
Duplicate tags Multiple GA4 paths can hide or duplicate the event. Compare native integration, GTM, app, and theme code.

Minimum event payload to sanity check

event: add_to_cart item name or item id: present value and currency: present where supported quantity: present where supported

What not to do

  • Do not fire add_to_cart on page load just to make reports look active.
  • Do not put product, customer, or order private data in URL parameters.
  • Do not debug only on a staging page if ads send users to a different product template.
  • Do not assume purchase tracking works because add_to_cart appears once.

Verify the visit before chasing the event

When the landing visit is clean, add-to-cart debugging becomes much less confusing.

Build a clean test URL