Skip to content
weballin

weballin DIGIWIKI

Add to Cart

add_to_cart records the addition of a product to a shopping cart in GA4.

weballin

Send the added items and quantities. Include currency with value; this is cart-addition value, not confirmed purchase revenue.

Do not count an unsuccessful button click as an addition. For quantity changes, design add_to_cart and remove_from_cart around actual increases or decreases rather than repeatedly counting the whole cart.

References

Frequently asked questions

Should quantity changes always be ignored?

No. Define measurement around actual changes and consistently record what was added or removed.