-
Inaccurate userEngagementDuration metric when using medium dimension in Google Analytics API v4
Hey guys, I’ve hit a bit of a snag with the “User Engagement” parameter on the Analytics Page. I’m getting totally different results coming from my API response. I initially thought there was a hiccup in my coding, so I double-checked my request using the GA Query Explorer and the ‘try this method’ tab on the Google Developers site’s analytics page. But still no luck – both returned the same number that was not aligned with what I was seeing on the Explore Tab.
And here’s the weird part – it plays well with all other dimensions, except when I pair it with the medium dimension. Double, triple-checked my dates, conditions, and queries, and everything else checks out. The Session Duration on runReport is as it should be across all platforms, so the problem seems to be isolated to the userEngagementDuration parameter on the Analytics Reporting API. Oh, and it’s definitely not tied to the sampling level issue because that option is missing on BatchRunReportRequest. Anyone else run into this or have any thoughts?
Log in to reply.