Preview for review. Topmark is not live yet, and prices, wording, and pages may change before launch.

Docs

How to install Topmark, set it up, and place warnings on your pages.

Install

The free plugin shows the UK FCA's standard crypto warning. It will be listed on WordPress.org, where you install it from Plugins, Add New. The paid plans add every covered country, and you install them from the zip that comes with your license.

  1. Install and activate Topmark.
  2. Open Settings, then Topmark.
  3. Choose where the warning shows and how, add your risk summary link, and save.

Topmark needs WordPress 6.0 or later and PHP 7.4 or later.

Settings

  • Where it shows sets every page on the site, only the posts and pages you switch it on for, or only where you add the [topmark] shortcode or the Risk warning block. Each post has a Topmark box with its own switch.
  • How it shows sets a bar pinned to the top of the screen or a box above the article text. A sticky bar is part of the page, and a fixed bar sits above the page for themes whose header would cover it. Paid plans can follow each regulator's rule, with a bar where a rule asks for the top of the screen and a box elsewhere.
  • Colors sets dark text on white, white text on dark, or your own background, text, and border colors. Some rules ask for the warning to stand out from the page, so keep strong contrast.
  • The risk summary link is the page "Take 2 mins to learn more" opens in the UK. Use the risk summary your provider or approving firm gives you. The link stays hidden until you add one.
  • The fallback is the warning readers see in a country you do not target, or one Topmark does not cover yet. It can be any reviewed warning, or none.

Shortcodes and blocks

  • [topmark] or the Risk warning block places the warning where you put it. Add product="cfd" to choose the product, from crypto, cfd, spread_bet, and restricted_option.
  • [topmark_promo provider="ig" product="cfd"] or the Promotion block wraps an offer so Topmark can hide it for readers in a country you tick.
  • [topmark_broker id="ig"] or the Broker warning block shows that provider's own warning, with the figure its site gives readers in the reader's country.

Countries

On paid plans each reader sees the warning their own regulator requires, in that regulator's language. Tick the countries your site targets, or leave them all unticked to cover every country Topmark covers. You can also turn on the fixed statements some rules ask promotions to carry, such as the EU MiCA statement. They bind the provider in most cases and are off by default. Changes for single countries let you show a different warning, or none, to readers in one country. See what Topmark covers.

Promotions Topmark can hide

Some regulators restrict a product's promotion in their country, and some providers say on their own sites that they do not serve readers in certain countries. Wrap an offer in the Promotion block or the [topmark_promo] shortcode, tick the countries where it should hide, and Topmark hides it for readers there. Each line in the settings says what the rule restricts. Read the rule before you rely on it.

Broker figures

Topmark reads each provider's own site, entity by entity, and keeps the figure and the exact sentence with the page and the date it was read. The broker block shows the sentence for the entity that serves the reader's country.

Page caching

Cached pages carry every warning a reader could need, with the fallback showing. A script under 3 KB asks Topmark's endpoint, which no cache stores, for the reader's country and shows the right warning. The space for the warning is kept, so the page never shifts. The free plugin shows the same UK warning to every reader, so every cache serves the right page.

Finding the reader's country

Topmark reads the country header from Cloudflare, Amazon CloudFront, and Vercel by itself. For Fastly or another CDN, enter the name of the header your CDN sets. Without a header, Topmark can use WooCommerce geolocation or the IP-to-country database that comes with it (DB-IP, IP to Country Lite, Creative Commons Attribution 4.0). The country is worked out for each page view and never stored.

Updates and the signed feed

Topmark checks every regulator source and every broker page each day. A change goes into review, and only reviewed changes reach sites. Paid plugins fetch the reviewed library once a day from a feed signed with Ed25519, check the signature, keep the last good copy, and fall back to the library they ship with. An unsigned or broken feed is refused.

Changes and the dated log

The Topmark changes screen lists what changed, when, and the source behind each change, and Topmark emails the site admin a short summary when wording or a figure changes on the site. The dated log records which warning version showed on which page each day, with no reader data, and you can download it as CSV. See the public changelog.

What Topmark stores

Topmark stores nothing about your readers and sets no cookies. The free plugin makes no requests to outside services. Paid plans use Freemius for licenses and updates, and Freemius receives your site's details only if you opt in. Privacy

Testing with draft wording

Define TOPMARK_SHOW_DRAFTS as true in wp-config.php to see wording that is still in review, each text marked "Draft, not reviewed". Use it on a test site only.