AdWords
1.7K members online now
1.7K members online now
Dive into advanced features like Remarketing, Flexible Bid Strategies, AdWords Editor, and AdWords Scripts
Guide Me
star_border
Reply

Google API, stats given by API differs from the GA website

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I have an issue with Google Analytics : the stats given by the API are differents from those which come from the Google Analytics website.

Here is what the API is giving me

----------------------------

array (size=1)

              0 => array (size=2)

                              0 => string '08' (length=2)

                              1 => string '121' (length=3) // 121 pagesviews

-----------------------------

 

And here are all parameters I give to GA in order to get this result

  • Start date : 2014-08-01
  • End date : 2014-08-31
  • metrics : ga: pageviews
  • dimension : ga:month
  • filters : ga:hostname==my-host-name.fr

Finally, here is what the GA dashboard is telling me when I put the same parameters Audience Overview:

enter image description here

I think i’va made a mistake, because there is a huge difference between this two results but all parameters are identical. Can somebody help me please ?

Thank you.

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by Ahmed Ali (Collaborator ✭ ☆ ☆)
September 2015

Re: Google API, stats given by API differs from the GA website

Top Contributor
# 2
Top Contributor

Hello,

 

Since this is a Google Analytics API related question, I would appreciate if you could re-post this over dedicated Analytics API forum.

 

This is the link to it: https://groups.google.com/forum/#!forum/google-analytics-data-export-api

 

Pankaj

View solution in original post

Marked as Best Answer.
Solution
Accepted by Ahmed Ali (Collaborator ✭ ☆ ☆)
September 2015

Re: Google API, stats given by API differs from the GA website

Top Contributor
# 2
Top Contributor

Hello,

 

Since this is a Google Analytics API related question, I would appreciate if you could re-post this over dedicated Analytics API forum.

 

This is the link to it: https://groups.google.com/forum/#!forum/google-analytics-data-export-api

 

Pankaj

Re: Google API, stats given by API differs from the GA website

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Sorry, I am going to repost in the appropriate forum

Thank you,
Jb

Re: Google API, stats given by API differs from the GA website

Top Contributor
# 4
Top Contributor