If you need to know more about GDPR you can check this link: https://www.seerinteractive.com/blog/the-gdpr-simplified/
The key point here is to make sure that any cookies that are potentially used are created after the user’s consent (that’s technically – a click).
This guide assumes that you have a fair technical background. If you don’t – you can contact us to help you out.
Let’s start ….
Step 1: Checking
Let’s check first of all if you are compliant or not. Go to https://2gdpr.com/, enter your website, wait a bit and see the results.
If you are not compliant please continue, otherwise you are good to go.
Step 2: Deep scan
Use this scanner https://www.ezigdpr.com/products/gdpr-website-compliance-checker to have a detailed look at which cookies cause the issue with GDPR. You will be surprised to find that even loading a youtube video can create unwanted cookies. That is something that you might need to check. More on this later.
Step 3: WordPress users, Download Cookie Notice
After playing around a bit with various options I found out that this plugin is pretty easy to use and has 800.000 downloads. The plugin is here: https://wordpress.org/plugins/cookie-notice/
That means that is well supported. The good thing with this plugin is that you get a function to use at your code to specifically allow certain scripts to be loaded only after the user’s consent. Now the function that interest us is this one:
cn_cookies_accepted())
Step 4: Google Analytics, Google Tag Manager
At your header file, find all related scripts with Google Analytics, Tag manager scripts or any other script that you think is creating potential cookies. You can refer to Step 2 to specifically find those cookies/scripts. Most of the time will be a Google Analytics, Google Tag Manager, Facebook Pixel etc. These are the things we are looking for here. Create an if statement around those script calls.
It might be the case the even loading a youtube video can cause unwanted cookies. For that you might want to use the cn_cookies_accepted function to wrap iframes or use javascript instead.
Step 5: Checking again
And that’s it! Unless you are using caching mechanism that might complex things a bit you should be good to go given the fact that you isolated all the cookie generative scripts in your code using the cn_cookies_accepted() function.
Boom! Website is GDPR-compliant now.
Step 6: Non WordPress users, Javascript solution
If you are not in the wordpress platform or the server side method wont work with you you can refer to https://2gdpr.com/cookieconsent. Here you will find some quick scripts to use for your website with some customisation options.
Step 7: Contact us
If you feel that this is too much for you to handle, you can always contact us. We will be glad to help you with this.