Intégrer les widgets leaderboard et statistics

Placez le Leaderboard public et Account Statistics sur n’importe quelle page web externe via un iframe.

Pour les admins

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 partMeaning
https://example.comYour Web UI domain.
enLanguage 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

  1. Open the Platform Manager

    In the management console, go to Investment Platform → Platform Manager.

  2. 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”.

Pas encore client B2COPY ?

Apportez B2COPY à votre courtage et croissez en pilote automatique

Lancez le copy trading, PAMM et MAM sur vos serveurs existants et transformez vos meilleurs traders en moteur de croissance — avec hébergement, monitoring et support inclus. Vous ne savez pas par où commencer ? Parlez-nous et nous vous guiderons.

2–4 semaines

Délai de lancement

$0

Coût d’infrastructure

40%+

Augmentation du volume