# Installationsguider för WordPress, Shopware, Magento m.fl. · Consentl

> Steg-för-steg-guider för att installera Consentl på WordPress, WooCommerce, Shopware, PrestaShop, Magento, Google Tag Manager, webbplatsbyggare och JavaScript-ramverk.

Source: https://consentl.com/sv/docs

# 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)

1.  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](https://app.consentl.com/signup)
2.  Kopiera webbplatsnyckeln från webbplatsens installationssida. Den börjar med sk\_ och är offentlig: den identifierar din webbplats, den är inget lösenord.
3.  Pluginen kan hämta nyckeln åt dig med knappen Anslut. Annars klistrar du in den eller lägger själv till laddarskriptet.
4.  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)](https://consentl.com/sv/docs/shopify)

## Shopify

-   ### [Shopify](https://consentl.com/sv/docs/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](https://consentl.com/sv/docs/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](https://consentl.com/sv/docs/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](https://consentl.com/sv/docs/shopware)
    
    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](https://consentl.com/sv/docs/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](https://consentl.com/sv/docs/magento)
    
    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)](https://consentl.com/sv/docs/web)
    
    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](https://consentl.com/sv/docs/gtm)
    
    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](https://consentl.com/sv/docs/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](https://consentl.com/sv/docs/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](https://consentl.com/sv/docs/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](https://consentl.com/sv/docs/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](https://consentl.com/sv/docs/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](https://consentl.com/sv/docs/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](https://consentl.com/sv/docs/nextjs)
    
    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](https://consentl.com/sv/docs/nuxt)
    
    Add the Consentl loader to Nuxt 3 and 4 with app.head and tagPriority 0, so it renders before every other script.
    
-   ### [Astro](https://consentl.com/sv/docs/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)](https://consentl.com/sv/docs/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.
