How to do Google Analytics (UA and GA-4) Tracking in WooCommerce?
You must enable the Enhanced Ecommerce Google Analytics for WooCommerce Plugin and add your Google Analytics tracking ID to enable the tracking of UA (Universal Analytics) or GA-4 (the latest version of GA properties) properties.
Next, follow these steps:
- After enabling a Google Analytics Tracking ID for your store, you can see it next to the Google Analytics Account field. You have the option to Reconnect to Wizard using another Tracking ID or Disconnect the currently-enabled tracking ID.
3. In the analytics dashboard, if you want to see UA tracking data or GA4 tracking data particularly, select one of these options in the Enable Analytics Tracking select dropdown. If you want to track both types of data, Select Both.
Next, eCommerce store owners can configure the details explaining which store data should be tracked and what must be excluded from tracking.