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.
Adds the Meta Pixel base code to track page views for Facebook and Instagram ads.
Counts views of posts and pages, shows the totals in a sortable "Views" column in the admin, and adds a [wpide_views] shortcode to display the count.
Adds the TikTok pixel to every public page and records page views, with an option to wait for cookie consent.