When completing the wizard, please let Complianz implement your Google Tag Manager code so Complianz can handle consent for you.
Under Cookies >Cookie Usage please say Yes to Tag Manager fires scripts that places cookies.
Go to Cookies > Statistics and enter your Google Tag Manager code. Which looks like below image:
After finishing the wizard, configure your Cookie Banner with categories. For easy implementation you can use the following:
Functional Cookies ( No advertising)
Statistics (Non-personalized Advertising)
Marketing (Personalized Advertising
To fire the scripts per category, you will need to add custom events (triggers) to your Tag Manager Workspace. For the above categories the custom events are as follows; (please double check if this applies to you as well, when creating the categories more information will be available in the wizard)
Functional Cookies (cmplz_event_functional or “All Pages”)
Configuring the Adsense Code with Ad Inserter*
*this works for most plugins and custom implementations.
Removing the scripts from you Adsense Code
We want to manually edit the script code from Adsense and only fire the script when consent is given, for either Statistics (Non-personalized Ads) or Marketing (Personalized Ads). Instead of:
Checking if your Ads are Personalized or Non-Personalized.
In order to check if non-personalized AdSense ads are displayed, you need to open the browser console. For Chrome this can be opened with a right-mouse click and choose “Inspect”.
Make sure you have your Tag Manager container on preview, so you can debug the triggers and tags set and check if the ads should be personalized or non-personalized and what might be the issue if you’re encounter anything out of the ordinary.
Go to the Network panel, which displays all requests your site is doing to load resources.
If you opened that panel after your site was loaded it might not show all requests, so please reload the page while keeping the panel open.
Once reloaded, you should filter the list by searching for “ads”. Among the results should be a call that starts with ads?client=ca–pub.
Each manually placed ad and the Auto ads code has its individual request, so you could see more than one result. You can check every one of them, but in the best case, they all behave the same regarding non-personalized ads.
The only difference between a request for non-personalized and personalized ads is an additional NPA parameter.
Click on the request to see more details. You should be in the Headers tab by default and see the Request URL entry at the top. It will look like below image.
Double click on that entry and copy it completely into a text editor of your choosing.
Now, use the search functionality of your text editor to look for the string “NPA”. The value doesn’t matter since it is either set if non-personalized ads are delivered or missing completely if AdSense delivers personalized ads.