How To Implement AdSense’ New User Consent Policy Mechanism

AdSense has introduced a new user consent policy which requires publishers to ask permissions from users to use their data. This is to comply with European Union data protection policy so that users from from any of the EU countries are greeted with a permission mechanism on their first visit.

How To Implement AdSense New User Consent Policy Mechanism 2 jpg

Google’s T&C for publishers requires them to implement the mechanism on both desktop and mobile websites as well as apps that use Google’s ads. As a web publisher, you can use the method I’ve followed to implement this on your website.

The simplest solution I have found to implementing the EU Cookie Law mechanism is from silktide. It is free, open source and customisable. Simply go to the download page, chose a theme, customise the text and link it to your privacy policy on your website and copy and paste the code before the </head> tag on your website. This will work on both desktop and mobile so you only have to add the code once. I have this implemented here on iThinkDifferent and it works very well with the responsive design.

How To Implement AdSense New User Consent Policy Mechanism

In case you want to look into alternative methods, you can head over to the Cookie Choices website setup by Google to help publishers get started.

One important thing that all the above does not mention is differentiating between EU users and rest of the world. I’m still working on finding a good and simple solution for that but until I do, I will stick with and recommend silktide.

About the Author

Technology enthusiast, Internet addict, photography fan, movie buff, music aficionado.