Learn business growth with Google Analytics 4 Forums Google Analytics 4 Analyzing the Issue with Item Prices in Google Analytics 4 Debug

  • Analyzing the Issue with Item Prices in Google Analytics 4 Debug

    Posted by Minh on 26 May 2022 at 8:21 pm

    Hey there! You know what, I’m really puzzled by this whole Google Analytics thing. So, I’m putting in an order, and it’s showing the item price in the data layer as, let’s say, 287.2. But then, when I hop over to the GA4 debugger, it’s displaying the price as if it’s shot through the roof – like 2872000000. It’s like my decimal just got swallowed up and replaced by a ton of zeros. Any idea why this is happening?

    In terms of the value of the order, I don’t see any issues, everything seems to be calculated alright. But, I’ve seen that most times, the recorded revenue for each item is almost always a big fat zero. That just boggles my mind. Any thoughts on that as well?

    Le replied 12 months ago 3 Members · 2 Replies
  • 2 Replies
  • Hannah

    Member
    30 October 2022 at 8:29 am

    This issue might be due to how Google Analytics 4 (GA4) is interpreting the pricing data. GA4 represents currency metrics in micros, where $1 is represented as 1,000,000 (1 million). So, if you send 287.2 as the price, GA4 interprets it as $287.2 million, or 2872000000, because it treats the input as already being in micros. To correctly send price data, you need to convert your prices into micros correctly before sending, by multiplying by 1 million. So, $287.2 should be sent as 287200000.

    Regarding the zero recorded revenue, it might be because of the price conversion issue. Once prices are sent correctly in micros, GA4 should be able to calculate and record the revenue correctly.

  • Le

    Member
    31 December 2022 at 9:26 am

    This discrepancy could be due to the way GA4 interprets decimal numbers. Google Analytics 4 (GA4) interprets numbers as micros, so €1 is regarded as 1,000,000 micro units. This may be the source of the large numbers you’re witnessing. When you’re passing the price or the value into GA4, consider multiplying the number by 1,000,000, or representing your prices as integers in the smallest units of your currency (like cents or pennies), as GA4 expects this format.

    Regarding the recorded revenue for each item showing as zero, the issue is likely due to a tracking setup error. GA doesn’t always mimic exactly what’s in the data layer – sometimes it fails to interpret the revenue data if it’s not formatted properly. Ensure that your ecommerce tracking code is correctly implemented and revenue data is passed as expected. You can also use GA’s built-in diagnostics and reports to help troubleshoot the issue. You might need some debug work on the site or contact the support team for a detailed investigation.

Log in to reply.