Embed widget

Paste a live license badge into your bio in three steps.

Mint a composer or per-track token, copy the snippet, paste it on Bandcamp, SoundCloud, or your own CMS. The widget renders live detection counts and license status — no JavaScript required, no visual drift, no "Powered by" hidden inside a stylesheet.

The embed widget is a small public, no-auth endpoint that renders a single composer or per-track license badge. Composer names, detection counts, and timestamps all live behind the same zod-allow-list that drives the public archive — no raw IDs, no email addresses, no platform URLs. Paste the snippet, and the iframe does the rest.

Embed · Mint · Paste

Three steps. One snippet. Zero JavaScript on the host page.

Every step is documented inline — the snippet you copy is the exact same wire format the dashboard mints on click, so a composer pasting into a third-party CMS never has to second-guess the URL they just pasted.

  1. 1 · Mint

    Mint a token

    Pick a composer-scope widget for whole-catalogue status or a track-scope widget for one specific track. Tokens stay revocable from the same dashboard panel — no permanent leakage if a third-party CMS exposes your bio.
  2. 2 · Get snippet

    Copy the snippet

    The snippet section on this page renders both the iframe variant (paste straight into a raw-HTML block) and the JS-injection variant (for CMSes that strip iframes). Pick the one your CMS exposes.
  3. 3 · Paste

    Paste on third-party sites

    Drop the snippet into a Bandcamp profile, a SoundCloud bio, a personal-site <main>, or any CMS that preserves raw HTML. The iframe is <520px wide and stays self-contained — no chart-bundler, no Tailwind class names, no JS framework.

Where to paste

Bandcamp, SoundCloud, your own site — same snippet, three surfaces.

The snippet is platform-agnostic. Pick the surface that matches the CMS your bio exposes.

Bandcamp bio

Bandcamp profile bios accept raw HTML. Paste the iframe snippet into the bio field; the badge renders beneath your name and stays under 240px tall on desktop and mobile.

SoundCloud description

SoundCloud bios do not support raw iframes — use the JS-injection snippet. The script auto-creates the iframe inside a placeholder div, no extra work required.

Your own site

For a personal site or a WordPress block, paste the iframe snippet into a Custom HTML block. The widget loads lazily, never blocks the page render, and never exceeds a 240px height.

Visual variants

Two styles, two themes — every combination renders the same data.

The badge ships in an inline-panel or a compact badge form for tighter bio spaces; pick dark or light to match the host page's palette. The data shape is identical — style and theme only change the layout tokens the iframe renders.

LicenseTrack

Kara Square

Epic Horizon · Acoustic

Detected

12

Licensed

4

Last seen

2h ago

Inline dark

LicenseTrack

Kara Square

Epic Horizon · Acoustic

Detected

12

Licensed

4

Last seen

2h ago

Inline light

LicenseTrack

Night Drive

Badge dark

LicenseTrack

Night Drive

Badge light

sample_token_for_demo_only_16

Snippet

Pick the snippet that fits your CMS. Replace the placeholder token.

The snippet below uses a PLACEHOLDER_REPLACE_AFTER_MINT stub so composers can copy the wire format straight from this page. Replace it with the token your dashboard mints under Dashboard · Embed widget.

Iframe snippet

Paste straight into Bandcamp, SoundCloud, or your own CMS' HTML block. The widget loads in an <iframe> with no JavaScript required.

<iframe
  src="https://licensetrack.polsia.app/embed/PLACEHOLDER_REPLACE_AFTER_MINT"
  title="LicenseTrack widget"
  width="100%"
  height="240"
  loading="lazy"
  scrolling="no"
  frameborder="0"
  style="border:0;border-radius:12px;overflow:hidden;max-width:520px;background:#0b1024"
></iframe>

JS-injection snippet

For CMSes that strip <iframe> tags or auto-escape embedded HTML — the snippet injects the iframe from a placeholder <div> at runtime.

<div id="licensetrack-PLACEHOLDER_REPLACE_AFTER_MINT"></div>
<script>
  (function () {
    var id = "licensetrack-PLACEHOLDER_REPLACE_AFTER_MINT";
    var host = document.getElementById(id);
    if (!host) return;
    var iframe = document.createElement("iframe");
    iframe.src = "https://licensetrack.polsia.app/embed/PLACEHOLDER_REPLACE_AFTER_MINT";
    iframe.title = "LicenseTrack widget";
    iframe.width = "100%";
    iframe.height = "240";
    iframe.loading = "lazy";
    iframe.scrolling = "no";
    iframe.frameBorder = "0";
    iframe.style.cssText = "border:0;border-radius:12px;overflow:hidden;max-width:520px;background:#0b1024";
    host.appendChild(iframe);
  })();
</script>

Replace PLACEHOLDER_REPLACE_AFTER_MINT with the token from your dashboard's Embed widget page (Mint → Get snippet → Paste).

Live preview

What you see here is what composers paste.

The iframe below points at the public /embed/<token> endpoint. Replacing the placeholder token with a real dashboard token swaps the "no longer active" stub for a live license status card.

Live preview rendered against the public /embed/<token> endpoint. The exact same frame shows for any composer who pastes the snippet — just replace the token with one minted from your dashboard.

Privacy posture

Strict allow-list. No PII. No raw URLs.

The widget renders only the fields a composer is happy to put on a public bio — composer name, track title, detection count, last-seen timestamp, and the protected / active / flagged badge. Nothing the composer would not already put on their own site surfaces in the iframe. Revoke from the dashboard at any time; the iframe goes dark within the published cache window.

Ready to give your music label-grade protection?

Pro features start with a 7-day trial. Card required · cancel any time before day 8 · no charge.

Questions? Email licensetrack@polsia.app.