Cookie Consent is a lightweight JavaScript plugin that alerts users to the use of cookies on your website. It is designed to help you quickly comply with the EU, GDPR, and California cookie laws. Cookie consent is fast, free, and easy to use for everybody.
The European Union’s General Data Protection Regulation (GDPR) went into effect in 2018, establishing seven principles that should govern the collection of personal information:
- Lawfulness, fairness, and transparency
- Purpose limitation
- Data minimization
- Storage limitation
- Integrity and confidentiality (security)
- Accountability
Cookie Consent is free and open source — you’re free to copy, modify and even sell the Cookie Consent. You can follow this link: https://www.osano.com/cookieconsent/download/ to get free cookie Consent
Get Cookie Consent
After filling in and setting some information according to the sequence of the coordinates, you can get the two pieces of code on the right:
There are three types of compliance types:
- Just tell users that we use cookies——You tell your users that you use cookies, and that by continuing to use your website they accept them.
- Let users opt out of cookies (Advanced)——You tell your users that you use cookies, and give them one button to disable cookies, and another to dismiss the message.
- Ask users to opt into cookies (Advanced)——You tell your users that you wish to use cookies, and give them one button to enable cookies, and another to refuse them.
There is a piece of code that needs to be deployed in the header, and a piece of code that is deployed in the body. You can directly deploy it according to the official requirements, but what I want to connect here is to deploy through Adobe Launch and merge the two pieces of code into one
Set Actions
Find the rule where Adobe Analytics is deployed:
Open it and create a action:
Actions Type choice Custom Code and language select HTML:
Then copy the two pieces of code into it:
Then move it forward a bit:
Save!!!
Publish and Test
Cookie Consent is out, in the head.
However, this function does not provide users with the ability to delete information by themselves. Strictly speaking, it still does not meet the individual rights in the EU ’s GDPR. It is recommended to use some mature commercial products to avoid GDPR trouble.