Google Analytics e-commerce tracking not functioning

I’ve set up Google Analytics via Google Tag Manager and I’m trying to get e-commerce tracking to work. But it’s not showing any data.

Here’s what I see in the debug console:

// Debug output shows GA initialization
// Ecommerce plugin loaded
// Tracker created: gtm1
// Commands run for ecommerce:addTransaction and ecommerce:send
// Second tracker created: gtm2
// Pageview sent for gtm2

The data layer seems to be firing with purchase info:

dataLayer = [{
  ecommerce: {
    purchase: {
      actionField: {id: 35308, revenue: 78, tax: 3.9},
      products: [{
        name: "Product Assessment",
        id: 1506425543,
        brand: "OurBrand",
        category: "Services",
        quantity: 1
      }]
    }
  }
}];

But nothing’s showing up in the GA console or reports. Any ideas what could be wrong? I’m stuck and could use some help troubleshooting this.

hey isaac, that sounds tricky. check if your ecommerce settings in ga are enabled and if the datalayer fires before the ga tag. the two trackers (gtm1 vs. gtm2) might be conflicting; ensure the right one picks ecommerce data. good luck!

Have you double-checked that your e-commerce settings are enabled in Google Analytics? It’s a common oversight. Also, the presence of two trackers (gtm1 and gtm2) is intriguing. Make sure your e-commerce data is being sent to the correct tracker. It might be worth reviewing your GTM setup to ensure all tags are firing in the right order and that there are no conflicts between the trackers.

Another thing to consider is the timing of your data layer population. Is it happening before the GA tag fires? If not, that could explain why no data is being captured. You might want to use the GTM Preview mode to verify the sequence of events.

Lastly, don’t forget about processing time. GA can take up to 24 hours to display new data. If you haven’t already, check the real-time reports to see if any data is coming through immediately after a transaction.

Hey there, Isaac_Stargazer! That’s a tricky situation you’ve got there. Have you checked if your e-commerce settings are actually enabled in your GA property? Sometimes that’s the culprit, and it’s easy to overlook.

Also, I’m curious about those two trackers you mentioned (gtm1 and gtm2). Are you sure the e-commerce data is being sent to the right one? It might be worth double-checking that.

Oh, and here’s a thought - have you tried using the real-time reports in GA to see if any data is coming through at all? Sometimes that can give you a clue if there’s a delay in processing or if nothing’s getting through.

Let us know if you’ve tried any of these yet. It’d be interesting to hear what you’ve already ruled out. Good luck with the troubleshooting!