Installera Consentl på din plattform
Välj din plattform och följ guiden. Varje guide visar hur du installerar och ansluter Consentl, vad du ska ställa in, hur du kontrollerar att det fungerar och vad plattformen inte tillåter.
Hur delarna hänger ihop
- Kontrollpanel
- På app.consentl.com. Här utformar du bannern, väljer regioner, går igenom cookies och texter och hittar dina samtyckesposter och integritetsförfrågningar.
- Webbplatsnyckel
- Ett offentligt ID som börjar med sk_ och talar om för Consentl vilken webbplats inställningar som ska användas. Det är inget lösenord.
- Laddare
- Ett skript, först i <head>. Det tillämpar besökarens val, håller tillbaka de taggar som väntar på samtycke och visar bannern vid behov.
- Plugin eller kodsnutt
- Pluginen lägger till laddaren åt dig och skickar varje val vidare till plattformens egna samtyckesinställningar. På andra webbplatser klistrar du själv in kodsnutten.
Innan du börjar (alla plattformar utom Shopify)
- Skapa ett gratiskonto på app.consentl.com och lägg till din webbplats med alla värdnamn den körs på (www och domänen utan www räknas som ett; lägg till testdomäner separat). Börja gratis
- Kopiera webbplatsnyckeln från webbplatsens installationssida. Den börjar med sk_ och är offentlig: den identifierar din webbplats, den är inget lösenord.
- Pluginen kan hämta nyckeln åt dig med knappen Anslut. Annars klistrar du in den eller lägger själv till laddarskriptet.
- Shopify-butiker använder i stället Consentl-appen för Shopify, som inte behöver någon webbplatsnyckel. Den kommer snart. Shopify-app (kommer snart)
Shopify
Shopify
The Consentl app for Shopify is coming soon: a theme app embed with no code and no site key that passes each choice to Shopify's Customer Privacy API.
Plattformsplugins
WordPress
Install the Consentl plugin, click Connect, and the banner loads first in <head>. Works with the WP Consent API, page caches, WPML and Polylang, block and classic themes.
WooCommerce
WooCommerce shops use the Consentl WordPress plugin. It keeps WooCommerce order attribution off until the visitor allows marketing, and works with full-page caching.
Shopware 6
The Consentl plugin for Shopware 6.6 and 6.7 puts the banner first in <head>, replaces the Shopware cookie bar and keeps cookie groups in sync with each choice.
PrestaShop
The Consentl module for PrestaShop 8 and 9: the banner first in <head>, ready-made privacy pages, shortcodes and widgets, multistore and the official GDPR module.
Magento 2
The Consentl module for Magento and Adobe Commerce 2.4.6 to 2.4.8: the loader right after <meta charset>, a Cookie Restriction Mode bridge and CMS widgets. Luma and Hyvä.
Alla webbplatser
Any website (snippet)
Add one script tag first in your site's <head>. The banner, texts, regions, Consent Mode and blocking rules are all configured in the Consentl dashboard.
Google Tag Manager
A Google Tag Manager template, imported by hand, that sets Consent Mode v2 defaults per region and forwards each choice to your Google tags, on every Consentl plan.
Webbplatsbyggare
Webflow
Add the Consentl loader to Webflow's site-wide Head code, forward the choice to Webflow Analyze, and learn what "not first in head" means on Webflow.
Wix
Add Consentl as Wix custom code, route tracking through Marketing Integrations, pass each choice to Wix's Consent Policy Manager and learn the limits on Wix.
Squarespace
Add Consentl with Squarespace code injection, move Google Analytics out of the built-in integration, turn off Squarespace's cookie banner and see what runs first.
BigCommerce
Install Consentl on BigCommerce with Script Manager or in the Stencil theme for strict prior blocking, keep checkout PCI-compliant, and use it on Catalyst storefronts.
Ghost
Add Consentl to a Ghost publication with code injection, or in the theme for a loader that is truly first in <head>, and see which Ghost features Consentl does not hold.
Framer
Add Consentl with Framer's "Start of <head> tag" custom code, which runs it before Framer's own scripts, and replace Framer's Cookie Banner component.
Ramverk
Next.js
Put Consentl first in <head> of the App Router root layout, load other tags through a small ConsentlScript component, or use the Pages Router _document.
Nuxt
Add the Consentl loader to Nuxt 3 and 4 with app.head and tagPriority 0, so it renders before every other script.
Astro
Add the Consentl loader to your Astro base layout with is:inline, so Astro does not bundle it into a deferred module. Works with view transitions (ClientRouter).
React, Vue, Angular (SPA)
Put the Consentl loader in index.html, not in a component, for single-page apps built with Vite, Create React App or the Angular CLI.