How to Integrate Google Analytics 4 with WooCommerce

WooCommerce

Google Analytics is a Google-powered analytics tool that lets you track website behaviours, interactions, and sales. WooCommerce is an open-source ecommerce plugin for WordPress. It is designed for use by small to large-sized online merchants.

You can integrate Google Analytics with WooCommerce to track both online purchases and website activities all in one Google Analytics account. This integration is also feasible with Google Analytics 4, the latest version of Google Analytics.

Here’s how you can integrate Google Analytics 4 with your WooCommerce account.

  1. Activate WooCommerce Google Analytics

    Go to the WooCommerce section of your WordPress website and click on Extensions. Then, click on WooCommerce Google Analytics in the main screen.

    WooCommerce Google Analytics

    Take all the required steps to activate WooCommerce Google Analytics on your website. You can either select “Add to Site” to activate WooCommerce Google Analytics automatically, or you can download WooCommerce Google Analytics as a plugin and upload the plugin manually.

    WooCommerce Google Analytics

  2. Copy Google Analytics 4 Measurement ID

    Go to your Google Analytics 4 account, go to the admin section, click on Data Streams, and Copy your Measurement ID.

    GA4 Measurement ID

  3. Paste Measurement ID in WooCommerce Google Analytics

    Go to your WooCommerce section, click on Settings, Integration, and Google Analytics, and paste your Measurement ID.

    WooCommerce Google Analytics Measurement ID

    Make sure items such as Enable Enhanced eCommerce and Add to Cart Events are ticked so you can track events, such as the number of times your products have been added to cart.

  4. View Google Analytics 4 eCommerce Purchase Report

    GA4 eCommerce Purchase Report

    Once you integrate Google Analytics 4 with WooCommerce, you’ll see eCommerce purchases and data in your Google Analytics 4 Commerce Purchase Report!

Article was original submitted on BCAMA.