paullangtree / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
2 stars 0 forks source link

Adding Dimensions changes #779

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Name of affected component: Core Reporting API

Issue summary:
When adding dimensions into the query, the numbers are changing. For example, 
when I run with a single dimension for transactionRevenue, I will see a number. 
When I add a dimension for visits, visits will show up but then the 
transactionRevenue will turn to zero. 

Steps to reproduce issue:
1. Run a query with dimension Transaction revenue only. 
2. Run a query with dimension Page Visits only.
3. Run a query with both dimensions. 

Expected output:
We expect by adding dimensions that we will see additional values. For example, 
if transactionRevenue was 15 when I ran that dimension only and visits was 25 
when I ran that dimension only, then if I run both, I should see 15 and 25. 

Actual results:
What do you actually see after performing the above steps?

Notes:
Provide any additional information which might be useful here. Feel free to
attach screenshots or sample code which demonstrates the issue being
described.

Original issue reported on code.google.com by n...@liftmetrix.com on 4 Nov 2015 at 1:26

GoogleCodeExporter commented 8 years ago
Can you provide the fully request and response?
Is sampling an issue? Are there any changes in the filters or segments you are 
using?

Original comment by mcoh...@google.com on 4 Nov 2015 at 4:42

GoogleCodeExporter commented 8 years ago
I updated sampling to use higher_precision and still having the issue. 

I've attached an image from the explorer of doing the same query with / without 
the addition of adContent and keyword. 

There are no changes in the filters or segments. 

Original comment by n...@liftmetrix.com on 4 Nov 2015 at 5:05

Attachments:

GoogleCodeExporter commented 8 years ago
I also found that if the date range is 1 day, it matches. However, the longer 
the date range, the more off it is. 

Original comment by n...@liftmetrix.com on 4 Nov 2015 at 5:08

GoogleCodeExporter commented 8 years ago
According to the attached documents it appears that the results are sampled:
https://support.google.com/analytics/answer/2637192

To avoid sampling you can always request smaller date ranges, and combine data 
from multiple requests.

Original comment by mcoh...@google.com on 4 Nov 2015 at 5:17