Support

Embedding GoSquared Dashboard

🤝 Embedding GoSquared Analytics dashboards is a great use-case for our Live Event and Agency clients

If you host Live Events, or want to give clients visibility on their sites Analytics, you can create a project for them and embed their Analytics dashboards as part of your service.

Embedding GoSquared Analytics dashboard

If you want to embed the GoSquared Dashboard into your own website, you can do so with a simple snippet of HTML.

Embedded dashboards are a premium feature and are not available on our free trial.

Currently, you need to get in touch with us so we can authorise a premium API key for use with embedded dashboards - send us a message or email support@gosquared.com and we'll generate one for you.

Note: Embedded dashboards should not be shared publicly as it will expose your account's API key

You will need to change the API_KEY and PROJECT_TOKEN to the appropriate values. We'll let you know what API key to use, and the project token can be found by choosing a site from the 'Project Picker' in the top left of the sidebar of your account and viewing the General Project Settings for that site.

<iframe src="https://www.gosquared.com/labs/_embed/?api_key=API_KEY&site_token=PROJECT_TOKEN&dashboard=now"></iframe>

Embedding the Trends and Ecommerce Analytics dashboard

By default the GoSquared Now dashboard is displayed. To show the Trends or Ecommerce dashboard you need to change the dashboard parameter to the correct dashboard. Such as:

dashboard=now
dashboard=trends
dashboard=ecommerce

Example

We can embed the Trends dashboard for our demo site as an example...

<iframe src="https://www.gosquared.com/labs/_embed/?api_key=demo&site_token=GSN-106863-S&dashboard=trends" width="100%" height="450px" frameborder="0"></iframe>

Notes

Be careful who you share the embedded dashboard with as it contains your API key which should remain secret.