Google Analytics 4 WooCommerce events

WP Full Picture automatically tracks and sends to Google Analytics 4 WooCommerce events and data that is listed below.

Purchase event

Tracked on “Thank you for your order” page the first time it is displayed. The same order with the same ID cannot be tracked more than once.

Data tracked with the event:

  1. transaction_id
  2. value
  3. tax
  4. shipping (cost)
  5. currency
  6. coupon (if multiple coupons are used, they are sent as a comma delimited string)
  7. Data on every product in cart:
    • item_id,
    • item_name,
    • item_category,
    • item_brand*,
    • quantity,
    • price

Product view event

Tracks views of product detail page and quick view windows (on condition that they display a standard “add to cart” button and use a standard WooCommerce hook “woocommerce_after_add_to_cart_button”).

Data tracked with the event:

  1. item_id (of a product)
  2. item_name
  3. item_brand*
  4. item_category
  5. price
  6. currency
  7. index (among of other teasers)

List item view event

Tracks views of products in product categories, widget lists (e.g. bestsellers, recently viewed, etc.), upsells and cross-sells.

Data of all the listed products is tracked along with the event:

  1. item_id
  2. item_name
  3. item_category
  4. item_brand*
  5. price
  6. index (among other products)

List item click event

Tracks clicks in products in product categories, widget lists (e.g. bestsellers, recently viewed, etc.), upsells and cross-sells.

Data of all the listed products is tracked along with the event:

  1. item_id
  2. item_name
  3. item_category
  4. item_brand*
  5. price
  6. index (among other products)

Add to cart event

Works on single, variable and grouped products, product teasers (like on product categories) and on quick-view windows (on condition that they display a standard “add to cart” button and use a standard WooCommerce hook “woocommerce_after_add_to_cart_button”).

Attention! Variations can be tracked in 2 ways. Please see the “WooCommerce Tracking” settings page for more details.

Data tracked with the event:

  1. item_id (of a product)
  2. item_name
  3. item_brand *
  4. quantity
  5. item_category
  6. price
  7. currency

Add to wishlist event

To send this event you need to set up wishlist tracking in the WooCommerce Support module.

Data tracked with the event:

  1. item_id (of a product)
  2. item_name
  3. item_brand *
  4. quantity
  5. item_category
  6. item_list_name
  7. value
  8. currency
  9. index (order number of the clicked product if among other products)

Remove from cart event

Works in cart and mini cart

Data tracked with the event:

  1. item_id (of a product)
  2. item_name
  3. item_brand *
  4. item_category
  5. price

Checkout event

Tracks products in cart the first time checkout page was visited by the customers. Abandoning the checkout and then returning to it will not send an additional “checkout start” event.

Data tracked with the event:

  1. value
  2. currency
  3. Data on every product in cart:
    • item_id,
    • item_name,
    • item_category,
    • item_brand*,
    • quantity,
    • price

* In order to track brand, you need to enable brand tracking