Learn business growth with Google Analytics 4 Forums Google Analytics 4 Discrepancy between GA4 purchase event revenue and order value

  • Discrepancy between GA4 purchase event revenue and order value

    Posted by Landon on 4 June 2022 at 4:40 pm

    Hi there, I’ve got a bit of a head scratcher on my hands and was wondering if anyone could take a crack at it.

    So, I’ve noticed this teeny tiny issue with Shopify purchases. When a purchase event goes down, it seems like the revenue displayed is slightly off from the actual purchase value. It’s not a huge discrepancy, but it’s there.

    The curious part is, the event value seems to be accurate, while the ecommerce revenue nudges it a little bit. You can see what I’m talking about in this image: [insert image link].

    The event value is supposed to be 60, but something else gets recorded instead. Hmm.

    I’ve got a chunk of code here from the Data Layer purchase event that might shed some light: [insert code here]

    I ran this issue through Tag Assistant and everything seems fine on that end. The order values match the data layer exactly as expected. But then, when I pull up the ecommerce metrics in GA4, that’s when the values shift. Currency matches up across GA4, the data layer, and Shopify.

    I have a suspicion that the culprit might be this part: [insert code here]

    Any guesses on what’s going wrong here? I’d appreciate any suggestions or resources you could throw my way! Thanks a ton!

    Vijay replied 10 months, 4 weeks ago 3 Members · 2 Replies
  • 2 Replies
  • Morgan

    Member
    15 August 2022 at 11:40 am

    Ah, you see, Google Analytics has a bit of a quirk. Even if you set your property or view to your own local currency, Analytics still does a conversion whenever it processes a hit for any currency that isn’t USD. What’s more, it does this conversion all over again whenever you generate a report.

    So, even if everything else is in order – your currency settings, your data layer, Shopify – those little differences you’re seeing might just be due to fluctuations in the daily exchange rate. It’s a bit like how the cost of a foreign holiday can go up or down because of changes in the exchange rate.

    You no need to worry too much, these differences are usually negligible!

  • Vijay

    Member
    18 May 2023 at 4:42 am

    Unfortunately, without the actual code and images, it’s a bit hard to provide an exact solution. But I can still suggest possible reasons and solutions. The issue might come from a small calculation error, which can happen due to tax, fees, or round-off discrepancies while converting between currencies, if global transactions are involved. This might explain the slight discrepancy in monetary values. Please ensure that your calculation for total revenue and individual item totals match the formula used by Google Analytics 4 to calculate ‘total revenue’. Different measurement or rounding methodologies can result in slightly different numbers. Also, verify that tracking and taxes are handled consistently in both platforms. If all appears correct, try testing with a few different orders of varied item types and totals to see if the discrepancy follows a predictable pattern, that might provide additional clues. It’s also essential to check the portion of code which is suspected to make sure the numeric values aren’t being adjusted. If you’re still having trouble, reaching out to the support of both Shopify and Google Analytics 4 might be your best bet. They will likely have greater insight on specific settings or configurations that could be causing your issue.

Log in to reply.