feat(userdata): add opt-in hashed form data for enhanced conversions #15
No reviewers
Labels
No labels
Area/Admin
Area/CI
Area/Tagging
Kind/Bug
Kind/Chore
Kind/Docs
Kind/Feature
Phase/1 Grundgerüst
Phase/2 Grundattribute
Phase/3 Automatische Auszeichnung
Phase/4 Interaktionen
Phase/5 Übergang in den Shop
Phase/6 Release
Priority/High
Priority/Low
Priority/Normal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Sulu-Bundles/wsc_sulubundle_walkeros!15
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/enhanced-conversions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Neues Opt-in-Event
user_data(je Webspace, Standard aus) für Enhanced Conversions in GA4 und Google Ads, analog zum Shopware-Pluginwsc_swplugin_datalayerga4matomo.Configuration::OPT_IN_EVENTS:user_datableibt auch bei eingeschaltetem Tagging aus, bis es für den Webspace eingeschaltet wird (Admin-Tab oder YAML)ElementTagger: setzt nurdata-wsc-userdataam<body>, keine Datenwalkeros-userdata.js: nur bei Marketing-Einwilligung; hasht E-Mail (trimmen, Kleinbuchstaben) und Telefon (nur mit Ländervorwahl) per SHA-256, hält nur den Hash bis zu 10 Minuten im sessionStorage, sendetelb('user data', …)erst auf der Seite mit Erfolgsbox; Klartext wird nie gespeichert oder gesendetevents.md,consent.md,README.md,testmatrix.md), Ausnahme inProjekt.mdbegründetGeprüft: 79 Tests, PHP-CS-Fixer, PHPStan Level 8,
lint:container; SHA-256 gegen Node-crypto (inkl. Umlaute, Emoji, Blockgrenzen); Ablauf mit gefälschtem window (an, ohne Erfolgsbox, ohne Einwilligung, Schalter aus); im DDEV Attribut am<body>bei an, fehlt bei aus.Nicht geprüft: echter Lauf mit walker.js und Collector (wartet auf consentanalytics #47). Ungeklärt: AJAX-Formulare und Sylius-Checkout (über Headless-Bundle #6/#9).
Refs #7