WooCommerce: Set up your Google tag

You can measure behavioral data about your site with Google Ads and Google Analytics. Follow the steps in this article to set up a tag for your Google Ads or Google Analytics account with WooCommerce.

Before you begin

You can integrate your WooCommerce account with Google Ads or Google Analytics for free. To set up the integration, you’ll need a valid Google sign-in, a Google-provided Javascript code box, and an active WooCommerce account.

This integration is native to WooCommerce and will allow you to track “Sales” or “Page view” conversions. Additional features (like enhanced ecommerce functionality) can be accessed after setup. 

The instructions for setting up the Google tag with WooCommerce are different for tag IDs starting with "AW-" (usually, Google Ads accounts) and tag IDs starting with "G-" (usually, Google Analytics properties).

If you have a tag ID starting with “AW-”

WooCommerce uses its own Google Ads plugin that is installed separately from the base installation. Follow the steps below to install the plugin and set up your Google tag.

  1. Sign into your WooCommerce account.
  2. On the menu on the left side of the page, click Plugins.
  3. On the “Plugins” page, click Add New.
  4. On the “Plugins” page under “Search Results”, enter “Google Listings & Ads” and click Install Now.
    Note: After you click “Install Now”, you’ll be taken to setup automatically.
  5. Click Start Listing Products to begin.
  6. Click Connect to connect your site to WordPress.
  7. Enter your WordPress email address or username and click Continue.
  8. Enter your email address or username and password and click Log In.
  9. Approve the connection to WordPress.
  10. Connect to Google by clicking Connect.
  11. Choose your Google account.
  12. Grant permission for WooCommerce to access your Google Account.
  13. Choose your catalog to use and click Connect.
  14. After the catalog is connected, click Continue.
  15. Choose an audience and click Continue.
  16. Enter shipping details and click Continue.
  17. Finish the final steps and click Complete setup.

If you have a tag ID starting with “G-”

WooCommerce uses its own Google Analytics plugin that is installed separately from the base installation. Follow the steps below to install the plugin and set up your Google tag.

  1. Sign into your WooCommerce account.
  2. On the menu on the left side of the page, click Plugins.
  3. On the “Plugins” page, click Add New.
  4. On the “Plugins” page under “Search Results”, enter “WooCommerce Google Analytics” and click Install Now.
  5. Once the plugin is downloaded and installed, click Installed Plugins under the “Plugins” dropdown.
  6. Under “WooCommerce Google Analytics Integration”, click Activate.
  7. Once the plugin is activated, the “Plugins” page will reload. Click Settings under the “WooCommerce Google Analytics Integration” Plugin.
  8. Enter your Google tag ID into the box provided and confirm that “Use Global Site Tag” is checked. Click Save Changes.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
6796858180682817640
true
Search Help Center
true
true
true
true
true
69256