Learn business growth with Google Analytics 4 Forums Google Analytics 4 Discrepancy in TotalPurchasers Metric Accuracy in Google Analytics 4

  • Discrepancy in TotalPurchasers Metric Accuracy in Google Analytics 4

    Posted by Addison on 19 September 2022 at 8:52 am

    “Hey peeps, I need some help with this Google Analytics Data API. I’ve got a custom dimension defined for a GA4 account and I’m trying to fetch some data using Python (you can check out my code below). What I’m aiming to get is the ‘totalPurchasers’ and ‘purchaseRevenue’ for different ‘eventName’ in different ‘campaignName’.

    When I look at ‘purchaseRevenue’, it matches with what I see in the GA4 interface. However, when I check ‘totalPurchasers’, the numbers just don’t add up. I’m getting more than I should. Here’s what I’m seeing through the API:

    I can see a total of 213 purchasers.
    The total purchase revenue is 13710.

    But in GA4, it’s showing only 191 purchasers, while the purchase revenue is the same- correct.

    Any ideas why there’s a discrepancy in total purchasers between what I’m pulling from the API and what’s in GA4? Thanks!”

    Oliver replied 1 year, 4 months ago 3 Members · 2 Replies
  • 2 Replies
  • Eli

    Member
    12 December 2022 at 8:25 am

    Hey, you seem to be on the right track with metrics. Have you checked the limit of rows you’re pulling? By default this is usually set to 10K. If you up that number a bit, you’ll probably see all the data you’re looking for, and I bet those values will match up perfectly. Give it a shot!

  • Oliver

    Member
    3 May 2023 at 8:05 am

    This discrepancy could be caused by a couple of things. Firstly, the API might be pulling duplicate transactions which GA4 automatically removes. Secondly, the API could just be taking longer to update. A deep look at the data and checking for duplicates will give you a better perspective.

Log in to reply.