You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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