Google Analytics Embed API Demos and Sample Code

 Google Analytics Embed API Demos and Sample Code

The Google Analytics Embed API is a JavaScript library that allows you to easily create and embed a dashboard on a third-party website in a matter of minutes. It gives you a set of pluggable components that can work together to build complex tools, making it both simple and powerful at the same time

Google Analytics Embed API Demos and Sample Code

1. Basic Dashboard

This is a simple dashboard with a timeline chart and a view selector. Choose a different view and the chart will automatically update.

2. Multiple Views

Displaying data from multiple views side-by-side is not currently possible on the Google Analytics website. This demo shows how easy it is to do this with the Embed API.

3. Using Custom Components

The Embed API allows you to create your own components. The datepicker components used in this example show how you can easily display data from multiple date ranges side by side.

4. Interactive Charts

This demo shows how you can build an interactive dashboard that allows you click around and explore your data. Follow the insructions on the page to see how it works.

5. Third-Party Visualizations

The Embed API gives you direct access to most of the native Google Analytics APIs. This allows you to access your raw data and integrate it with third-party visualization libraries.

6. Pure HTML Dashboards

With Web Components and libraries like Polymer.js you can easily build dashboards with no JavaScript at all. View the source to see how easy it can be to build a dashboad with no JavaScript at all!



Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s