abantecart / abantecart-src

AbanteCart is a free PHP based eCommerce solution for merchants to provide ability creating online business and sell products online quick and efficient. AbanteCart application is built and supported by experienced enthusiasts that are passionate about their work and contribution to rapidly evolving eCommerce industry. AbanteCart is more than just a shopping cart, it is rapidly growing eCommerce platform
www.abantecart.com
Open Software License 3.0
142 stars 161 forks source link

GA4 listing add to cart critical issues #1593

Closed BasaraABC closed 1 year ago

BasaraABC commented 1 year ago

Issue A: wrong quantity

case: the product was added before and it is in cart. Issue: when 1 more product is added to the cart the quantity sent to GA is the total quantity in the cart

Issue B: the price and value must be numbers, text sent instead

Please read GA4 docs https://developers.google.com/analytics/devguides/collection/ga4/reference/events?client_type=gtag#view_item_list

Issue C: the value must be the product value (GA docs : The monetary value of the event) but Cart Subtotal sent

price