Integrációk
Google Tag ManagerGoogle Tag Manager
gyakorlatban teszteltPlatformok és boltok

Google Tag Manager | Integrációk CookiePilot

Google Tag Manager: Ott kezdd, ahol a tagek betöltődnek: CMS, shop téma vagy GTM. Ezután ellenőrizd a product, cart, checkout és űrlap utakat.

Áttekintés

Google Tag Manager: Ott kezdd, ahol a tagek betöltődnek: CMS, shop téma vagy GTM. Ezután ellenőrizd a product, cart, checkout és űrlap utakat.

gyakorlatban tesztelt
Ott kezdd, ahol a tagek betöltődnek: CMS, shop téma vagy GTM. Ezután ellenőrizd a product, cart, checkout és űrlap utakat.
Nem állítunk olyan tanúsítást, amely nincs a termékben. Consent Mode v2, dataLayer, tracker gating és gyakorlati tesztek szerepelnek.

What the CookiePilot app generates for GTM

Domain → Installation → Google Tag Manager generates a real GTM snippet, not only generic documentation. The backend returns directSnippet, stubSnippet and gtmSnippet; the GTM version combines an inline Consent Mode stub with cookiepilot.js loaded from the CDN for the domain key.

The stub runs synchronously, creates dataLayer/gtag, sets default consent and reads stored cookiepilot_consent for returning visitors before later tags read the state.

Source: domains.service.ts and install-method-tabs.tsx
GTM event: cookiepilot_consent_update
Native event: cookiepilot:consent

Google tags and non-Google tags

Google tags should use Consent Mode v2. GA4 relies on analytics_storage, while Google Ads also needs ad_storage, ad_user_data and ad_personalization.

Meta, TikTok, Hotjar and Klaviyo should usually use the cookiepilot_consent_update dataLayer event or the native cookiepilot:consent event if they are outside GTM.

Google: Consent Mode v2
Non-Google: dataLayer Custom Event
Hardcoded scripts must be moved or gated

Lépések

  1. 1Ott kezdd, ahol a tagek betöltődnek: CMS, shop téma vagy GTM. Ezután ellenőrizd a product, cart, checkout és űrlap utakat.
  2. 2Nem állítunk olyan tanúsítást, amely nincs a termékben. Consent Mode v2, dataLayer, tracker gating és gyakorlati tesztek szerepelnek.
  3. 3Tesztlista: gyakorlatban tesztelt.

Példa snippet

<script src="https://cdn.cookiepilot.io/stub.js"></script>
<!-- GTM container follows -->
<script src="https://cdn.cookiepilot.io/cookiepilot.js" data-cpkey="YOUR_API_KEY"></script>

Tesztlista

  • Hozzájárulási működés
  • Nem állítunk olyan tanúsítást, amely nincs a termékben. Consent Mode v2, dataLayer, tracker gating és gyakorlati tesztek szerepelnek.
  • Ott kezdd, ahol a tagek betöltődnek: CMS, shop téma vagy GTM. Ezután ellenőrizd a product, cart, checkout és űrlap utakat.

FAQ

Ez jogi tanács?

Nem. Technikai útmutató. Különleges adatfolyamoknál kérj jogi vagy DPO ellenőrzést.

A CookiePilot mindent automatikusan blokkol?

Autoblocking és Consent Mode támogatott. A CMP előtt töltődő trackereket stub mögé vagy GTM Consent Initialization alá kell tenni.