Knowing what your customers are doing on your site is more important than ever. Most of the action likely occurs on the product pages or at the checkout. If you manage a WooCommerce store there’s a significant portion of the user’s journey which is not considered The WooCommerce My Account Page.
It’s where customers who have returned are able to manage their orders, download files, review wishlists, and occasionally call assistance. The problem is? Likely, you aren’t aware of what’s happening on this page unless you’ve created a tracking system for it. This is where Google Tag Manager comes into the game.
The proper tracking setup in Your My Account Page helps answer the following questions: Do users click on downloads? Checking their purchase status regularly? Do they open the accounts that you’ve created?
By implementing the correct setup using Google Tag Manager (GTM) You can finally access the information you’ve been looking for.
Why the WooCommerce My Account Page Deserves Tracking
If you’ve revamped the dashboard of your account and have added tabs, banners, or even created it with roles for users in mind, then you’re aware that it’s much more than an element that’s not as basic. It’s an interactive area. Users can select tabs, launch websites or browse for information that is personalized, or interact directly with the website’s content.
You’ve spent a lot of time trying to make your site better and more effective. If you’re not keeping track of the ways users use it then you’re missing the mark.
Let’s say you’ve made the “Downloads” section or a banner with a link to FAQs. If no users are using the links, how would you tell? Google Analytics may show page views, however, it doesn’t provide any information about the content of these tabs, or even which websites were visited. This is the point where GTM can be of assistance.
Connecting to the WooCommerce Account Page using GTM. You can view certain events. Tab changes as well as button presses every single one of them can be seen within the tab Analytics.
Setting Up GTM for WooCommerce My Account Page
In the beginning, if you don’t yet, you’ll need in order to set up GTM in your WordPress website. This is usually done by putting GTM’s GTM container code inside the header section of your site. The majority of people do this with an application like “Insert Headers and Footers” or by putting it into your theme’s header.php file.
After the program is installed, you’ll have to choose what you would like to view through your My Account page. This is based on the way your dashboard structure is.
Let’s say you’re using an app that lets you personalize the dashboard. Perhaps you’ve added tabs such as “Downloads,” “Reward Points,” “Recent Orders,” or perhaps banners or personal hyperlinks. You’ll need to be aware of the amount of visitors to these pages.
In GTM this typically means the creation of triggers, tags, and variables.
Start by creating the trigger to fire when clicks occur. GTM lets you set up an event that triggers whenever a link or button is clicked. You can then use filters in order to limit it through ID, class, or other data attributes created by the plugin.
For example, if the Downloads tab is unique in ID or class name it is possible to use that to trigger tags. This tag will send an event to Google Analytics or wherever you prefer it to be.
The same applies to banners. If a banner is configured to direct users to a support page or external guide, you can track if the advertisement is being clicked. This way, you can determine what banners are effective while others are not being used.
Measuring Clicks Inside Tabs and Custom Endpoints
One tricky thing about My Account Pages is that not all content loads as separate pages. Some custom dashboards use JavaScript to load tab content without refreshing the page. That means regular page view tracking won’t catch it.
That’s why GTM is perfect here. It doesn’t rely on page loads. It can detect click events, element visibility, and form submissions even if they happen without reloading the page.
So if you’re using a plugin that adds tabbed navigation or endpoints that update using AJAX, GTM can still track clicks and interactions. You’ll just need to make sure you target the right elements when setting up your triggers.
Inspect the tab element using your browser’s developer tools. Look for a class or ID that stays consistent. Then go back into GTM and use that as the condition for your click trigger.
Role-Based Interaction Tracking
Many WooCommerce stores use role-based dashboards. Maybe vendors, wholesalers, and regular customers see different menus or dashboards. This kind of setup is great for user experience but it also creates another challenge.
You’ll want to know which users are interacting with which elements. One way to do this is by sending user roles along with your tracking data.
While Google Analytics doesn’t track logged-in user roles by default, you can use a data layer variable in GTM to push the current user’s role into your tag. That way, when someone clicks on the “Bulk Orders” tab, you can tell whether it is a wholesaler or not.
Your plugin might already support dynamic classes or content IDs that differ by user role. If so, that’s even easier. You can use those to filter your GTM triggers and separate data by role.
Seeing What Content Gets Attention
Let’s say you’ve added banners to the dashboard. Some promote specific products. Others guide users to account-related tasks like profile updates or support. But how many people are clicking them?
With GTM the software, you can build an automated trigger that is able to monitor the clicks that banners receive. It’s as simple as focusing on an element using the “.banner-link” class. Each time you click it fires tags that record it to Google Analytics as an event.
You can also track visibility. GTM has a “Visibility Trigger” that fires when an element appears in the user’s viewport. So you could find out whether customers are even scrolling far enough to see your bottom-row banners.
This is useful for refining your layout. If certain banners are never being seen, maybe they need to be moved or removed.
Final Thoughts
Tracking what happens on your WooCommerce My Account Page gives you insight that most store owners never get. It’s not just about knowing what products sell. It’s about knowing how users interact after the sale when they come back, what they look at, what they click, and what they ignore.
Google Tag Manager enables you to accomplish this without needing to dig through code or rely on insufficient information. Events can be created for buttons and tabs, banners, and even content that is interactive.
Once you have that data, you’ll be able to make better decisions. You might find that nobody utilizes that wishlist feature. Perhaps a banner that links to tutorials receives lots of attention. It’s a way to make it better or perhaps to eliminate what’s not working.
So if you’re spending time building a better account dashboard, take that extra step. Track it. Because what you measure, you can improve.
Guest article written by:
Isolde Voss is an experienced content writer with 8 years of expertise in digital marketing and WooCommerce plugins. I focus on creating SEO-optimized content that helps eCommerce businesses boost visibility and sales. At present, I’m part of the Extendons team, where I work alongside developers and designers to deliver effective, user-friendly plugin solutions.