<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WPWife &#187; ecommerce user tracking</title>
	<atom:link href="http://www.wpwife.com/category/ecommerce-user-tracking/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpwife.com</link>
	<description>WPHelp: fix and optimise WP themes&#38;plugins</description>
	<lastBuildDate>Fri, 21 Nov 2025 12:00:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.38</generator>
	<item>
		<title>How to Enable Customer Tracking in WooCommerce with Google Analytics</title>
		<link>http://www.wpwife.com/woocommerce/how-to-enable-customer-tracking-in-woocommerce-with-google-analytics</link>
		<comments>http://www.wpwife.com/woocommerce/how-to-enable-customer-tracking-in-woocommerce-with-google-analytics#comments</comments>
		<pubDate>Tue, 10 Apr 2018 12:07:12 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[ecommerce user tracking]]></category>
		<category><![CDATA[GA4]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[google analytics 4]]></category>
		<category><![CDATA[google analytics user tracking]]></category>
		<category><![CDATA[monsterinsights]]></category>
		<category><![CDATA[woocommerce]]></category>
		<category><![CDATA[woocommerce user tracking]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=51745</guid>
		<description><![CDATA[
<p>Do you want to enable customer tracking in WooCommerce? Customer tracking allows you to offer a personalized shopping experience based on customer behavior in your eCommerce store. In this article, we will show you how to easily enable customer tracking in WooCommerce with Google Analytics.&#8230;&#160;<strong><a href="https://www.wpbeginner.com/plugins/how-to-enable-customer-tracking-in-woocommerce-with-google-analytics/">Read More &#187;</a></strong></p>
<p>The post <a href="https://www.wpbeginner.com/plugins/how-to-enable-customer-tracking-in-woocommerce-with-google-analytics/">How to Enable Customer Tracking in WooCommerce with Google Analytics</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Do you want to enable customer tracking in WooCommerce? </p>



<p>Customer tracking allows you to offer a personalized shopping experience based on customer behavior in your eCommerce store. </p>



<p>In this article, we will show you how to easily enable customer tracking in WooCommerce with Google Analytics.</p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/enable-customer-tracking-in-woocommerce-with-google-analytics.png" alt="How to Enable Customer tracking in WooCommerce with Google Analytics" class="wp-image-157482" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/enable-customer-tracking-in-woocommerce-with-google-analytics.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/enable-customer-tracking-in-woocommerce-with-google-analytics-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4>Why Enable Customer Tracking in WooCommerce with Google Analytics?</h4>



<p>Google Analytics allows you to see where your visitors are coming from and what they do on your website. In other words, it helps you track your traffic sources as well as <a title="How to Track User Engagement in WordPress with Google Analytics" href="https://www.wpbeginner.com/wp-tutorials/how-to-track-user-engagement-in-wordpress-with-google-analytics/">user engagement</a> on your website.</p>



<p>For <a title="5 Best WordPress Ecommerce Plugins Compared – 2018" href="https://www.wpbeginner.com/plugins/best-wordpress-ecommerce-plugins-compared/">eCommerce platforms</a>, Google Analytics offers an enhanced eCommerce tracking feature. This allows you to better understand users&#8217; shopping and checkout behavior. Plus, you can see which products perform the best and track your WooCommerce store&#8217;s sales performance. </p>



<p>By default, a <a href="https://www.wpbeginner.com/wp-tutorials/woocommerce-tutorial-ultimate-guide/" title="WooCommerce Made Simple: A Step-by-Step Tutorial [+ Resources]">WooCommerce store</a> allows your customers to create an account or checkout as guest users. Creating an account helps the user save their shipping and billing information for faster checkout next time. It also helps you offer customers a personalized shopping experience based on their browsing and shopping history.</p>



<p>Wouldn&#8217;t it be great if you could track logged-in users with their user IDs in Google Analytics and also see the path customers took before making a purchase? </p>



<p>This will give you access to a treasure trove of information and insights on customer behavior. You can use it to offer a better on-site experience and boost your sales.</p>



<p>Let&#8217;s take a look at how to easily enable customer tracking in WooCommerce. Here are quick links that you can use to jump ahead to any section:</p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="https://www.wpbeginner.com/plugins/how-to-enable-customer-tracking-in-woocommerce-with-google-analytics/#aioseo-set-up-ecommerce-tracking-in-wordpress-with-google-analytics">Set up Ecommerce Tracking in WordPress with Google Analytics</a></li><li><a href="https://www.wpbeginner.com/plugins/how-to-enable-customer-tracking-in-woocommerce-with-google-analytics/#aioseo-enabling-customer-journey-addon-in-monsterinsights">Enabling User Journey Addon in MonsterInsights</a></li><li><a href="https://www.wpbeginner.com/plugins/how-to-enable-customer-tracking-in-woocommerce-with-google-analytics/#aioseo-enabling-customer-tracking-in-google-analytics">Enabling User ID Tracking in Google Analytics</a></li><li><a href="https://www.wpbeginner.com/plugins/how-to-enable-customer-tracking-in-woocommerce-with-google-analytics/#aioseo-step-4-viewing-customer-tracking-reports-in-google-analytics">Viewing Customer Tracking Reports in Google Analytics</a></li><li><a href="https://www.wpbeginner.com/plugins/how-to-enable-customer-tracking-in-woocommerce-with-google-analytics/#aioseo-step-5-matching-customer-tracking-with-their-wordpress-accounts">Matching Customer Tracking with Their WordPress Accounts</a></li></ul></div>



<h4 id="aioseo-set-up-ecommerce-tracking-in-wordpress-with-google-analytics">Set up Ecommerce Tracking in WordPress with Google Analytics</h4>



<p>The best way to set up WooCommerce customer tracking in Google Analytics is using <a href="https://www.monsterinsights.com/"  title="MonsterInsights - WordPress Analytics Plugin" rel="noopener">Monsterinsights</a>. It is the best Analytics solution for WordPress and helps you set up tracking without editing code. </p>



<p>The plugin offers an eCommerce addon, which automatically detects WooCommerces and starts tracking customer behavior in Google Analytics. It also comes with a Customer Journey addon that allows you to see users&#8217; behavior before they make a purchase. </p>



<p>First, you will need to install and activate the MonsterInsights plugin. For more details, see our step-by-step guide on <a title="Step by Step Guide to Install a WordPress Plugin for Beginners" href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/">how to install a WordPress plugin</a>.</p>



<p>You will need to be on the &#8216;Pro&#8217; plan to access the eCommerce and User Journey addon, which we will use for this tutorial. However, there is also a <a href="https://wordpress.org/plugins/google-analytics-for-wordpress"  title="Free version of MonsterInsights Google Analytics Plugin" rel="noopener">MonsterInsights Lite</a> version you can use for free. </p>



<p>Upon activation, you will see the welcome screen and the setup wizard. Simply click the &#8216;Launch the Wizard&#8217; button and follow the on-screen instructions.</p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2009/08/launch-setup-wizard.png" alt="Launch setup wizard" class="wp-image-108509" srcset="https://www.wpbeginner.com/wp-content/uploads/2009/08/launch-setup-wizard.png 680w, https://www.wpbeginner.com/wp-content/uploads/2009/08/launch-setup-wizard-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>For detailed instructions, see our article on <a href="https://www.wpbeginner.com/beginners-guide/how-to-install-google-analytics-in-wordpress/">how to install Google Analytics in WordPress</a>.</p>



<p>MonsterInsights also helps you set up <a href="https://www.wpbeginner.com/beginners-guide/ultimate-guide-to-ga4-in-wordpress-for-beginners/" title="The Ultimate Guide to GA4 in WordPress for Beginners">Google Analytics 4 (GA4)</a> property through its Dual Tracking feature. GA4 is the latest Analytics version, and it will soon replace Universal Analytics. </p>



<figure class="wp-block-image size-full"><img width="680" height="311" src="https://www.wpbeginner.com/wp-content/uploads/2021/12/monsterinsights-dual-tracking-gav4.png" alt="MonsterInsights Dual Tracking GA v4" class="wp-image-109440" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/12/monsterinsights-dual-tracking-gav4.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/12/monsterinsights-dual-tracking-gav4-300x137.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>If you haven&#8217;t created a Google Analytics 4 property, then now is the best time. That&#8217;s because, after July 1, 2023, Universal Analytics will sunset and won&#8217;t track your website data. Setting up GA4 after the sunset date will mean you&#8217;ll have to start from scratch and won&#8217;t have any historical data for comparison. </p>



<p>For more details, please see our guide on <a href="https://www.wpbeginner.com/wp-tutorials/how-to-switch-to-google-analytics-4-in-wordpress/" title="How to Switch to Google Analytics 4 in WordPress (The RIGHT Way)">how to switch to Google Analytics 4 in WordPress</a>. </p>



<p><strong>Install the MonsterInsights eCommerce Addon</strong></p>



<p>Once you&#8217;ve configured Google Analytics on your website, the next step is to install the eCommerce addon. </p>



<p>You need to visit the <strong>Insights » Addons</strong> page from your WordPress dashboard and navigate to the &#8216;eCommerce&#8217; addon. Simply click the &#8216;Install&#8217; button, and the addon will automatically activate. </p>



<figure class="wp-block-image size-full"><img width="680" height="373" src="https://www.wpbeginner.com/wp-content/uploads/2021/12/install-the-ecommerce-addon.png" alt="Install the eCommerce addon" class="wp-image-107054" title="Install eCommerce addon for MonsterInsights" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/12/install-the-ecommerce-addon.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/12/install-the-ecommerce-addon-300x165.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p><strong>Enable Enhanced Ecommerce Tracking in Google Analytics</strong></p>



<p>The next step is to <a href="https://www.wpbeginner.com/plugins/how-to-properly-set-up-ecommerce-tracking-in-wordpress/" title="How To Properly Set Up eCommerce Tracking In WordPress">enable eCommerce tracking</a> in Google Analytics. E-commerce tracking is not enabled by default in your Google Analytics account, and you will have to manually enable it. </p>



<p>First, you&#8217;ll need to head over to your Google Analytics account dashboard and click the <strong>Admin</strong> option. </p>



<figure class="wp-block-image size-full"><img width="680" height="341" src="https://www.wpbeginner.com/wp-content/uploads/2018/12/click-the-admin-settings-button.png" alt="Click the admin settings button" class="wp-image-106363" title="Swith to admin page in Google Analytics dashboard" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/12/click-the-admin-settings-button.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/12/click-the-admin-settings-button-300x150.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, you need to click on the &#8216;Ecommerce Settings&#8217; option.</p>



<p>It is located under the View column. </p>



<figure class="wp-block-image size-full"><img width="680" height="258" src="https://www.wpbeginner.com/wp-content/uploads/2021/12/ecommerce-settings.png" alt="Ecommerce settings" class="wp-image-107081" title="Ecommerce settings" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/12/ecommerce-settings.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/12/ecommerce-settings-300x114.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>On the settings page, click the slider under <strong>Enable Ecommerce</strong> and <strong>Enable Enhanced Ecommerce Reporting</strong> to turn it on. </p>



<p>Don&#8217;t forget to click the &#8216;Save&#8217; button when you&#8217;re done. </p>



<figure class="wp-block-image size-full"><img width="680" height="357" src="https://www.wpbeginner.com/wp-content/uploads/2021/12/enable-ecommerce-and-enhanced-ecommerce-reporting.png" alt="Enable ecommerce and enhanced ecommerce reporting" class="wp-image-107083" title="Enable ecommerce and continue" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/12/enable-ecommerce-and-enhanced-ecommerce-reporting.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/12/enable-ecommerce-and-enhanced-ecommerce-reporting-300x158.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Now, your Google Analytics account will start showing enhanced eCommerce reports for your WooCommerce store.</p>



<p>For more details, please see our guide on <a href="https://www.wpbeginner.com/wp-tutorials/how-to-setup-woocommerce-conversion-tracking/" title="How to Setup WooCommerce Conversion Tracking (Step by Step)">how to set up WooCommerce conversion tracking</a>.</p>



<h4 id="aioseo-enabling-customer-journey-addon-in-monsterinsights">Enabling User Journey Addon in MonsterInsights</h4>



<p>Now that you&#8217;ve set up WooCommerce tracking in Google Analytics, the next step is to enable the MonsterInsights Customer Journey addon.</p>



<p>The addon will allow you to see the steps a customer takes before making a purchase in WooCommerce. Plus, it also shows the time it took at each step, the pages a user visited, and more. </p>



<p>First, you&#8217;ll need to go to <strong>Insights » Addons</strong> from your WordPress admin panel. Next, navigate to the User Journey addon and click the &#8216;Install&#8217; button.</p>



<figure class="wp-block-image size-full"><img width="680" height="348" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/install-the-user-journey-addon.png" alt="Install the user journey addon" class="wp-image-157368" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/install-the-user-journey-addon.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/install-the-user-journey-addon-300x154.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>The addon will automatically activate and start tracking your WooCommerce customer&#8217;s journey. </p>



<p>Next, you can go to <strong>WooCommerce » Orders</strong> from your WordPress dashboard to view the path your customers took when purchasing a product. </p>



<figure class="wp-block-image size-full"><img width="680" height="287" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/woocommerce-order-select-1.png" alt="WooCommerce order select" class="wp-image-157371" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/woocommerce-order-select-1.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/woocommerce-order-select-1-300x127.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>After that, click on the order for which you&#8217;d like to see the user journey. </p>



<p>On the next screen, you&#8217;ll see the path a customer took before buying the product. You get to view the pages they visited, where they clicked, and how much time they spent on a page. </p>



<figure class="wp-block-image size-full"><img width="680" height="327" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/user-journey-screenshot-e1651174347746.png" alt="User journey in MonsterInsights" class="wp-image-157373" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/user-journey-screenshot-e1651174347746.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/user-journey-screenshot-e1651174347746-300x144.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>This is really useful information to better understand your customers. You can see which <a href="https://www.wpbeginner.com/wp-tutorials/how-to-add-product-tags-attributes-and-categories-to-woocommerce/" title="How to Add Product Tags, Attributes, and Categories to WooCommerce">product categories</a> are performing the best and where customers are exiting your store during the purchase process. Using the data, you can then fix these issues and optimize your site for more conversions. </p>



<h4 id="aioseo-enabling-customer-tracking-in-google-analytics">Enabling User ID Tracking in Google Analytics</h4>



<p>While MonsterInsights makes it very easy to track customers on your WooCommerce store, it also tracks WordPress ID tracking in Google Analytics.</p>



<p>WordPress ID is a unique ID to identify every user on your website. The user ID is called the &#8216;Client ID&#8217; in Universal Analytics and the &#8216;App Instance ID&#8217; in Google Analytics. </p>



<p>Do remember that enhanced eCommerce tracking will enable eCommerce reporting features for your WooCommerce store. However, it does not enable user tracking by default.</p>



<p>Let&#8217;s take a look at how you can enable user ID tracking in Universal Analytics and Google Analytics 4. </p>



<p><strong>Enabling Customer Tracking in Universal Analytics </strong></p>



<p>To enable individual customer tracking, you need to visit your Google Analytics account dashboard and open the <strong>Admin</strong> page.</p>



<figure class="wp-block-image size-full"><img width="680" height="341" src="https://www.wpbeginner.com/wp-content/uploads/2018/12/click-the-admin-settings-button.png" alt="Click the admin settings button" class="wp-image-106363" title="Swith to admin page in Google Analytics dashboard" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/12/click-the-admin-settings-button.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/12/click-the-admin-settings-button-300x150.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Now, click on the &#8216;Tracking info&#8217; link under the Property column to expand the submenu. </p>



<p>After that, you can click the <strong>User-ID</strong> link that appears below.</p>



<figure class="wp-block-image size-full"><img width="680" height="316" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/go-to-user-id-settings.png" alt="Go to user ID settings" class="wp-image-157103" title="Tracking info" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/go-to-user-id-settings.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/go-to-user-id-settings-300x139.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>On the next page, you’ll have to review and agree to the User-ID policy. </p>



<p>Simply click the &#8216;I agree to the User-ID Policy&#8217; toggle to turn it on.</p>



<figure class="wp-block-image size-full"><img width="680" height="388" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/enable-the-user-ID-feature.png" alt="Enable the user ID feature" class="wp-image-157104" title="Turn on user ID tracking" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/enable-the-user-ID-feature.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/enable-the-user-ID-feature-300x171.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>From here, click on the &#8216;Next step&#8217; button to continue.</p>



<p>Google Analytics will now ask how you would like to configure the user-ID tracking. </p>



<figure class="wp-block-image size-full"><img width="680" height="358" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/copy-the-user-id-code.png" alt="Copy the user id code" class="wp-image-157105" title="setting up user ID tracking" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/copy-the-user-id-code.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/copy-the-user-id-code-300x158.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Since you&#8217;ll be using MonsterInsights, there&#8217;s no need to set up the user-ID tracking code. The plugin will take care of this for you.</p>



<p>Simply scroll down and click the &#8216;Next step&#8217; button to continue.</p>



<figure class="wp-block-image size-full"><img width="680" height="380" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/head-to-the-next-step.png" alt="Head to the next step" class="wp-image-157106" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/head-to-the-next-step.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/head-to-the-next-step-300x168.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, you will see information about creating a user ID view in Google Analytics. </p>



<p>Go ahead and click the &#8216;Create&#8217; button.</p>



<figure class="wp-block-image size-full"><img width="680" height="370" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/create-user-id-view.png" alt="Create user-id view" class="wp-image-157107" title="Create user ID tracking" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/create-user-id-view.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/create-user-id-view-300x163.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>After that, you will be asked to enter a &#8216;Reporting View Name&#8217;, which will be used to display User ID reports. </p>



<p>We recommend including UserID in the name, so it is easy to remember which view has UserID tracking enabled.</p>



<figure class="wp-block-image size-full"><img width="680" height="302" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/enter-a-reporting-view-name.png" alt="Enter a reporting view name" class="wp-image-157108" title="Reporting view name" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/enter-a-reporting-view-name.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/enter-a-reporting-view-name-300x133.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>There is also an option to select the Reporting Time Zone. </p>



<p>Next, you just need to scroll down to the bottom and click on the &#8216;Create view&#8217; button to save it.</p>



<figure class="wp-block-image size-full"><img width="680" height="304" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/select-time-zone-and-create-view.png" alt="Select timezone and create view" class="wp-image-157110" title="Create reporting view" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/select-time-zone-and-create-view.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/select-time-zone-and-create-view-300x134.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p><strong>Enabling Customer Tracking in Google Analytics 4</strong></p>



<p>To start, you&#8217;ll need to go to the <strong>Admin</strong> settings from your GA4 dashboard and click the &#8216;Reporting Identity&#8217; option.  </p>



<figure class="wp-block-image size-full"><img width="680" height="347" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/open-reporting-identity-settings.png" alt="Open reporting identity settings" class="wp-image-157431" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/open-reporting-identity-settings.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/open-reporting-identity-settings-300x153.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>On the next screen, you will need to select a way to identify users on your <a href="https://www.wpbeginner.com/wp-tutorials/how-to-start-an-online-store/" title="How to Start an Online Store in 2022 (Step by Step)">online store</a>. </p>



<p>GA4 uses multiple ways to identify customers. These include user ID, Google signals, device ID, and modeled data. For the sake of this tutorial, we&#8217;ll select the &#8216;Observed&#8217; option and click the &#8216;Save&#8217; button. </p>



<figure class="wp-block-image size-full"><img width="680" height="261" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/select-observed-option-in-reporting-identity.png" alt="Select observed option in reporting identity" class="wp-image-157436" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/select-observed-option-in-reporting-identity.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/select-observed-option-in-reporting-identity-300x115.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4 id="aioseo-step-4-viewing-customer-tracking-reports-in-google-analytics">Viewing Customer Tracking Reports in Google Analytics</h4>



<p>Now that everything is set up, Google Analytics will now <a href="https://www.wpbeginner.com/beginners-guide/how-to-check-website-traffic-for-any-site-best-tools/" title="How to Check Website Traffic for Any Site (7 Best Tools)">track all your website customers</a>. It will also be able to track logged-in users with their unique WordPress user ID.</p>



<p><strong>View User ID Data in Universal Analytics</strong></p>



<p>To view all your individual customer activity, you can go to your Universal Analytics account and click on the <strong>Audience » User Explorer</strong> menu.</p>



<figure class="wp-block-image size-full"><img width="680" height="340" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/ua-user-explorer-client-id.png" alt="View user explorer client ID in UA" class="wp-image-157439" title="All users tracked by Google Analytics" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/ua-user-explorer-client-id.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/ua-user-explorer-client-id-300x150.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You will see individual customer reports with a unique ID assigned to all non-logged-in users.</p>



<p>To view customer tracking reports for logged-in users in WooCommerce, you need to click on the Google Analytics logo on the top left corner of the screen.</p>



<p>This will show all your Google Analytics profiles. You will see your website profile and under &#8216;All website data&#8217; you will see the UserID reporting view you created earlier.</p>



<figure class="wp-block-image size-full"><img width="680" height="342" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/ua-user-id-view-1.png" alt="Select UA User ID view" class="wp-image-157462" title="User ID reporting view" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/ua-user-id-view-1.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/ua-user-id-view-1-300x150.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Go ahead and click on the UserID reporting view to load it.</p>



<p>Once it&#8217;s loaded, you need to click on the <strong>Audience » User Explorer</strong> menu. This way, you will see a logged-in customer tracking report where each user is represented by their WordPress user ID on your website.</p>



<figure class="wp-block-image size-full"><img width="680" height="346" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/ua-user-explorer-user-id.png" alt="UA user explorer user ID report" class="wp-image-157463" title="Logged in customer reporting view" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/ua-user-explorer-user-id.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/ua-user-explorer-user-id-300x153.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You can click on the user ID to view a customer&#8217;s individual tracking data.</p>



<p>For instance, the device category they use, acquisition date, the channel they used to arrive on the online store, and more. </p>



<figure class="wp-block-image size-full"><img width="680" height="370" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/ua-user-explorer-user-id-detail.png" alt="UA user explorer user id details" class="wp-image-157464" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/ua-user-explorer-user-id-detail.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/ua-user-explorer-user-id-detail-300x163.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p> <strong>View User ID Data in Google Analytics 4</strong></p>



<p>In Google Analytics 4, you&#8217;ll need to head to the &#8216;Explore&#8217; tab from the menu on your left. </p>



<p>Under Explorations, you&#8217;ll see different report templates. Simply click the existing &#8216;User explorer&#8217; report. </p>



<figure class="wp-block-image size-full"><img width="680" height="228" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/select-user-explorer-report.png" alt="Select user explorer report" class="wp-image-157469" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/select-user-explorer-report.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/select-user-explorer-report-300x101.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, you&#8217;ll see the User explorer report in Google Analytics 4. </p>



<p>One thing you can notice is the Client ID will be replaced with the App instance ID. </p>



<figure class="wp-block-image size-full"><img width="680" height="290" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/see-user-exlorer-report-in-ga4.png" alt="See user explorer report in ga4" class="wp-image-157470" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/see-user-exlorer-report-in-ga4.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/see-user-exlorer-report-in-ga4-300x128.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You can click on any of the app instance IDs to view more details. </p>



<p>For example, the report shows the total events that were triggered, the location of the user, the time stamp for each event, and more. </p>



<figure class="wp-block-image size-full"><img width="680" height="334" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/view-details-of-app-instance-id.png" alt="View details of app instance ID" class="wp-image-157472" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/view-details-of-app-instance-id.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/view-details-of-app-instance-id-300x147.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4 id="aioseo-step-5-matching-customer-tracking-with-their-wordpress-accounts">Matching Customer Tracking with Their WordPress Accounts</h4>



<p>Now that you&#8217;ve identified users in Google Analytics, you can match them with WordPress accounts. This will help you know who this customer is, and how you can create personalized offers, emails, or shopping experiences for them.</p>



<p>First, you need to note down the customer ID you see in your Google Analytics User-ID reporting view.</p>



<p>After that, go to your <a href="https://www.wpbeginner.com/wp-tutorials/11-vital-tips-and-hacks-to-protect-your-wordpress-admin-area/" title="14 Vital Tips to Protect Your WordPress Admin Area (Updated)">WordPress website&#8217;s admin area</a> and click on the &#8216;Users&#8217; menu. It will show you a list of all users on your WordPress site.</p>



<p>Next, you can click the &#8216;Edit&#8217; link below any username in the list. </p>



<figure class="wp-block-image size-full"><img width="680" height="259" src="https://www.wpbeginner.com/wp-content/uploads/2018/04/edit-any-user-profile.png" alt="Edit any user profile" class="wp-image-157476" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/04/edit-any-user-profile.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/04/edit-any-user-profile-300x114.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>WordPress will now open the user profile for you. </p>



<p>If you look in your browser&#8217;s address bar you will &#8216;user_id&#8217; parameter in the URL.</p>



<figure class="wp-block-image size-full"><img width="680" height="222" src="https://www.wpbeginner.com/wp-content/uploads/2013/05/user-id-in-url.png" alt="User ID in URL" class="wp-image-125620" title="User ID in WordPress" srcset="https://www.wpbeginner.com/wp-content/uploads/2013/05/user-id-in-url.png 680w, https://www.wpbeginner.com/wp-content/uploads/2013/05/user-id-in-url-300x98.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, you need to replace the value next to user_id with the one you copied from your Google Analytics report and press enter key on your keyboard.</p>



<p>WordPress will now load the user profile associated with that particular <a href="https://www.wpbeginner.com/beginners-guide/how-to-find-post-category-tag-comments-or-user-id-in-wordpress/" title="How to Find Post, Category, Tag, Comments, or User ID in WordPress">User ID</a>. You now have the customer&#8217;s name, username, email address, and social media information. You can also track their orders, product views, cart activity, and more.</p>



<p>We hope this article helped you learn how to enable customer tracking in WooCommerce with Google Analytics. You may also want to see our expert pick of the <a title="21+ Best Free WooCommerce Plugins for Your Store (2018)" href="https://www.wpbeginner.com/plugins/20-best-free-woocommerce-plugins-for-wordpress/">best free WooCommerce plugins</a> for your online store and <a href="https://www.wpbeginner.com/beginners-guide/how-to-get-a-free-email-domain-quick-and-easy-methods/" title="How to Get a Free Email Domain (5 Quick and Easy Methods)">how to get a free email domain</a>.</p>



<p>If you liked this article, then please subscribe to our <a href="https://youtube.com/wpbeginner?sub_confirmation=1"  rel="noreferrer noopener nofollow" title="Subscribe to WPBeginner YouTube Channel">YouTube Channel</a> for WordPress video tutorials. You can also find us on <a href="https://twitter.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Follow WPBeginner on Twitter">Twitter</a> and <a href="https://facebook.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Join WPBeginner Community on Facebook">Facebook</a>.</p><p>The post <a href="https://www.wpbeginner.com/plugins/how-to-enable-customer-tracking-in-woocommerce-with-google-analytics/">How to Enable Customer Tracking in WooCommerce with Google Analytics</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/woocommerce/how-to-enable-customer-tracking-in-woocommerce-with-google-analytics/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
	</channel>
</rss>
