---
title: How to setup Google Enhanced Ecommerce
url: "https://www.seopress.org/support/guides/how-to-setup-google-enhanced-ecommerce/"
lang: en-US
updated: 2023-10-10
---

# How to setup Google Enhanced Ecommerce

## Requirements

- SEOPress PRO 7.0+
- WooCommerce 4+ (not tested with versions < 4.x)

## Measure purchases, product views, additions to and removals from shopping carts with SEOPress PRO

Go to your **WP admin**, **SEO**, **Analytics**, **Google Analytics** tab, **Ecommerce** section.

Check the three options:

- **Measure purchases**
- ** Measure product views**
- **Add to cart event**
- **Remove from cart event**

**Save changes** and clear your cache if necessary.

## Test your tracking code

From **Google Analytics website**, go the **Realtime** report, **Events** page.

Make a test command on your site.

Once the purchase is done, you should see the “**purchase event**” appears in GA.

After few minutes/hours, go to **GA website**, **Reports, Ecommerce purchases**. Change the **Date range** to **Today** to see your test transaction.

More info on [this official guide](https://support.google.com/analytics/answer/12924131?visit_id=638083362175831500-4223705461&rd=1#ecommerce-purchases).

## It doesn’t work!

If you see nothing in GA, try this:

- disable any adblockers
- test everything in private browsing
- is user consent from cookie bar required to activate GA tracking on your site?
- are WooCommerce / SEOPress / WordPress up to date?
- if the payment is made outside your site via a gateway, **make sure you have configured the return url to the store**. Without this, we will not be able to know if the transaction has been paid and then, send it to GA.
