{"id":8735994,"date":"2024-06-05T20:14:48","date_gmt":"2024-06-05T18:14:48","guid":{"rendered":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/docs.woocommerce.com\/?post_type=documentation&#038;p=895239"},"modified":"2025-11-20T12:22:54","modified_gmt":"2025-11-20T10:22:54","slug":"google-analytics-integration","status":"publish","type":"documentation","link":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/","title":{"rendered":"Google Analytics for WooCommerce"},"content":{"rendered":"\n<div class=\"wp-block-wccom-alert is-style-warning\" aria-label=\"Alert section of type warning\"><p class=\"wp-block-wccom-alert__title\">Google introduced\u00a0<a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/www.google.com\/about\/company\/user-consent-policy-help\/\" target=\"_blank\" rel=\"noreferrer noopener\">Consent Mode<\/a>\u00a0in March 2024 to comply with privacy laws in the EEA\/UK region. This means website visitors from these regions must now explicitly grant consent for cookies before any analytics tracking occurs.<br><br>Without consent, Google Analytics (GA4) and Google Ads won&#8217;t capture user data in these locations. The extension does not provide any UI, like a cookie banner, to let your visitors grant consent for tracking. However, it&#8217;s integrated with\u00a0<a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/wordpress.org\/plugins\/wp-consent-api\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Consent API<\/a>, so you can pick another extension that provides a user interface that meets your needs.<br><br>Due to this new requirement, you may notice a discrepancy between your store and Google Analytics\/Ads data, as users must grant consent for analytics data to be captured on Google\u2019s platforms.<\/p><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Google Analytics for WooCommerce connects your store to your Google Analytics account for basic ecommerce and site analytics, providing valuable metrics on your store\u2019s performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For advanced Google Analytics features, we recommend <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/products\/woocommerce-google-analytics-pro\/\">Google Analytics Pro for WooCommerce<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-wccom-alert\" aria-label=\"Alert section\"><p class=\"wp-block-wccom-alert__text\">Not sure if you need this free extension or the Pro version? <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/woocommerce-google-analytics-pro-vs-free\/\">Check out our comparison<\/a>.<\/p><\/div>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\">\n<h2 class=\"wp-block-heading\" id=\"installation\">Installation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To start using a product from WooCommerce.com, you can use the \u201cAdd to store\u201d functionality on the order confirmation page or the <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/my-account\/my-subscriptions\/\">My subscriptions<\/a> section in your account.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-7387b849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<ol class=\"wp-block-list\">\n<li>Navigate to <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/my-account\/my-subscriptions\/\">My subscriptions<\/a>.<\/li>\n\n\n\n<li>Find the <strong>Add to store<\/strong> button next to the product you\u2019re planning to install.<\/li>\n\n\n\n<li>Follow the instructions on the screen, and the product will be automatically added to your store.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-woo-gray-5-color has-alpha-channel-opacity has-woo-gray-5-background-color has-background is-style-wide\" style=\"margin-top:var(--wp--preset--spacing--24);margin-bottom:var(--wp--preset--spacing--24)\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Alternative options and more information at: <br><a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/managing-woocommerce-com-subscriptions\/\">Managing WooCommerce.com subscriptions<\/a>.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2020\/02\/image_c72ea3.png\"><img loading=\"lazy\" decoding=\"async\" height=\"590\" width=\"1200\" src=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2020\/02\/image_c72ea3.png?w=980\" alt=\"\" class=\"wp-image-18734005479991\" srcset=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2020\/02\/image_c72ea3.png 1527w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2020\/02\/image_c72ea3.png?resize=896,441 896w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2020\/02\/image_c72ea3.png?resize=768,378 768w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2020\/02\/image_c72ea3.png?resize=1200,590 1200w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2020\/02\/image_c72ea3.png?resize=300,148 300w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2020\/02\/image_c72ea3.png?resize=958,471 958w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><figcaption class=\"wp-element-caption\">Adding a WooCommerce.com subscription to your store<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"setup-and-configuration\">Setup and configuration<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"google-analytics-setup\">Set up Google Analytics 4 (G-)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can configure GA4 in your store&#8217;s WP Admin dashboard by navigating to <em>WooCommerce > Settings > Integration > Google Analytics<\/em> (tab), and adding your Google Analytics 4 (GA4) Measurement ID beginging with &#8220;G-&#8220;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png\"><img loading=\"lazy\" decoding=\"async\" height=\"388\" width=\"1200\" src=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png?w=980\" alt=\"\" class=\"wp-image-18734003365068\" srcset=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png 2336w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png?resize=896,290 896w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png?resize=768,249 768w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png?resize=1200,388 1200w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png?resize=1536,497 1536w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png?resize=2048,663 2048w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png?resize=300,97 300w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png?resize=958,310 958w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to find your GA4 measurement ID<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Sign in to Google Analytics and click <strong>Admin<\/strong>, at the bottom of the left-hand navigation.<\/li>\n\n\n\n<li>In the <strong><em>Data collection and modification<\/em><\/strong> column, click <strong>Data Streams<\/strong>.<\/li>\n\n\n\n<li>On the Data Streams page, select the data stream that corresponds to your website.<\/li>\n\n\n\n<li>Locate and copy your Measurement ID beginning with <strong>G-<\/strong> at the top right of the page. Please note it can take up to 48 hours for the connection to start working. <\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-jetpack-slideshow aligncenter\" data-effect=\"slide\"><div class=\"wp-block-jetpack-slideshow_container swiper\"><ul class=\"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper\"><li class=\"wp-block-jetpack-slideshow_slide swiper-slide\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"2550\" height=\"1764\" alt=\"\" class=\"wp-block-jetpack-slideshow_image wp-image-18734004214273\" data-id=\"18734004214273\" src=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/ads.png?w=980\" srcset=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/ads.png 2550w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/ads.png?resize=896,620 896w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/ads.png?resize=768,531 768w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/ads.png?resize=1200,830 1200w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/ads.png?resize=1536,1063 1536w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/ads.png?resize=2048,1417 2048w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/ads.png?resize=300,208 300w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/ads.png?resize=958,663 958w\" sizes=\"(max-width: 2550px) 100vw, 2550px\" \/><\/figure><\/li><li class=\"wp-block-jetpack-slideshow_slide swiper-slide\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"3356\" height=\"1776\" alt=\"\" class=\"wp-block-jetpack-slideshow_image wp-image-18734004214272\" data-id=\"18734004214272\" src=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/site.png?w=980\" srcset=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/site.png 3356w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/site.png?resize=896,474 896w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/site.png?resize=768,406 768w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/site.png?resize=1200,635 1200w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/site.png?resize=1536,813 1536w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/site.png?resize=2048,1084 2048w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/site.png?resize=300,159 300w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/site.png?resize=958,507 958w\" sizes=\"(max-width: 3356px) 100vw, 3356px\" \/><\/figure><\/li><li class=\"wp-block-jetpack-slideshow_slide swiper-slide\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"2562\" height=\"1570\" alt=\"\" class=\"wp-block-jetpack-slideshow_image wp-image-18734004214274\" data-id=\"18734004214274\" src=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/tag.png?w=980\" srcset=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/tag.png 2562w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/tag.png?resize=896,549 896w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/tag.png?resize=768,471 768w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/tag.png?resize=1200,735 1200w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/tag.png?resize=1536,941 1536w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/tag.png?resize=2048,1255 2048w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/tag.png?resize=300,184 300w, https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/09\/tag.png?resize=958,587 958w\" sizes=\"(max-width: 2562px) 100vw, 2562px\" \/><\/figure><\/li><\/ul><a class=\"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white\" role=\"button\"><\/a><a class=\"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white\" role=\"button\"><\/a><a aria-label=\"Pause Slideshow\" class=\"wp-block-jetpack-slideshow_button-pause\" role=\"button\"><\/a><div class=\"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white\"><\/div><\/div><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"tracking-options\">Tracking options<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>&#8220;Display Advertising&#8221; Support:&nbsp;<\/strong>Check this box if you intend to run ads on the Google Display Network and would like these tracked in your analytics account.<\/li>\n\n\n\n<li><strong>Track 404 (Not found) Errors:\u00a0<\/strong>This allows you to find broken or dead links. To see how many times this occurs, go to your <em>Google Analytics account > Behavior > Events > Overview > Error<\/em>.<\/li>\n\n\n\n<li><strong>Purchase Transactions:\u00a0<\/strong>Track purchases on your site. This requires a payment gateway that redirects to the thank you\/order received page after payment.<br><br>Some popular options that do this are:\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/products\/woocommerce-payments\/\">WooPayments<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/products\/stripe\/\">Stripe<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/products\/woocommerce-gateway-paypal-powered-by-braintree\/\">PayPal Braintree for WooCommerce<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/products\/woocommerce-gateway-paypal-express-checkout\/\">PayPal Payments<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/products\/square\/\">Square<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Add to Cart Events:&nbsp;<\/strong>Track when customers add a product to their cart. This allows you to see more specific details about your customers&#8217; experience and better understand where they might be dropping off.<\/li>\n\n\n\n<li><strong>Remove from Cart Events:<\/strong> Understand what products customers remove from their cart before placing an order.<\/li>\n\n\n\n<li><strong>Product Impressions from Listing Pages:<\/strong> Track what lists of products customers see on your website (<em>For example, the primary Shop page and Related Product sections<\/em>).<\/li>\n\n\n\n<li><strong>Product Clicks from Listing Pages<\/strong>: Track what individual products your customers are clicking on.<\/li>\n\n\n\n<li><strong>Product Detail Views:<\/strong> Track the products your customers view the full details of.<\/li>\n\n\n\n<li><strong>Checkout Process Initiated:<\/strong> Track the moment your customers begin the checkout process.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"setting-up-google-analytics-goals-and-funnels\">Setting up Google Analytics goals and funnels<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Learn more about setting up <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/support.google.com\/analytics\/answer\/9267568\" target=\"_blank\" rel=\"noreferrer noopener\">conversion events<\/a> and <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/support.google.com\/analytics\/answer\/9327974\" target=\"_blank\" rel=\"noreferrer noopener\">funnels<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"testing-analytics\">Testing analytics tracking<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To test your analytics tracking and ensure it&#8217;s sending the correct data to Google, we recommend using the <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/tagassistant.google.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Google Tag Assistant<\/a> website. While not required, the <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/chromewebstore.google.com\/detail\/jmekfmbnaedfebfnmakmokmlfpblbfdm\" target=\"_blank\" rel=\"noreferrer noopener\">Tag Assistant Companion<\/a> Chrome extension can be used alongside it to enable additional troubleshooting features. This tool will analyze the tracking code on your page and notify you of any warnings or errors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>To verify analytics tracking with tag assistant:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Visit <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/tagassistant.google.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/siteproxy.ruqli.workers.dev:443\/https\/tagassistant.google.com<\/a> or click the <strong>Tag Assistant Companion<\/strong> extension.<\/li>\n\n\n\n<li>Enter your website URL and click <strong>Connect<\/strong>.<\/li>\n\n\n\n<li>On your website, grant consent on the cookies banner.<\/li>\n\n\n\n<li>Return to the Tag Assistant tab and click <strong>Continue<\/strong>.<\/li>\n\n\n\n<li>Click on the tag\u00a0ID\u00a0(<code>GA-xxx<\/code>\u00a0for Google Analytics for WooCommerce) and click the <strong>Hits Sent<\/strong> tab.<\/li>\n\n\n\n<li>On the site tab, simulate user actions like adding products to the cart, initiating checkout, etc. If analytics tracking is working as expected, you should see these events being captured in the Tag Assistant&#8217;s <em><strong>Hits Sent<\/strong><\/em> tab.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Keep the following points in mind:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Pageviews are not tracked for logged-in admin users (make sure you are logged out).<\/li>\n\n\n\n<li>Multiple tracking code instances on the same page can cause issues.<\/li>\n\n\n\n<li>Tracking can take a while to show up in your Google dashboard (it&#8217;s recommended to wait 24 hours or try <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/support.google.com\/analytics\/answer\/9271392?hl=en\" target=\"_blank\" rel=\"noreferrer noopener\">real-time tracking reports<\/a>).<\/li>\n\n\n\n<li>Any JavaScript errors on the page could prevent tracking from occurring. You can use your browser&#8217;s developer tools to check if any errors are showing up in the console.<\/li>\n\n\n\n<li>Confirm that there are no browser extensions or ad blockers that might block the tracking. Disable these tools if necessary to ensure accurate tracking.<\/li>\n\n\n\n<li>If you experience any warnings or errors, or if multiple tracking instances are found on your page, the best way to identify the source is to perform a conflict test. <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/how-to-test-for-conflicts\/\">See our detailed guide on conflict testing.<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-cookie-banners-consent-mode-and-analytics-tracking\">Cookie banners, consent mode, and analytics tracking<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/www.google.com\/about\/company\/user-consent-policy-help\/\" target=\"_blank\" rel=\"noreferrer noopener\">Consent mode<\/a>\u00a0facilitates the communication of visitors\u2019 cookie consent preferences to Google tags. To comply with privacy laws, users in the EEA, UK, and Switzerland must grant cookie consent before analytics tracking is activated.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To implement cookie consent, we recommend using one of\u00a0<a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/cmppartnerprogram.withgoogle.com\/?sjid=13664584751862154134-NA#partners\" target=\"_blank\" rel=\"noreferrer noopener\">Google\u2019s recommended CMPs<\/a>\u00a0that offers a WordPress plugin compatible with the\u00a0<a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/wordpress.org\/plugins\/wp-consent-api\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Consent API<\/a>. Each of those plugins may require additional setup or registration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For analytics data to be sent to Google Analytics, your consent mode integration <strong>must update consent states after visitors grant consent<\/strong>. You can\u00a0<a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/developers.google.com\/tag-platform\/security\/guides\/consent-debugging\" target=\"_blank\" rel=\"noreferrer noopener\">follow Google\u2019s guide<\/a>\u00a0to test if the consent state is correctly updated.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you find the consent state is not updated by your cookie plugin, please contact that plugin\u2019s developers for assistance in\u00a0<a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/github.com\/woocommerce\/woocommerce-google-analytics-integration?tab=readme-ov-file#consent-mode\" target=\"_blank\" rel=\"noreferrer noopener\">ensuring compatibility with Google Analytics for WooCommerce<\/a>\u00a0or with\u00a0<a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/wordpress.org\/plugins\/wp-consent-api\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Consent API<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"hooks-and-filters\">Hooks and filters<\/h2>\n\n\n\n<div class=\"wp-block-wccom-alert is-style-warning\" aria-label=\"Alert section of type warning\"><p class=\"wp-block-wccom-alert__title\"><strong>Scope of support:<\/strong><\/p><p class=\"wp-block-wccom-alert__text\">We are unable to provide support for customizations under our<strong>\u00a0<a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/support-policy\/\">Support Policy<\/a><\/strong>. If you need to customize a snippet or extend its functionality, we recommend working with a <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/development-services\/\">Woo Agency Partner<\/a> or a WooCommerce developer on <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/www.codeable.io\/partners\/woocommerce\/?ref=qGefA6#tiers\" target=\"_blank\" rel=\"noreferrer noopener\">Codeable<\/a>.<br><\/p><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">This is an advanced feature; please proceed with caution. In case of issues please check the <strong>Testing Analytics\u00a0<\/strong>section.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"disabling-pageview\">Customize the product identifier sent to Google<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">By default, this extension will use the WooCommerce Product ID to identify products to Google. In some instances it might be necessary to modify the default behaviour. This can be done using the filter <code>woocommerce_ga_product_identifier<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"disabling-pageview\">Modify the default consent state for EEA regions<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The filter <code>woocommerce_ga_gtag_consent_modes<\/code> gives you the ability to modify the default consent values sent to Google during initialization. For more information see the <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/github.com\/woocommerce\/woocommerce-google-analytics-integration\/?tab=readme-ov-file#consent-mode\" target=\"_blank\" rel=\"noreferrer noopener\">consent documentation on GitHub<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"disabling-pageview\">Use a custom name for the tracking function<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">As is fairly standard when using Google Analytics, there is a global function named <code>gtag<\/code> which is used to push data. If you need to change the default name, that can be done using the filter <code>woocommerce_gtag_tracker_variable<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"disabling-pageview\">Alter the default tag configuration<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">While all configuration changes should be managed via the administration interface, if you need to overwrite the settings used to set up the tracker, use the filter <code>woocommerce_ga_gtag_config<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"include-more-than-one-tracking-id\">Include more than one tracking ID<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The following hook can be used for adding extra calls to the <code>gtag<\/code> function on your page:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wp_add_inline_script(\n\t'woocommerce-google-analytics-integration',\n\t'gtag( \"config\", \"...\" );'\n);<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-frequently-asked-questions\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-how-can-i-set-up-cross-domain-measurement\">How can I set up cross-domain measurement?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you\u2019re tracking multiple domains or tracking subdomains, we recommend reviewing Google&#8217;s documentation on <a href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/support.google.com\/analytics\/answer\/10071811\">setting up cross-domain measurement<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-this-extension-overwrites-the-consent-mode-defaults-set-by-another-extension\">This extension overwrites the consent mode defaults set by another extension<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If the additional CMP extension you chose to provide UI for cookie consent sets its own default state of consent modes that are different to the ones we set, and you would like to make sure we&#8217;ll not overwrite that, use the\u00a0<code>woocommerce_ga_gtag_consent_modes<\/code>\u00a0filter to change or disable our setup.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-how-can-i-stop-firing-the-nbsp-page-view-nbsp-event-when-the-page-loads\">How can I stop firing the&nbsp;<code>page_view<\/code>&nbsp;event when the page loads?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This is a matter of the default tag config. You can change the&nbsp;<code>send_page_view<\/code>&nbsp;property using the&nbsp;<code>woocommerce_ga_gtag_config<\/code>&nbsp;filter.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Analytics for WooCommerce connects your store to your Google Analytics account for basic ecommerce and site analytics, providing valuable metrics on your store\u2019s performance. For advanced Google Analytics features, we recommend Google Analytics Pro for WooCommerce. Setup and configuration Set up Google Analytics 4 (G-) You can configure GA4 in your store&#8217;s WP Admin [&hellip;]<\/p>\n","protected":false},"author":1682311,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","documentation_level":[29370],"documentation_category":[29038],"documentation_tag":[],"class_list":["post-8735994","documentation","type-documentation","status-publish","hentry","documentation_category-extensions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/siteproxy.ruqli.workers.dev:443\/https\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Google Analytics for WooCommerce Documentation - WooCommerce<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google Analytics for WooCommerce\" \/>\n<meta property=\"og:description\" content=\"Google Analytics for WooCommerce connects your store to your Google Analytics account for basic ecommerce and site analytics, providing valuable metrics on your store\u2019s performance. For advanced Google Analytics features, we recommend Google Analytics Pro for WooCommerce. Setup and configuration Set up Google Analytics 4 (G-) You can configure GA4 in your store&#8217;s WP Admin [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/\" \/>\n<meta property=\"og:site_name\" content=\"WooCommerce\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/www.facebook.com\/woocommerce\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-20T10:22:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png?w=980\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@woocommerce\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/\"},\"author\":{\"name\":\"Aviva TEST\",\"@id\":\"https:\\\/\\\/woocommerce.com\\\/#\\\/schema\\\/person\\\/1ba6251bcfd94f21137e6a3ece1d6bd5\"},\"headline\":\"Google Analytics for WooCommerce\",\"datePublished\":\"2024-06-05T18:14:48+00:00\",\"dateModified\":\"2025-11-20T10:22:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/\"},\"wordCount\":1298,\"publisher\":{\"@id\":\"https:\\\/\\\/woocommerce.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/woocommerce.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/google-analytics-tracking-id-setting.png?w=980\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/\",\"url\":\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/\",\"name\":\"Google Analytics for WooCommerce Documentation - WooCommerce\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/woocommerce.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/woocommerce.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/google-analytics-tracking-id-setting.png?w=980\",\"datePublished\":\"2024-06-05T18:14:48+00:00\",\"dateModified\":\"2025-11-20T10:22:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/#primaryimage\",\"url\":\"https:\\\/\\\/woocommerce.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/google-analytics-tracking-id-setting.png\",\"contentUrl\":\"https:\\\/\\\/woocommerce.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/google-analytics-tracking-id-setting.png\",\"width\":2336,\"height\":756},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Products\",\"item\":\"https:\\\/\\\/woocommerce.com\\\/documentation\\\/products\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Extensions\",\"item\":\"https:\\\/\\\/woocommerce.com\\\/documentation\\\/products\\\/extensions\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Google Analytics for WooCommerce\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/woocommerce.com\\\/#website\",\"url\":\"https:\\\/\\\/woocommerce.com\\\/\",\"name\":\"WooCommerce\",\"description\":\"The most customizable ecommerce platform for building your online business. Get started today for free.\",\"publisher\":{\"@id\":\"https:\\\/\\\/woocommerce.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/woocommerce.com\\\/search\\\/?q={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/woocommerce.com\\\/#organization\",\"name\":\"WooCommerce\",\"url\":\"https:\\\/\\\/woocommerce.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/woocommerce.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/woocommerce.com\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Woo_logo_color.svg\",\"contentUrl\":\"https:\\\/\\\/woocommerce.com\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Woo_logo_color.svg\",\"width\":183,\"height\":47,\"caption\":\"WooCommerce\"},\"image\":{\"@id\":\"https:\\\/\\\/woocommerce.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/woocommerce\",\"https:\\\/\\\/x.com\\\/woocommerce\",\"https:\\\/\\\/www.instagram.com\\\/woocommerce\"],\"hasMerchantReturnPolicy\":{\"@type\":\"MerchantReturnPolicy\",\"merchantReturnLink\":\"https:\\\/\\\/woocommerce.com\\\/refund-policy\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/woocommerce.com\\\/#\\\/schema\\\/person\\\/1ba6251bcfd94f21137e6a3ece1d6bd5\",\"name\":\"Aviva TEST\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5ec8a1f6ab84be55449519d5ddccd7691969c89f157df99e7c5648fa5ef7bc94?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5ec8a1f6ab84be55449519d5ddccd7691969c89f157df99e7c5648fa5ef7bc94?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5ec8a1f6ab84be55449519d5ddccd7691969c89f157df99e7c5648fa5ef7bc94?s=96&d=mm&r=g\",\"caption\":\"Aviva TEST\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Google Analytics for WooCommerce Documentation - WooCommerce","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/","og_locale":"en_US","og_type":"article","og_title":"Google Analytics for WooCommerce","og_description":"Google Analytics for WooCommerce connects your store to your Google Analytics account for basic ecommerce and site analytics, providing valuable metrics on your store\u2019s performance. For advanced Google Analytics features, we recommend Google Analytics Pro for WooCommerce. Setup and configuration Set up Google Analytics 4 (G-) You can configure GA4 in your store&#8217;s WP Admin [&hellip;]","og_url":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/","og_site_name":"WooCommerce","article_publisher":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/www.facebook.com\/woocommerce","article_modified_time":"2025-11-20T10:22:54+00:00","og_image":[{"url":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png?w=980","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@woocommerce","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/#article","isPartOf":{"@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/"},"author":{"name":"Aviva TEST","@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/#\/schema\/person\/1ba6251bcfd94f21137e6a3ece1d6bd5"},"headline":"Google Analytics for WooCommerce","datePublished":"2024-06-05T18:14:48+00:00","dateModified":"2025-11-20T10:22:54+00:00","mainEntityOfPage":{"@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/"},"wordCount":1298,"publisher":{"@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/#organization"},"image":{"@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/#primaryimage"},"thumbnailUrl":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png?w=980","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/","url":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/","name":"Google Analytics for WooCommerce Documentation - WooCommerce","isPartOf":{"@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/#primaryimage"},"image":{"@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/#primaryimage"},"thumbnailUrl":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png?w=980","datePublished":"2024-06-05T18:14:48+00:00","dateModified":"2025-11-20T10:22:54+00:00","breadcrumb":{"@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/#primaryimage","url":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png","contentUrl":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2024\/03\/google-analytics-tracking-id-setting.png","width":2336,"height":756},{"@type":"BreadcrumbList","@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Products","item":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/documentation\/products\/"},{"@type":"ListItem","position":2,"name":"Extensions","item":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/documentation\/products\/extensions\/"},{"@type":"ListItem","position":3,"name":"Google Analytics for WooCommerce"}]},{"@type":"WebSite","@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/#website","url":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/","name":"WooCommerce","description":"The most customizable ecommerce platform for building your online business. Get started today for free.","publisher":{"@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/search\/?q={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/#organization","name":"WooCommerce","url":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/#\/schema\/logo\/image\/","url":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2025\/07\/Woo_logo_color.svg","contentUrl":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2025\/07\/Woo_logo_color.svg","width":183,"height":47,"caption":"WooCommerce"},"image":{"@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/siteproxy.ruqli.workers.dev:443\/https\/www.facebook.com\/woocommerce","https:\/\/siteproxy.ruqli.workers.dev:443\/https\/x.com\/woocommerce","https:\/\/siteproxy.ruqli.workers.dev:443\/https\/www.instagram.com\/woocommerce"],"hasMerchantReturnPolicy":{"@type":"MerchantReturnPolicy","merchantReturnLink":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/refund-policy\/"}},{"@type":"Person","@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/#\/schema\/person\/1ba6251bcfd94f21137e6a3ece1d6bd5","name":"Aviva TEST","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/secure.gravatar.com\/avatar\/5ec8a1f6ab84be55449519d5ddccd7691969c89f157df99e7c5648fa5ef7bc94?s=96&d=mm&r=g","url":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/secure.gravatar.com\/avatar\/5ec8a1f6ab84be55449519d5ddccd7691969c89f157df99e7c5648fa5ef7bc94?s=96&d=mm&r=g","contentUrl":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/secure.gravatar.com\/avatar\/5ec8a1f6ab84be55449519d5ddccd7691969c89f157df99e7c5648fa5ef7bc94?s=96&d=mm&r=g","caption":"Aviva TEST"}}]}},"parsely":{"version":"1.1.0","canonical_url":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/","smart_links":{"inbound":0,"outbound":0},"traffic_boost_suggestions_count":0,"meta":{"@context":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/schema.org","@type":"WebPage","headline":"Google Analytics for WooCommerce","url":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/","mainEntityOfPage":{"@type":"WebPage","@id":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/document\/google-analytics-integration\/"},"thumbnailUrl":"","image":{"@type":"ImageObject","url":""},"articleSection":"Blog","author":[{"@type":"Person","name":"Aviva TEST"}],"creator":["Aviva TEST"],"publisher":{"@type":"Organization","name":"WooCommerce","logo":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-content\/uploads\/2021\/05\/WooCommerce_logo.svg.png"},"keywords":[],"dateCreated":"2024-06-05T18:14:48Z","datePublished":"2024-06-05T18:14:48Z","dateModified":"2025-11-20T10:22:54Z"},"rendered":"<script type=\"application\/ld+json\" class=\"wp-parsely-metadata\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"WebPage\",\"headline\":\"Google Analytics for WooCommerce\",\"url\":\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/\",\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/woocommerce.com\\\/document\\\/google-analytics-integration\\\/\"},\"thumbnailUrl\":\"\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"\"},\"articleSection\":\"Blog\",\"author\":[{\"@type\":\"Person\",\"name\":\"Aviva TEST\"}],\"creator\":[\"Aviva TEST\"],\"publisher\":{\"@type\":\"Organization\",\"name\":\"WooCommerce\",\"logo\":\"https:\\\/\\\/woocommerce.com\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/WooCommerce_logo.svg.png\"},\"keywords\":[],\"dateCreated\":\"2024-06-05T18:14:48Z\",\"datePublished\":\"2024-06-05T18:14:48Z\",\"dateModified\":\"2025-11-20T10:22:54Z\"}<\/script>","tracker_url":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/cdn.parsely.com\/keys\/woocommerce.com\/p.js"},"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-json\/wp\/v2\/documentation\/8735994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-json\/wp\/v2\/users\/1682311"}],"replies":[{"embeddable":true,"href":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-json\/wp\/v2\/comments?post=8735994"}],"version-history":[{"count":32,"href":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-json\/wp\/v2\/documentation\/8735994\/revisions"}],"predecessor-version":[{"id":18734005994967,"href":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-json\/wp\/v2\/documentation\/8735994\/revisions\/18734005994967"}],"wp:attachment":[{"href":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-json\/wp\/v2\/media?parent=8735994"}],"wp:term":[{"taxonomy":"documentation_level","embeddable":true,"href":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-json\/wp\/v2\/documentation_level?post=8735994"},{"taxonomy":"documentation_category","embeddable":true,"href":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-json\/wp\/v2\/documentation_category?post=8735994"},{"taxonomy":"documentation_tag","embeddable":true,"href":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/woocommerce.com\/wp-json\/wp\/v2\/documentation_tag?post=8735994"}],"curies":[{"name":"wp","href":"https:\/\/siteproxy.ruqli.workers.dev:443\/https\/api.w.org\/{rel}","templated":true}]}}