Webflow

The Optooki line goes into the site’s custom code, available with a paid site plan.

Compatibility: Paid site plans

Before you start

Create the site in the Optooki dashboard, set up the banner and publish it: the plugin shows the latest published version. The getting started guide covers it in five minutes.

Installation

  1. Paste the line into the site code

    Site settings, Custom code tab: paste the Optooki line at the very top of the Head code area, then save.

    <script src="https://consent.optooki.com/s/YOUR-SITE-ID.js"></script>
  2. Publish the site

    Custom code only applies to the published version, not in the Designer: publish, then check on the public address.

“Manage cookies” link and cookie list

Add a link to #optooki in the footer, or an Embed element containing <button type="button" data-cm-open>Manage cookies</button>. The cookie list is added the same way, in an Embed, on your cookie policy page: <div data-cm-cookie-list></div>.

Videos

YouTube and Vimeo videos added with Webflow’s Video element are iframes: to hold them until consent, use an Embed with data-cm-src instead (see Block trackers).

In the same section : Install

Your cookie banner, ready before your next coffee.

Create your account, customise the banner and add one line of code. Free for one site, no credit card required.