How to embed the dashboard on your own website

Note: Setting up iFrame access requires use of our API, which is only available on Agency and Enterprise plans.

Create an iFrame on a secure (authenticated) page in your back end utilizing the white labeled URL that you've created within your AgencyAnalytics account. You can read more about creating iFrames using HTML here, and you'll find a variety of Wordpress iFrame plugins here.

Next, be sure that you've created accounts for each of your clients using the instructions in this article. You can also automate dashboard account creation by utilizing our API.

Finally, we don't allow cross domain access, so once you gain access to our API you will need to obtain a login token. You will then forward your client user to "https://:site_address/#/login-token/:userId/:token”. You'll find documentation on this specific function here.

If you use this URL for your iFrame, it will login the user and forward their home screen within the iFrame. 

Reminder: Only embed the dashboard in a secure (authenticated) part of your site. The login URL contains a token that can be used to read statistical data from your account.

You'll find a complete reference guide to our API at this link.

What's Next:

Did this answer your question?