feat(03-cookie-consent): integrate CookieNoticePro with Google Consent Mode v2
Phase 3 complete: - Copy CookieNoticePro library to libraries/CookieNoticePro/ - Fix bug: analytics_storage sent 'granted' instead of 'denied' on rejection - Add Consent Mode v2 default-denied init before GTM snippet in layout-logged.php - Fix plugin init: cookieNoticePro.init() per library docs - Fix duplicate button label (CSS display:none for acceptBtnSettingsLabel) - Add Bootstrap 5 compatibility reset for banner buttons - Set regulamin link to https://bilety.brzezovka.pl/tickets/regulamin/ v0.2 Analytics & Privacy milestone complete. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,3 +12,18 @@
|
||||
- `autoload/controls/class.Tickets.php`
|
||||
- `templates/tickets/przelewy24.php`
|
||||
- `templates/tickets/order-confirm.php`
|
||||
|
||||
---
|
||||
|
||||
- [Phase 3, Plan 01] Wdrożono baner zgody na cookies (CookieNoticePro) z Google Consent Mode v2
|
||||
- Skopiowano bibliotekę CookieNoticePro do libraries/CookieNoticePro/
|
||||
- Naprawiono błąd biblioteki: analytics_storage wysyłało 'granted' zamiast 'denied' przy odmowie
|
||||
- Dodano inicjalizację Consent Mode v2 (default: denied) przed snippetem GTM w layout-logged.php
|
||||
- Naprawiono inicjalizację pluginu: cookieNoticePro.init()
|
||||
- Naprawiono duplikat tekstu w przycisku (CSS display:none dla acceptBtnSettingsLabel)
|
||||
- Zmieniono link regulaminu na https://bilety.brzezovka.pl/tickets/regulamin/
|
||||
- Milestone v0.2 Analytics & Privacy — COMPLETE
|
||||
|
||||
- `libraries/CookieNoticePro/cookienoticepro.script.js`
|
||||
- `libraries/CookieNoticePro/cookienoticepro.style.css`
|
||||
- `templates/site/layout-logged.php`
|
||||
|
||||
Reference in New Issue
Block a user