Ręczne otwieranie / zmiana powierzchni warstwy zgody
Aby umożliwić użytkownikom późniejszą zmianę swoich wyborów, CMP zwykle wyświetla przycisk preferencji (lub przycisk przywracania) w lewym dolnym rogu okna:
Ustawienia tego przycisku można znaleźć w Menu > CMP > Edytuj CMP
W przypadku wyłączenia zdecydowanie zalecamy dodanie własnego linku lub przycisku do swojej witryny, aby umożliwić użytkownikom zmianę ustawień zgody.
Dodawanie linku stopki do swojej witryny
Jeśli chcesz, aby pojawiła się warstwa zgody (nawet dla użytkowników, którzy już wyrazili zgodę), możesz to zrobić, po prostu ładując stronę z hashem (#cmpscreen
) lub parametr (?cmpscreen
). Na przykład: http://www.mywebsite.com/#cmpscreen
wymusi wyświetlenie ekranu zgody. Możesz użyć następujących kodów, aby dodać Footer-Link lub podobny do swojej witryny:
1. Link to first page:
<a href="?cmpscreen" class="cmpfooterlink cmpfooterlinkcmp">Privacy settings</a>
2. Link to custom settings page:
<a href="?cmpscreencustom" class="cmpfooterlink cmpfooterlinkcmp">Privacy settings</a>
3. Link to privacy policy page:
<a href="?cmpscreenpolicy" class="cmpfooterlink cmpfooterlinkpcp">Privacy policy</a>
4. Link to cookies page:
<a href="?cmpscreencookie" class="cmpfooterlink cmpfooterlinkcmp">Cookies</a>
5. Only visible under GDPR, hidden for all others:
<a href="?cmpscreen" class="cmpfooterlink cmpfooterlinkhide cmpshowfooterlinkGDPR">Privacy settings</a>
6. Only visible under CCPA, hidden for all others:
<a href="?cmpscreen" class="cmpfooterlink cmpfooterlinkhide cmpshowfooterlinkCCPA">Privacy settings</a>
7. Not visible for GDPR, but all others:
<a href="?cmpscreen" class="cmpfooterlink cmphidefooterlinkGDPR">Privacy settings</a>
8. Not visible for CCPA, but all others:
<a href="?cmpscreen" class="cmpfooterlink cmphidefooterlinkCCPA">Privacy settings</a>
9. CCPA Opt-out link:
<a href="?cmpscreencustom" class="cmpoptoutfooterlink">Privacy settings</a>
10. CCPA Opt-out, Only visible for CCPA:
<a href="?cmpscreencustom" class="cmpoptoutfooterlink cmpfooterlinkhide cmpshowfooterlinkCCPA">Privacy settings</a>
11. CCPA Opt-out, Only visible for CCPA
<a href="?cmpscreencustom" class="cmpfooterlink cmpoptoutfooterlink cmpfooterlinkhide cmpshowfooterlinkCCPA">Privacy settings</a>
12. Link to Data Subject Requests Form (replace xxx with your ID):
<a href="?cmpscreendsar=xxx" class="cmpfooterlink cmpfooterlinkdsar">Data Subject Requests Form</a>
13. Link to Whistleblowing Form (replace xxx with your ID):
<a href="?cmpscreenwb=xxx" class="cmpfooterlink cmpfooterlinkwb">Whistleblowing Form</a>
Jako alternatywę możesz użyć #cmpscreencustom
or ?cmpscreencustom
w celu wyświetlenia strony wyborów niestandardowych zamiast strony powitalnej ekranu akceptacji.
<a href="/?cmpscreen">Cookie settings</a>
Można również użyć JavaScript API w celu bezpośredniego otwarcia warstwy.