I wish to extract (via the Analytics Core Reporting API) all the transactions made TODAY by users that had a specific ga:eventCategory few weeks ago. I'm looking to see the date of a transaction and all dated of event that are related to that transaction. If GA was sql I would join by the ga user and take in the dimension both his transactions date and his dimension update date... Thanks. Noam.
How can I query Google Analytics condition on TWO different dates?
328 Views Asked by NoamZ At
1
There are 1 best solutions below
Related Questions in GOOGLE-ANALYTICS
- Java Google Analytics API - Read timed out
- How to track multiple youtube videos in google analytics
- How to estimate current situation of an old site not created by myself before i launch my new one?
- Is it possible to access gmail anonymous profile for a logged in user?
- How do I add Google Analytics to a large Windows Phone 8.1 project
- Why Google Analytics show bounce rate 100% and avg time more then 1min
- Google analytics event tracking, retrieve results
- Google Analytics with two property ID's: double counting page views?
- Does google analytics keep custom dimensions value over time?
- Google analytics not registering my app as a source of traffic to other sites
- Android : ANR in Google Analytics
- Google Analytics time delay in events report
- Google Analytics Cohort data doesn't make sense
- Tracking pages as they are created
- Use data import for update revenue
Related Questions in GOOGLE-ANALYTICS-API
- Does google analytics keep custom dimensions value over time?
- Testing local rails application with OAuth
- Google Analytics time delay in events report
- collective.googleanalytics report with filter containing tag
- How to Use Google Analytics API for Business Pages
- How to track a Registration Form fields
- Google analytics experiment missing data
- Google Search Appliance Reports
- How i can read google analytics data from my iOS application?
- How to cluster correlated pages into segments?
- How can I see my multiple domains on Google Analytics page?
- Analytics API doesn't match web data
- Filter data in Google Analytics by the Data Source property
- GA query to return unique count number
- Track count of events unique by user rather than session
Related Questions in UNIVERSAL-ANALYTICS
- Does google analytics keep custom dimensions value over time?
- How do I view Custom Dimension reports in GA?
- How long should it take until a new Universal Analytics property starts collecting data?
- Google Tag Manager External Links with Multiple Domains
- CustomDimension send via ga('set',...)
- How can I query Google Analytics condition on TWO different dates?
- Google tag manager. Fire e-commerce transaction fails
- Google Analytics and Marketo RTP Link
- Google Analytics - Create custom report based on 2 events
- Google Analytics: how can you hide data from a view?
- Universal Analytics subdomain tracking
- Uncaught ReferenceError: _gaq is not defined - Switch to universal analytics
- _u parameter in universal google analytics collect hits
- Universal Google Analytics virtual pageview location
- Enhanced Ecommerce Product List Attribution
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Like I have indicated in my comment you can segment the data to include only those users who have the specific event. Segmentation works fine with the core reporting API.
Your segment defintion would look like this:
(where obviously the thing in [brackets] is a placeholder that needs to be substituted for the event category name). The "users::" prefix means you are segmenting by user scope (as opposed to sessions), so this will include all sessions in the selected timeframe for users who had the event at least in one of their session (even if the event was outside the selected timeframe).
Select transactionId as dimension and some metric (revenue) and todays date and you are done. Or you would be done if this was actually going to work, but there are at least two caveats:
Google Analytics does not work in realtime, so it's unlikely that TODAYs transactions are fully available (Google says it's 24 hours until the data is processed - actually it might happen faster, but you cannot rely on it).
If a user has deleted his or her cookie she won't be recognized as a recurring user and GA will be unable to segment her out. The longer the interval between the event and the transaction the less likey it is that the GA cookie is still present.
So even with a technically correct query it might be that you won't get the data you need.