Add-to-carts on your pages are counted on every platform
AddedUntil now, only the Shopify pixel could count the products shoppers add to the cart on your own pages. On any other platform, the storefront side of the Sales report's Carts page read Not measured, and a holdout test could not start.
Report add-to-carts from any store. Call iadvize('addToCart', { item_id, item_variant, quantity, price, currency }) once for each cart line a shopper adds. The keys are those of a Google Analytics 4 ecommerce item, so a store that already sends GA4 add-to-cart events has the values at hand. price is the unit price: the agent multiplies it by the quantity. A call made before the tag loads waits for it, and nothing is sent for a shopper who objected to measurement. With these adds recorded, your site can run a holdout test.
On Shopify, paste the pixel code again. Version 4 of the pixel sends each add-to-cart in the same GA4 format. Earlier code keeps working for now, but its format is meant to be retired. Copy the code from Site settings > Installation and replace the pixel's code in Shopify.
The holdout test dialog and the Site access settings now talk about add-to-carts on your pages rather than the Shopify pixel, since the pixel is no longer the only way to send them.