Google Analytics is a free web analytics tool. The free WooCommerce Google Analytics Integration connects your store to your Google Analytics account to provide basic eCommerce and site analytics, using enhanced eCommerce tracking to provide valuable metrics on your store’s performance.
For advanced Google Analytics features, we recommend the WooCommerce Google Analytics Pro version.
Installation ↑ Back to top
- Download the extension from your WooCommerce.com > My Account > Downloads
- Go to Plugins > Add New > Upload and select the ZIP file you just downloaded
- Click Install Now, and then Activate
- Click the Connect WooCommerce to Google Analytics link and read the next section to learn how to setup and configure the plugin.
Setup and Configuration ↑ Back to top
Enable Ecommerce for a view within Google Analytics for transaction data to be recorded.
- Sign in to Google Analytics.
- Click Admin, and navigate to the view you want.
- In the VIEW column, Ecommerce Settings.
- Set Enable Ecommerce to ON.
- Optional: Set Enable Related Products to ON.
- Click Next Step.
- Click Submit.
Configure the plugin by going to WooCommerce > Settings > Integrations. You will see ‘Google Analytics’ listed as an option. Click this to see the settings.
- Google Analytics ID: Add the Tracking ID from your Google Analytics account.
- Set Domain Name: Add the domain for your site, such as yourcompany.com. If you’re tracking multiple domains or tracking subdomains, we recommend reviewing the documentation provided by Google Analytics.
- Enable Standard Tracking: Check this box to add basic website tracking. This is needed if WooCommerce Google Analytics Integration is the only Google Analytics plugin on your site. If you are using another Google Analytics plugin for your site, leave this box unchecked.
- “Display Advertising” Support: Check this box if you intend to run ads on the Google Display Network and would like these tracked in your analytics account.
- Use Enhanced Link Attribution: This setting improves the accuracy of your In-Page Analytics report by differentiating between several links to one URL on a single page. Check this box if you have multiple links to the same URL and want to understand which are clicked more often.
- Enable Universal Analytics: Universal Analytics is the new standard for Google Analytics. Check this box if you have not used Google Analytics on this site before. If you have used it before, upgrade to Universal Analytics.
- Anonymize IP addresses: This keeps user data more private and is mandatory in some countries. Read more about IP Anonymization. Consult an expert if you’re unsure about whether this is required for your store.
- Track 404 (Not found) Errors: This allows you to find broken or dead links. To see how many times this occurs, go to your Google Analytics account > Behavior > Events > Overview > Error.
- Purchase Transactions: Track purchases on your site, including data like revenue, tax, refunds, shipping and more. This requires a payment gateway that redirects to the thank you/order received page after payment. Some popular options that do this are Stripe, PayPal powered by Braintree, PayPal Express Checkout and Square.
- Add to Cart Events: Track when customers add a product to their cart. This allows you to see more specific details about your customers’ experience and better understand where they might be dropping off.
Setting up Google Analytics goals and funnels ↑ Back to top
Visit Google Support for more information and best practices on goal and funnels for your WooCommerce site.