Google Analytics Tracking: Event Names in Managed WordPress Ecommerce and Managed WooCommerce Stores
Google Analytics can track a variety of different events triggered by the customer on your site. Here's a list of which events are tracked by default and under which circumstances they're triggered. You can also assign custom names to these events in your Managed WordPress Ecommerce or Managed WooCommerce Stores Google Analytics settings.
Events tracked
- Signed In – Triggered whenever a customer signs into your site. This event will be tracked whether the sign-in happens at wp-login.php, the My Account Page, a sign-in widget or any other login method. If you enable user ID tracking, once a user signs in, they're identified and will be tracked as that identity until they log out.
- Signed Out – Triggered whenever a customer signs out. All identities are cleared once the user logs out. If more than one person uses the same computer, but they all use different accounts, this will aid in tracking them appropriately.
- Viewed Signup – Triggered whenever a visitor views the sign-up (My Account / registration) page. This event hooks into the WordPress registration form and tracks anywhere it's used.
- Signed Up – Triggered whenever a visitor registers an account. This also hooks into the system WordPress uses for registration. It will track regisrations anywhere the WordPress registration form is used.
- Viewed Homepage – Triggered whenever a visitor views your shop's homepage.
- Viewed Product – Triggered whenever a visitor views a single product. This products an event label with the Product Name.
- Clicked Product – Triggered whenever a visitor clicks on a product in a listing. This includes in the shop or search results. Again, the Product Name is used as the event label in this situation.
- Added to Cart – Triggered whenever a visitor adds an item to their cart. This gets triggered on a single-product page or a link on category pages that refresh the page with an AJAX request, so events in both those situations are tracked. Additionally, this event hooks into the 'woocommerce_add_to_cart' action. This means that your custom add-to-cart links should be tracked as well. It adds labels for Product Name, Quantity, Category, and Attributes (if the product in question is a variation of a variable product).
- Removed from Cart – Triggered whenever a visitor removes an item from their cart. This adds a label of the Product Name.
- Changed Cart Quantity – Triggered whenever a visitor adds to (or lowers) the number of units of a particular product in their cart. Note that this event may show up frequently if your customers tend to have a large number of unique products in their carts. If you're seeing that in your analytics, you can disable this event without issue. Labels added here will be for Product Name and Quantity.
- Viewed Cart – Triggered whenever a visitor views the cart. This doesn't require there to be anything in the cart and will also track when the cart is empty.
- Applied Coupon – Triggered whenever a visitor applies a coupon. This can be on the cart page or at checkout. It addes the label of Coupon Code.
- Removed Coupon – Triggered whenever a visitor removes a coupon. Again, this can be on the cart page or at checkout. This also adds a Coupon Code label.
- Started Checkout – Triggered whenever a visitor starts the checkout process.
- Provided Billing Email – Triggered whenever a visitor provides a billing email on the checkout page.
- Selected Payment Method – Triggered whenever a visitor chooses a payment method at checkout.
- Started Payment – Triggered whenever a customer starts the payment process. Note that this will only be tracked if you're using a payment gateway that has a separate "Pay" page, so you may not always see these events depending on the payment methods available on your site.
- Completed Purchase – Triggered whenever a customer's purchase has been submitted or paid for. This tracks for gateways that complete payment immediately, such as credit cards, as well as those that will expect payment to be made later, such as a "Check Payment". Labels for this include Order ID, Order Total, Shipping Total, Total Quantity, and Payment Method.
- Wrote Review – Triggered whenever a visitor writes a review of a product. Note that this event will be tracked before any spam countermeasures are applied. If you get a lot of spam, you may want to consider disabling this event. The Product Name label is applied to this event.
- Commented – Triggered whenever a visitor writes a comment on a blog post. As with the review event, this is tracked before spam may be identified. If you receive a lot of spam, safely disable this event. This applies the label Post Title.
- Viewed Account – Triggered whenever a customer views the "My Account" page.
- Viewed Order – Triggered whenever a customer views an order.
- Updated Address – Triggered whenever a customer updates their address (billing or shipping).
- Changed Password – Triggered whenever a customer changes their password.
- Estimated Shipping – Triggered whenever a visitor estimates shipping on the cart page. This adds the Country label.
- Tracked Order – Triggered whenever a customer submits the "Order Tracking" form.
- Cancelled Order – Triggered whenever a customer cancels any pending orders of theirs.
- Order Refunded – Triggered whenever an order has been fully refunded.
- Reordered – Triggered whenever a customer reorders a previous order