Configure the B2COPY Leaderboard widget
Learn how to embed the B2COPY Leaderboard widget into web pages
This instruction explains how to embed the Leaderboard widget from the Web UI into external web pages.
The Leaderboard widget enables your clients to view a list of top-performing master accounts without requiring authentication. By clicking on an account, they can see detailed trading statistics. To subscribe, clients click the +Follow button, which redirects them to the Web UI Sign In page, where they can sign up or sign in if already registered.
The widget is embedded using the standard HTML <iframe
> element — no additional scripts or coding are required.
The embedded Leaderboard supports all standard options, such as sorting and filtering, searching with the Find account by login option, navigating between account statistics and the Leaderboard, switching between card and table views, and toggling between light and dark themes.
Below is an example of how the embedded Leaderboard may appear on a web page. Click it to explore the widget’s features. You can switch to fullscreen for a better view of the details.
The <iframe>
code for the Leaderboard widget
<iframe>
code for the Leaderboard widgetYou can insert the <iframe>
anywhere on a web page where you want the Leaderboard to appear. The <iframe>
must include the following:
<iframe src="https://example.com/en/widget/{platform_id}/{platform_type}/leaderboard"></iframe>
where:
https://example.com
— your Web UI domain.{platform_id}
— the identifier of the investment platform instance (such as for MT4, MT5, and so on). For details, refer to Obtain the identifier of the investment platform instance.{platform_type}
— the type of platform:b2copy
— for copy tradingmam
— for MAMpamm
— for PAMM
For example:
<iframe src="https://demo-full.b2copy.b2broker.com/en/widget/1/copy/leaderboard"></iframe>
Obtain the identifier of the investment platform instance
In the Back Office, go to Investment Platform > Platform Manager.
Find the required platform and click the Edit button in its row.

The identifier of the investment platform instance is the last number in the platform URL. In the example below, the identifier is 11
.

Last updated
Was this helpful?