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. Learn more about Installing your tag with a website builder or CMS.
 
The instructions for setting up the Google tag are different for tag IDs starting with "AW-" (usually, Google Ads accounts) and tag IDs starting with "G-" (usually, Google Analytics properties). Follow the instructions below that correspond with your tag.

If you have a tag starting with "AW-"

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
  • 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. Learn more about Google Ads conversion types.

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 tracking tags.

  1. Sign in to your WordPress admin console.
  2. From the page menu on the left, click Plugins.
  3. On the “Plugins” page, click Add New.
  4. On the “Plugins” page under “Search Results”, enter “Google for WooCommerce” and click Install Now to go to setup automatically 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 starting with "G-"

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 Google tag ID
  • An active WooCommerce account

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 tracking tags.

  1. Sign in to your WordPress admin console.
  2. From the page menu on the left, 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, open the “Plugins” dropdown and click Installed Plugins.
  6. Under “WooCommerce Google Analytics Integration”, click Activate.
  7. After the plugin is activated, the “Plugins” page will reload. Click Settings under the “WooCommerce Google Analytics Integration” Plugin.
  8. Click Integration, then click Google Analytics. 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