API won't extract Goals data #1835
Unanswered
algomaschine
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Gents, I've been struggling with API for the weeks now, tried it in and out and it seems like either I'm doing something very wrong or the lib has a glitch. Please see the picture, I'm trying to extract pageviews with some other fields one of which is goal-related, particularly Goal2 (I put goalCompletionsAll in the code to check if any goal is returned at all).
This is how it looks in Google Analytics
Even I put all the goals in the code to debug, but it would return RESULT WITH ALL ZEROES for that field.
The interesting part is, if I remove the filters in code, it would load some goals, but significantly less than GA would show. It looks like some goals are not accessible to API or maybe I'm having metric/dimension combination wrong way? Please advise, many thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions