The Leaderboard and Account Statistics widgets let you put the public side of B2COPY on any web page — your marketing site, a CRM portal, a landing page — with a single iframe. No scripts, no SDK. The widgets are supported for Copy Trading, MAM, and PAMM.
What Visitors Can Do in the Widget
- Browse top-performing masters without signing in, with the standard sorting, filtering, and Find account by login search.
- Open any account to see its detailed Account Statistics, and navigate back to the Leaderboard.
- Switch between card and table views, and between light and dark themes.
- Click Follow to subscribe: full solutions redirect to the Web UI Sign In page; standalone solutions let the visitor enter trading-account credentials and subscribe right in the widget.
Embed the Leaderboard
Full B2COPY solutions use /widget in the URL; standalone solutions use /external. Everything else is identical.
<!-- Full solution -->
<iframe src="https://example.com/en/widget/{platform_id}/{platform_type}/leaderboard"></iframe>
<!-- Standalone solution -->
<iframe src="https://example.com/en/external/{platform_id}/{platform_type}/leaderboard"></iframe>| URL part | Meaning |
|---|---|
https://example.com | Your Web UI domain. |
en | Language code — any language supported in your Web UI. |
{platform_id} | The investment-platform instance identifier (see below). |
{platform_type} | copy for Copy Trading, mam for MAM, and for PAMM: pamm-new in full solutions, pamm in standalone. |
<!-- Working example (full solution, Copy Trading, platform 1) -->
<iframe src="https://demo-full.b2copy.b2broker.com/en/widget/1/copy/leaderboard"></iframe>Embed Account Statistics for One Account
Append the account number to the Leaderboard URL to open a specific account’s statistics directly:
<iframe src="https://example.com/en/widget/{platform_id}/{platform_type}/leaderboard/{account_number}"></iframe>
<!-- Example -->
<iframe src="https://demo-full.b2copy.b2broker.com/en/widget/1/copy/leaderboard/2838035"></iframe>Force a Theme
To match your page style, pin the widget to a theme with a query parameter:
<iframe src="https://example.com/en/widget/1/copy/leaderboard?theme=dark"></iframe>
<iframe src="https://example.com/en/widget/1/copy/leaderboard?theme=light"></iframe>Find Your Platform ID
Open the Platform Manager
In the management console, go to Investment Platform → Platform Manager.
Edit the platform
Find the platform row and click Edit. The instance identifier is the last number in the page URL — that is your
{platform_id}.
Size the iframe generously (e.g. width="100%" height="900") — the Leaderboard paginates inside the frame. You can preview a live embedded Leaderboard on the B2COPY product page under “Easy integration to your CRMs”.
