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 tier.
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 over Live Chat or email email@example.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
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.
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:
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>
Be careful who you share the embedded dashboard with as it contains your API key which should remain secret.