The instructions for setting up the Google tag are different for different tag IDs, so you’ll need to follow the instructions that correspond with your tag.
If you have a tag starting with "AW-"
Tags that start with “AW-” are generally associated with Google Ads accounts.
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.
- Sign in to your WordPress admin console.
- From the page menu on the left, click Plugins.
- On the “Plugins” page, click Add New.
- 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.
- Click Start Listing Products to begin.
- Click Connect to connect your site to WordPress.
- Enter your WordPress email address or username and click Continue.
- Enter your email address or username and password and click Log In.
- Approve the connection to WordPress.
- Connect to Google by clicking Connect.
- Choose your Google account.
- Grant permission for WooCommerce to access your Google Account.
- Choose your catalog to use and click Connect.
- After the catalog is connected, click Continue.
- Choose an audience and click Continue.
- Enter shipping details and click Continue.
- Finish the final steps and click Complete setup.
If you have a tag starting with "ignored"
Tags that start with “ignored” are generally associated with Google Analytics accounts.
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.
- Sign in to your WordPress admin console.
- From the page menu on the left, click Plugins.
- On the “Plugins” page, click Add New.
- On the “Plugins” page under “Search Results”, enter “WooCommerce Google Analytics” and click Install Now.
- Once the plugin is downloaded and installed, open the “Plugins” dropdown and click Installed Plugins.
- Under “WooCommerce Google Analytics Integration”, click Activate.
- After the plugin is activated, the “Plugins” page will reload. Click Settings under the “WooCommerce Google Analytics Integration” Plugin.
- 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.