There was a problem loading the comments.

IFraming the Performance Statistics web component

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

How to iFrame Autochartist’s Performance Statistics web component into your website

You can embed the Performance Statistics web component directly into your website by iframing the following URL into the relevant section of your site:

  • The first option is where you can embed the Performance Statistics web component directly into your website by iframing the following URL into the relevant section of your site:

During your onboarding process, our onboarding team provided you with a URL. Simply embed this URL in an <IFrame> tag on your website as follows:
<iframe src="url_from_autochartist"></iframe>

  • The second option is to create user specific URLs (Recommended):

During your onboarding process, our onboarding team provided you with a URL. Simply embed this URL in an <iFrame> tag on your website as follows:

https://perfstats.autochartist.com/performance-stats-v3/?broker_id=<brokerid>&user=<user>&account_type=<account_type>&expire=<expire>&locale=<locale>&theme=<theme>&token=<token> 

Parameters are as follows:
<brokerid> – the broker id provided to you in the onboarding pack.
<account_type> – This parameter governs whether this report is slightly delayed or not. Valid values are LIVE
<expire> – Unix timestamp of when this links will expire.
<locale> – Report display language. Browser language preference will be used if not specified. For example en_GB = English, ru_RU = Russian
<user> – a userid of the person accessing the link.
<token> – md5([UserID]|[Account Type]|[Expiry][Secret Key]). See this article for details.

<theme> - Valid values are light or dark

Notes:

  1. The Secret Key component of the <token> parameter is provided to you in your onboarding pack

Share via

Related Articles

© Autochartist