Publicly share your Google Analytics reporting data.
The Google Analytics superProxy allows you to publicly share your Google Analytics reporting data. Use it to power your own custom dashboards and widgets, transform responses to various formats, manage your quota efficiently, test, and more. It handles authentication, caching, and response-formatting for you.
It works with the following Google Analytics APIs: Core Reporting API, Real Time Reporting API, and Multi-Channel Funnels Reporting API
Quick Links
The Google Analytics superProxy is a web application that runs in the Google App Engine python environment.
http://localhost:8080/admin/auth. Note: you may use a different port, but you need to use that port consistently throughout your project. Click on Create client ID.
config.pyin the Google Analytics superProxy
srcdirectory. Update
OAUTH_CLIENT_ID,
OAUTH_CLIENT_SECRET, and
OAUTH_REDIRECT_URIwith the corresponding values from the OAuth 2.0 Client you created in the previous step. The redirect URI does not need to include
/admin/auth, this will be added for you.
False. Both of these options can be configured in
src/controllers/util/co.py.
dev_appserver.py. For additional details see The Development Environment. Make sure to serve the application using the same port as set in the list of Authorized Redirect URIs for your APIs Console Project, and in
config.py.
8080with the correct port number).
appspot.com.
app.yamlfile in the
srcdirectory of the Google Analytics superProxy and set the first line to the application ID you registered in the previous step. E.g.
application: your-application-id.
/admin/authas an Authorized Redirect URI for the OAuth 2.0 Client. If using the free appspot.com domain, the redirect URI will look something like
https://your-applciation-id.appspot.com/admin/auth.
config.pyin the Google Analytics superProxy
srcdirectory and update
OAUTH_CLIENT_ID,
OAUTH_CLIENT_SECRET, and
OAUTH_REDIRECT_URIif necessary.
appcfg.pydeploy the application. For details see Uploading Your Application.
/adminpage of your application. E.g. https://your-application-id.appspot.com/admin.
/adminpage. E.g. https://your-application-id.appspot.com/admin.
Requests to the public endpoint URL will return the API response for the specific report created. Authorization will not be required to access the report data and it will automatically refresh.
callbackparameter to the Public Endpoint request URL).