Ota Consentl käyttöön alustallasi

Valitse alustasi ja seuraa ohjetta. Jokainen ohje näyttää, miten Consentl asennetaan ja yhdistetään, mitä asetetaan, miten toiminta tarkistetaan ja mitä alusta ei salli.

Miten osat liittyvät yhteen

Hallintapaneeli
Osoitteessa app.consentl.com. Täällä suunnittelet bannerin, valitset alueet, tarkistat evästeet ja tekstit sekä löydät suostumuskirjauksesi ja tietosuojapyyntösi.
Sivustoavain
Julkinen tunniste, joka alkaa sk_ ja kertoo Consentlille, minkä sivuston asetuksia käytetään. Se ei ole salasana.
Lataaja
Yksi skripti ensimmäisenä <head>-osiossa. Se soveltaa kävijän valinnan, pidättää suostumusta odottavat tagit ja näyttää bannerin tarvittaessa.
Lisäosa tai koodinpätkä
Lisäosat lisäävät lataajan puolestasi ja välittävät jokaisen valinnan alustan omiin suostumusasetuksiin. Muilla sivustoilla liität koodinpätkän itse.

Ennen kuin aloitat (kaikki alustat paitsi Shopify)

  1. Luo ilmainen tili osoitteessa app.consentl.com ja lisää sivustosi kaikkine isäntänimineen (www ja pelkkä verkkotunnus lasketaan yhdeksi; lisää testiverkkotunnukset erikseen). Aloita ilmaiseksi
  2. Kopioi sivustoavain sivuston asennussivulta. Se alkaa sk_ ja on julkinen: se yksilöi sivustosi, se ei ole salasana.
  3. Lisäosat voivat hakea avaimen puolestasi Yhdistä-painikkeella. Muussa tapauksessa liitä se tai lisää lataajaskripti itse.
  4. Shopify-kaupat käyttävät sen sijaan Consentl-sovellusta Shopifylle, joka ei tarvitse sivustoavainta. Se on tulossa pian. Shopify-sovellus (tulossa pian)

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.

Alustojen lisäosat

  • 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ä.

Mikä tahansa sivusto

  • 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.

Sivustotyökalut

  • 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.

Kehykset

  • 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.