Google Analytics Embed API authentication -


I used to get some statistics from Google Analytics using the embed API to display on our site using Javascript I am looking into

My question is:

Is it possible to display statistics without user credentials? To wit. I want to provide some traffic statistics for anonymous users.

Thank you, Chris.

This is definitely possible, but you have access tokens themselves (server side, whatever you want , Using)

Once you have a valid login token, you can pass it to gapi.analytics.auth component and use the embed API in general.

Here are some documents:

Update: (07/27) / 2015)

A demo is now featured on. You should look for examples that work here to see.


Comments