Different results for the same query

277 views
Skip to first unread message

Stephane Guerin

unread,
Mar 30, 2012, 1:58:26 PM3/30/12
to google-analytics...@googlegroups.com
Hi,

I got some weird thing going on. I query the API for the segment "Non-paid search traffic" for two different sets of dates and it doesn't give me the sales results.

Here are the queries:


And here are the results in JSON:

["20120327", "11"], ["20120328", "0"], ["20120329", "5"], ["20120330", "0"]
["20120327", "293"], ["20120328", "286"], ["20120329", "300"], ["20120330", "212"]

Why I don't get the same results? Any idea?

Thanks,

Stéphane

Quentin Caron

unread,
Apr 4, 2012, 4:36:05 AM4/4/12
to google-analytics...@googlegroups.com
Indeed this should not happen. Have tried to make your query simpler? You could try the same query by replacing ga:date by ga:day, ga:month and ga:year just to make sure the behavior is the same.
Are you sure you do not manipulate data at some point or storing them in an existing variable?

Cheers,
Quentin

Stephane Guerin

unread,
Apr 4, 2012, 1:48:40 PM4/4/12
to google-analytics...@googlegroups.com
Hi,

Good idea. I tried it and got the same weird results (year, month, day):

First query, last 30 days: ["2012", "04", "02", "480"], ["2012", "04", "03", "355"], ["2012", "04", "04", "267"]

Second query, last 10 days:  ["2012", "04", "02", "429"], ["2012", "04", "03", "349"], ["2012", "04", "04", "266"]

I don't understand. I only have one GA profile that does that. 



Any idea is appreciated.

Thanks,

Stephane

Nick

unread,
Apr 6, 2012, 2:43:54 AM4/6/12
to google-analytics...@googlegroups.com
Is your data getting sampled?  ie containsSampledData == true

or what happens through the UI when you create 2 custom reports that exactly match this query?

-Nick

Stephane Guerin

unread,
Apr 6, 2012, 8:20:35 AM4/6/12
to google-analytics...@googlegroups.com
Hi,

Yes, I see this in the JSON response:  "containsSampledData":true 

However, I didn't find how to deactivate this? How can we set this to false?

Also, what's the difference between standard report for Organic visits in GA and the "non-paid search traffic" advanced segment? I got 10x more visits in the standard report.

Thanks,

Stéphane
Message has been deleted

Stephane Guerin

unread,
Apr 6, 2012, 9:27:57 AM4/6/12
to google-analytics...@googlegroups.com
Hi Nick,

I got the same weird result with a custom report. See attached. The first report is for 3 months, the second one for 9 months. Numbers are really different. Even the visits number is different (see the hover box in both graph).

The report is for visits metric and date dimension.

Any idea?

Thanks,

Stéphane

On Friday, 6 April 2012 02:43:54 UTC-4, Nick wrote:
organic.png

ChainsawDR

unread,
Apr 23, 2012, 2:42:41 PM4/23/12
to google-analytics-api - GA Data Export API
Have you guys had any more joy with this? I'm pulling Visits numbers
using Next Analytics and its differing from what I see in the
interface.

I have various filters applied to my profile so I'm wondering if it
queries on the pre-filtered data rather than the post-filtered data.

Any help would be appreciated.

ChainsawDR
Reply all
Reply to author
Forward
0 new messages