rxz99 / analytics-issues

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

Different values when querying with ga:users metric #734

Closed GoogleCodeExporter closed 8 years ago

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

HTTP API

Issue summary:
Different values are returned when you add the "ga:users" metric to queries.

Settings:
'start-date': '2015-01-01'
 'end-date': '2015-08-31'
 dimensions: 'ga:yearMonth'
 sort: '-ga:yearMonth'

Steps to reproduce issue:
1. Make a API call with the metric: ga:users and ga:transactionRevenue
2. Make a API call with the metric: ga:transactionRevenue
3. Compare the total for transactionRevenue from step 1 (for me: 110543,97) 
with the total from step 2 (for me: 123149,73)

Expected output: The total for transactionRevenue from step 1 matches the total 
from step 2.

Actual results: The totals differ quite a lot. When querying with ga:users the 
amount is lower than without.

Notes: Queries are identical, only the ga:users metric is added.

Original issue reported on code.google.com by ti...@swydo.com on 14 Sep 2015 at 7:16

GoogleCodeExporter commented 8 years ago
As per the discussion here: 
https://groups.google.com/forum/#!topic/google-analytics-data-export-api/C46DASM
WfNE

this is due to sampling.

Original comment by mcoh...@google.com on 15 Sep 2015 at 6:32