Install the floating badge
The floating badge is a corner seal. Put widget.js in the head after SiteTrust Consent. Use the badge ID from your certification, not a guessed value.
What you are installing
The Trust Badge is widget.js. It is not the consent banner. Copy the snippet from the dashboard (Badge / AI Policy / certification card). It already has your data-sitetrust-id. Optional: data-sitetrust-domain for the certified host.
<script src="https://www.sitetrust.com/widget.js"
data-sitetrust-id="ST-XXXXX-XXXXX">
</script>Where it goes
Step 1. Install consent first
If the site uses SiteTrust Consent, consent-widget.js is the first script in the head. The badge is second. See Combined snippet.
Step 2. Paste the floating script in the head
Theme head, header plugin, or Code Injection: after consent, not in a footer block. A floating script in the footer can still draw a corner seal, but head-after-consent is the supported order.
Step 3. Publish and click the seal
The seal should open the live certificate for that domain. If nothing appears, the script may be present while badge_visible is still false. Read When the badge displays.
One floating badge
The floating widget initializes once. Do not paste two floating scripts. You may add a separate inline badge in the footer. That uses data-sitetrust-mode="inline" and the same badge ID.
Compact floating
Add data-sitetrust-size="compact" if you want the smaller corner seal. Details: Standard and compact sizes.
<script src="https://www.sitetrust.com/widget.js"
data-sitetrust-id="ST-XXXXX-XXXXX"
data-sitetrust-size="compact">
</script>Need help?
Email wecare@sitetrust.com with your site URL and platform. One business day response, Monday through Friday.