Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pulling realtime Google Analytics data #582

Merged
merged 2 commits into from
Sep 2, 2019
Merged

Add support for pulling realtime Google Analytics data #582

merged 2 commits into from
Sep 2, 2019

Conversation

Ameobea
Copy link
Contributor

@Ameobea Ameobea commented Aug 31, 2019

  • Add config option enableRealtime that, if set to true, will cause realtime metrics to be displayed above the historicaly view counts for all view IDs
  • Add in the v3 Google API client and construct a service for it conditionally if realtime metrics are enabled
  • Update google analytics data pulling code to retrieve realtime metrics using the v3 client if realtime metrics are enabled in settings
  • Update table generation code to display fetched realtime metrics if they are available

Documentation added in wtfutil/wtfdocs#54

Closes #581

 * Add config option `enableRealtime` that, if set to true, will cause realtime metrics to be displayed above the historicaly view counts for all view IDs
 * Add in the v3 Google API client and construct a service for it conditionally if realtime metrics are enabled
 * Update google analytics data pulling code to retrieve realtime metrics using the v3 client if realtime metrics are enabled in settings
 * Update table generation code to display fetched realtime metrics if they are available
 * Provide link to enroll in the real time data beta
@senorprogrammer
Copy link
Collaborator

senorprogrammer commented Sep 1, 2019

I like this idea. Just reviewing the changes and then it should get merged.

@senorprogrammer senorprogrammer merged commit 2bd7c43 into wtfutil:master Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Support real-time metrics for google analytics
2 participants