Google Analytics has recently introduced a new tracking version called GA4, which provides more advanced tracking features compared to Universal Analytics. In July 2023 Google Analytics will stop processing data through Universal Analytics, so if your account/property is still using this you’ll need to update some things. These changes are generic to Google Analytics for any site wanting to update; no special changes are needed to track eCommerce data.

Set up a Google Analytics 4 property

  • Log in to your Google Analytics account and go to the Admin section.
  • Under the Property column, click on “Create Property”.
  • Choose “Web” as the platform and select “Google Analytics 4” as the property type.
  • Follow the prompts to set up your new GA4 property.

Configure the EDD Enhanced eCommerce Tracking plugin

  • In the WordPress dashboard, go to Downloads > Settings > Extensions > EDD Enhanced eCommerce Tracking.
  • In the “Tracking code” field, enter the measurement ID taken from the Google Analytics data stream to change to the new property.
  • In the “Tracking method” field, select “gtag.js” to use Google’s global site tag for tracking (‘Measurement Protocol’ may work out of the box, but is not tested/confirmed as of yet).

 

That’s it! EDD Enhanced eCommerce Tracking is now be sending data to your new GA4 property, including eCommerce data. You can view your GA4 reports to see your website’s traffic and sales data. If you need more detailed information on how to set up GA4, you can refer to the Google Analytics documentation.