Hopp til innhold

Without WordPress

A lawful cookie banner on any website

You do not need WordPress to use Samtykkr. On any other website you paste one line of code into the page head, and the same lawful banner renders: Consent Mode v2 denied by default, equal Accept and Reject, and no tracking before consent. Consent is stored locally on the visitor's device, and nothing about visitors is sent to us.

The single line you add to the <head>:

<script async src="https://app.samtykkr.no/v1/loader.js?site=DIN-NOKKEL"></script>

Replace DIN-NOKKEL with the public key you get in the customer area at app.samtykkr.no. The script loads asynchronously and does not break caching or Core Web Vitals.

How to do it

  1. 1Buy a plan at app.samtykkr.no. The snippet is part of Pro.
  2. 2Add your website in the customer area and copy the snippet with your own key.
  3. 3Paste the line into the <head> of your website, and the banner is in place.

Platforms

The snippet works anywhere you can add a line to the page head, including:

  • Shopify
  • Wix
  • Squarespace
  • Webflow
  • Custom-coded sites

Privacy built in

The banner stores the visitor's choice in localStorage on their own device. Nothing about visitors is sent to us. It is the same lawful engine as in the WordPress plugin, simply delivered via a line of code.

Ready to start?