Any site that lets you edit the head of its pages can run the Asiri banner with two pieces of code.
Who can do this
An Owner or Admin of your Asiri workspace. The secret key, where a step needs one, is visible to Owners and Admins only.
Before you start
You need a source and a publishable key. Open Consent, then Sources, choose your source and open its Install tab. Your source id is on that page. A publishable key starts with pk_live_ or pk_test_; make one on Consent's Keys page, opened by Keys beside the source on Sources, if you have not got one. A publishable key goes in the page and records choices against a visitor only. A secret key starts with sk_ and never goes in a page, a theme or a tag.
Add it
- Open the source's Install tab. Copy the defaults block and the script line.
- Paste the defaults block, then the script line, as high in the
<head>as you can, before any analytics or advertising tag. - Load the page in a private window. The banner should show, and no analytics or advertising cookie should be set before you choose.
The script line has the pinned version in its address and a Subresource Integrity hash, so the browser refuses a script that has changed. An evergreen address follows security fixes by itself, but it cannot carry a hash.
The Install tab shows which platform it found on your site and which version of the script is on the page.