GA4 view_item and add_to_cart Events for WooCommerce
Sends GA4 ecommerce events when a shopper views a product page and when they add a product to the cart, from the product page or with AJAX buttons on shop pages.
Snippet Library
Snippets for analytics and tracking: add Google Analytics, Tag Manager or ad pixels, exclude logged-in users and track clicks or form sends. For marketers who want the tracking code in place without editing the theme.
Sends GA4 ecommerce events when a shopper views a product page and when they add a product to the cart, from the product page or with AJAX buttons on shop pages.
Pushes scroll_depth events to the Google Tag Manager dataLayer when visitors scroll 25, 50, 75 and 90 percent of a page, to measure how far content is read.
Sends an event to Google Analytics 4 (or the GTM dataLayer) whenever a visitor clicks a phone number, email address or WhatsApp link, so you can count leads from these contacts.