Μετάβαση στο περιεχόμενο
Σοβαρότητα: ΥψηλήΥπεύθυνος: CMP adminΧρόνος διόρθωσης: 1-2 h

Cookies και tracking πριν από τη συγκατάθεση

Διορθώστε scripts analytics, marketing και τρίτων που ενεργοποιούνται πριν ο επισκέπτης πάρει απόφαση συγκατάθεσης.

Καλύπτει: pre_consent_analytics_cookie, pre_consent_marketing_cookie, pre_consent_tracker

Γιατί έχει σημασία

Σύμφωνα με το ePrivacy και τις αρχές του GDPR, η μη απαραίτητη αποθήκευση και το tracking απαιτούν συγκατάθεση πριν από την ενεργοποίηση. Η φόρτωση analytics ή marketing scripts πριν από την επιλογή του χρήστη δημιουργεί άμεσο κίνδυνο συμμόρφωσης.

Πώς να το επαληθεύσετε χειροκίνητα

  1. Open the site in a fresh private browsing window and do not interact with the banner.
  2. Check the Network panel for analytics, ads, heatmap, chat, or social pixel requests before consent.
  3. Inspect Application > Cookies and confirm whether non-essential cookies appear pre-consent.

Τυπικές αιτίες

  • GTM tags fire on page view without consent conditions.
  • CMP loads after analytics tags instead of before them.
  • Scripts are embedded directly in templates and bypass CMP blocking.

Διόρθωση στο GTM

  1. Enable Google Consent Mode v2 with default denied states for ad_storage, analytics_storage, ad_user_data, and ad_personalization.
  2. Update tag firing rules so analytics and marketing tags only fire when consent state is granted.
  3. Use consent initialization events before any marketing or analytics trigger paths.

Διόρθωση σε WordPress ή CMP plugins

  1. Install and configure CookieYes or Complianz with blocking enabled for analytics and marketing categories.
  2. Map services to categories and verify scripts are blocked pre-consent.
  3. Clear cache or CDN and retest in an incognito browser session.

Γενική διόρθωση για developers

  1. Block third-party script execution until consent is granted.
  2. Store pending scripts with a consent category marker.
  3. On consent grant, activate only scripts matching accepted categories.
<script
  type="text/plain"
  data-consent="analytics"
  data-src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXX">
</script>

Πώς να επιβεβαιώσετε ότι η διόρθωση λειτουργεί

  • Re-run the scan in a fresh session and confirm the finding disappears.
  • Verify that no non-essential cookies are set before interaction.
  • Verify that analytics and marketing requests only begin after opt-in.

Επόμενο βήμα

Εκτελέστε νέα σάρωση μετά το deploy για να επιβεβαιώσετε ότι άλλαξε η πραγματική συμπεριφορά runtime και όχι μόνο το κείμενο του banner.

Cookies και tracking πριν από τη συγκατάθεση — GDPR Fix Guide