Skip to content

Frameworks

Marketplace

Platform

Resources

↑↓ to moveEnter to openHelp, news and every page are found here too

Adding Asiri Consent to Framer

Paste the Asiri consent script into your Framer site settings.

Updated

Framer loads the banner from custom code in the site settings.

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. Custom code needs a paid Framer site plan, so check yours.

Add it

  1. Open the source's Install tab and choose Framer. Copy the defaults block and the script line.
  2. In Framer, open Site Settings, then General, and find Custom Code.
  3. Paste the defaults block and then the script line into Start of head tag, and publish.
  4. Open the published site in a private window. The banner should show.

Can’t find what you need? Contact us.