kalnyc67 / analytics-issues

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

segment query(dateOfSession) isn't working #467

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Core Reporting API

Name of related library and version, if applicable (e.g. Java, Python,
HTTP, Objective-C, etc.): php

Issue summary:
when I query with dateOfSession segment, it isn't working.
actually it only works when the dateOfSession range is in the query date range.

but I want to use the query for cohort analysis, so should be working on every 
query date range.(I want to know how many users who visited at the last week 
visit again at this week)

ex) 
[working well]
start date = 2014-07-07
end date = 2014-07-13
segment=users::condition::dateOfSession<>2014-07-07_2014-07-13 

[not working, should be fixed!]
start date = 2014-07-14
end date = 2014-07-20
segment=users::condition::dateOfSession<>2014-07-07_2014-07-13 

Expected output:
What do you expect to see after performing the above steps? actual result

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

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 s...@fivejack.com on 24 Jul 2014 at 2:46

GoogleCodeExporter commented 9 years ago
my target data is ga:users

Original comment by s...@fivejack.com on 24 Jul 2014 at 2:49

GoogleCodeExporter commented 9 years ago
Can someone at least confirm that this is the way it is supposed to work?  I 
have the same results as the original poster.

Original comment by nprme...@gmail.com on 30 Jul 2014 at 3:00

GoogleCodeExporter commented 9 years ago

Original comment by pfrise...@google.com on 4 Aug 2014 at 5:41

GoogleCodeExporter commented 9 years ago
Possibly related to this, a pre-defined segment with dateOfSession elements 
does not appear in the Management API segments JSON output.

Original comment by mike.3.s...@gmail.com on 13 Aug 2014 at 2:45

GoogleCodeExporter commented 9 years ago
Pre-defined segments with dateOfSession elements now correctly appear in the 
Management API:
https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/m
anagement/segments/list

Original comment by mcoh...@google.com on 16 Dec 2014 at 12:30

GoogleCodeExporter commented 9 years ago

Original comment by mcoh...@google.com on 16 Dec 2014 at 5:17