DYMATRIX in Usercentrics CMP V2 einbinden

Du kannst in die Usercentrics Consent Management Platform einbinden.

Vorgehen im Überblick:

Hinweis

Wie Du von CMP V1 zu CMP V2 wechseln kannst, findest Du hier.

Konfiguration in Usercentrics

Data Processing Services anlegen

Um Data Processing Services anzulegen, gehe folgendermaßen vor:

  1. Navigiere über das Menü zu Service Settings.

  2. Klicke in den Reiter Data Processing Services.

  3. Klicke auf Add DPS via Database.

  4. Tippe in das Suchfeld econda ein.

    DYMATRIX Screenshot

    Es müssen folgende Data Processing Services angezeigt werden:

    • Analytics Essential: Anonyme Datenerfassung ohne Cookies

    • Analytics: Datenerfassung mit Cookies

    • Personalization: Ausspielen von Produktempfehlungen

    • ARP: Personalisierung

  5. Klicke auf Add DPS.

Werden die Data Processing Services nicht angezeigt, gehe für die Konfiguration folgendermaßen vor:

Web Analytics Essential

  1. Wähle im Drop-Down-Menü predefinedConsents Web Analytics Essential aus.

  2. Wähle unter Category Essential aus.

  3. Setze den Haken bei Set Service Status to „Accepted“ by Default.

  4. Klicke auf Save DPS.

DYMATRIX Screenshot
DYMATRIX Screenshot

Web Analytics

  1. Wähle im Drop-Down-Menü predefinedConsents Web Analytics aus.

  2. Wähle unter Category Marketing aus.

  3. Klicke auf Save DPS.

DYMATRIX Screenshot

Personalization

  1. Wähle im Drop-Down-Menü predefinedConsents Personalization aus.

  2. Wähle unter Kategorie Functional aus.

  3. Klicke auf Save DPS.

DYMATRIX Screenshot

ARP

  1. Wähle im Drop-Down-Menü predefinedConsents ARP aus.

  2. Wähle unter Kategorie Marketing aus.

  3. Klicke auf Save DPS.

DYMATRIX Screenshot

Nach diesen Schritten sind alle Data Processing Services angelegt.

DYMATRIX Screenshot

Um die Änderungen zu speichern, klicke im Menü auf Save.

DYMATRIX Screenshot

Window Event anlegen

Um DYMATRIX zu verwenden, benötigst Du ein Window Event.

Um das Window Event anzulegen, gehe folgendermaßen vor:

  1. Navigiere über das Menü zu Implementation.

  2. Klicke in den Tab Data Layer & Events.

  3. Klicke auf Window Event.

  4. Gib im Feld Window Event Name (1) den Namen econda_uc ein.

  5. Füge den Namen mit einem Klick auf + (2) hinzu.

    DYMATRIX Screenshot
  6. Um die Änderungen zu speichern, klicke im Menü auf Publish.

Anpassungen in Analytics

Analytics JS-Bibliothek

Stelle in den Datenschutzeinstellungen Anonymes Messen als Vorausgewählter Messmodus ein.

Nach dem Herunterladen muss die Analytics JS-Bibliothek auf Deiner Website ausgetauscht werden.

DYMATRIX Screenshot

Anpassungen auf Deiner Website

Einbinden des Usercentrics Scripts

Wie Du das Usercentrics Script auf Deiner Website einbindest findet Du hier.

Anpassung Analytics Integration

Du musst die Analytics Einbindung nicht anpassen, da Anonymes Messen als vorausgewählter Messmodus eingestellt ist.

Anpassung Personalization Widget Integration

Du musst die Widget-Einbindung nicht anpassen.

Zusätzliches Script zur Steuerung des Analytics Messmodus (Privacy Mode) mit ARP

<script>
//Script to control the Analytics measurement mode (Privacy Mode) with ARP
//If necessary, please set OPTIONAL_CONTENT_LABEL

window.addEventListener("econda_uc", function (e) {

    window.econda.ready(() => {

        if (e.detail.event === "consent_status" && e.detail["econda Analytics"] === false) {
            if (e.detail.event === "consent_status" && e.detail["econda ARP"] === true) {
                if(localStorage.getItem("emos_privacy") !== null) {
                    window.emos3.send({'privacy_mode':3});
                }

                if (window.econda.arp.PrivacyProtection.getProfileState() !== 'ALLOW') {
                    try {
                        window.econda.arp.PrivacyProtection.updatePermissions([{
                            state: 'ALLOW',
                            version: '5.0',
                            timestamp: new Date().toISOString()
                        }],OPTIONAL_CONTENT_LABEL);
                    }
                    catch (e) {console.error('Could not update econda Privacy Protection settings.')}
                }
            }
            else if (e.detail.event === "consent_status" && e.detail["econda ARP"] === false) {
                if(localStorage.getItem("emos_privacy") !== null) {
                    window.emos3.send({'privacy_mode': 'reset'});
                }

                if (window.econda.arp.PrivacyProtection.getProfileState() !== 'DENY') {
                    try {
                        window.econda.arp.PrivacyProtection.updatePermissions([{
                            state: 'DENY',
                            version: '5.0',
                            timestamp: new Date().toISOString()
                        }],OPTIONAL_CONTENT_LABEL);
                    }
                    catch (e) {console.error('Could not update econda Privacy Protection settings.')}
                }
            }
        }
        else if (e.detail.event === "consent_status" && e.detail["econda Analytics"] === true) {
            if (e.detail.event === "consent_status" && e.detail["econda ARP"] === true) {
                if(localStorage.getItem("emos_privacy") !== '3') {
                    window.emos3.send({'privacy_mode':3});
                }

                if (window.econda.arp.PrivacyProtection.getProfileState() !== 'ALLOW') {
                    try {
                        window.econda.arp.PrivacyProtection.updatePermissions([{
                            state: 'ALLOW',
                            version: '5.0',
                            timestamp: new Date().toISOString()
                        }],OPTIONAL_CONTENT_LABEL);
                    }
                    catch (e) {console.error('Could not update econda Privacy Protection settings.')}
                }
            }
            else if (e.detail.event === "consent_status" && e.detail["econda ARP"] === false) {
                if(localStorage.getItem("emos_privacy") !== '3') {
                    window.emos3.send({'privacy_mode':3});
                            }

                if (window.econda.arp.PrivacyProtection.getProfileState() !== 'DENY') {
                    try {
                        window.econda.arp.PrivacyProtection.updatePermissions([{
                            state: 'DENY',
                            version: '5.0',
                            timestamp: new Date().toISOString()
                        }],OPTIONAL_CONTENT_LABEL)
                    }
                    catch (e) {console.error('Could not update econda Privacy Protection settings.')}
                }
            }
        }
    });
});
</script>

Hinweis

Falls `OPTIONAL_CONTENT_LABEL` definiert ist, wird dieser Wert als Content-Label für das Tracking verwendet.

Ist kein Wert gesetzt, wird standardmäßig „arp-privacy-protection/permission-update“ verwendet.

Zusätzliches Script zur Steuerung des Analytics Messmodus (Privacy Mode) ohne ARP

<script>
//Additional script to control the Analytics measurement mode (Privacy Mode) without ARP

    window.addEventListener("econda_uc", function (e) {
        if ((e.detail.event === "consent_status") && e.detail["econda Analytics"] === false) {
            if(localStorage.getItem("emos_privacy") !== null) {
                                window.emos3.send({'privacy_mode': 'reset'});
            }
        }
        else if ((e.detail.event === "consent_status") && e.detail["econda Analytics"] === true) {
            if(localStorage.getItem("emos_privacy") !== '3') {
                                window.emos3.send({'privacy_mode':3});
                        }
        }
    });
</script>

Hinweis

Beachte: Das ARP-SDK muss geladen werden. Wie Du das sicherstellen kannst, findest Du hier.