You can look at the source code of the web page you are visiting. Using Google Chrome Press F12 (then explore) developer.chrome.com/docs/devtools/coverage
I'm not sure, best bet is to read through the help section github.com/pressidium/pressidium-cookie-consent/wiki/Configuration One idea comes to mind is to conditionally load the plugin perhaps if is_user_logged_in developer.wordpress.org/reference/functions/is_user_logged_in/ I hope this helps, also I would love to hear your solution
You're very welcome Antonín :-) I understand the feeling if you operate a WordPress site, sub to RankYa RUclips channel as I have many great howtos for WordPress as well.
Hi! This video is so good. One question I haven't found answer. In the Blocked scripts tab in WordPress. Where do you find the script source to include from Google Tag manager?
Hi Anne, I'm glad the video was useful. As for your question, first: Google Scripts are global. This means, When you insert the code for example: That is a script, you can test by copy/paste your script ID in the address to see www.googletagmanager.com/gtag/js?id=G-UNIQUE-ID Same applies for Google Analytics, Google Tag Manager or any script on the website. On a more technical level, you can use Web Developer Toolbar Coverage Tab to see which scripts are loaded on a web page load, this image shows what to look at www.rankya.com/wp-content/uploads/2024/04/finding-which-scripts-are-loaded.png If you are using the FREE WordPress Plugin for Consent Mode Version 2 called Pressidium Cookie Consent, you can visit the Configuration help section github.com/pressidium/pressidium-cookie-consent/wiki/Configuration
Thanks ,where could I find the google analytics script for Blocked scripts.Hoping you can make also video on how to setup Blocked scripts. Thank you so much🎉
Blocking scripts will be depending on the website (if you are using google analytics for example, then, you would want to block that). Where you find this script is either looking at the source code of the website or ask the webmaster of the site. You can find more insights here: github.com/pressidium/pressidium-cookie-consent/wiki/Configuration
Blocked scripts are scripts that you block with this plugin. For example: Google Analytics script, or Facebook Pixel script etc. github.com/pressidium/pressidium-cookie-consent/wiki/Configuration
There is many ways to identify cookies used on the website (easy option is to use free cookie scanners to automated the process). Or you can use Web Developer Toolbar F12 > Application > Cookies to see which cookies are set on the landing page. I've created a video for finding out which cookies are used on a website here: ruclips.net/video/IEYVC5Wi-iA/видео.html (please like share :-)
can I setup the plugin to ONLY work for EU??? as it stands my fear is that IF I use this for all visitors.. I won't be able to build audiences UNTIL they click on accept all... is that correct??
That is correct, you can not build audiences till the visitor explicitly accepts the cookie/privacy policy (consent mode is all about that, as in give the visitor choices). In terms of your question? Yes is the answer, the plugin has features to select which country to show the banner. Having said this, I would NOT use it to disable consent mode banner for certain countries because of the way people connect to internet. For example: I may use VPN but I may be in Australia to visit your website. But do realize that Google has options if you are using other Google products, for example: Google Ads can be used to re-target RUclips users etc.
can I just ask, where exactly do we get the script url from? I have google analytics, ads, tag manager for the likes of facebook, pinterest and linkedin. Do I just copy all sides from when I follow the steps in your video: ruclips.net/video/IEYVC5Wi-iA/видео.html so it will be in one text: "name""value"etc? Or is there somewhere in analytics or ads where I get these from? Also can I select both google tag manager and google analitycs in the same time? At the moment some tracking is done through analitycs and some through tag manager.
Hi Anaise, to simplify the answers let's do this: First, you CAN use BOTH Google Tag Manager and Google Analytics blocking (in fact, you should). Second for other sites like Facebook Pinterest etc. you can do the same. Having said this, I would encourage you to first sort out Google Tags as Google is very strict about their policies. As for as finding out which cookies are used (You can follow the manual method as shown in one of RankYa videos) OR you can use free online tools which scan a website and email you results as to which cookies are used. As far as finding out how to setup the plugin, visit their help section in github github.com/pressidium/pressidium-cookie-consent?tab=readme-ov-file#setup github.com/pressidium/pressidium-cookie-consent/wiki/Configuration If you need further help with plugin setup, or want me to checkup your final setup, consider hiring RankYa Services www.rankya.com.au/
I don't understand, you have added only consent mode in Google Tag Manager, where is analytics? I have error while using template of this plugin. This tutorial is not consistent for me.
Apologies Jacek. Yes, my setup is usually different. So if you are using Google Tag Manager only, then, you would want to block that only (not like mine). Basically, whatever tracking script you are using, you want to ensure that the plugin does NOT run the script *unless consent is given* If you want to block Google Tag Manager script = ^(?:https?:)?\/\/(?:www\.)?googletagmanager\.com You can also test once the plugin is setup tagassistant.google.com/?
Do keep in mind many consent mode providers that partner with Google offer free version (this way, there is no coding). cmppartnerprogram.withgoogle.com/ If coding is complex, then, you will need to get a hold of web developer who can assist you to implement consent mode version 2 on your website.
Very comprehensive tutorial on setting up consent mode v2 on wordpress in 2024. Thanks Tolga
Thanks mate, always appreciate your feedback :-)
@@RankYa My pleasure Tolga
2:21 How we will get script source ?
You can look at the source code of the web page you are visiting. Using Google Chrome Press F12 (then explore) developer.chrome.com/docs/devtools/coverage
THX, but how we can defult GRANT security_storage on page defult?
I'm not sure, best bet is to read through the help section github.com/pressidium/pressidium-cookie-consent/wiki/Configuration
One idea comes to mind is to conditionally load the plugin perhaps
if is_user_logged_in developer.wordpress.org/reference/functions/is_user_logged_in/
I hope this helps, also I would love to hear your solution
WOW. Thank you so much. I have been in mess until I found your video. Such a great content.
You're very welcome Antonín :-) I understand the feeling if you operate a WordPress site, sub to RankYa RUclips channel as I have many great howtos for WordPress as well.
Hi! This video is so good. One question I haven't found answer. In the Blocked scripts tab in WordPress. Where do you find the script source to include from Google Tag manager?
Hi Anne, I'm glad the video was useful. As for your question, first: Google Scripts are global. This means,
When you insert the code for example:
That is a script, you can test by copy/paste your script ID in the address to see www.googletagmanager.com/gtag/js?id=G-UNIQUE-ID
Same applies for Google Analytics, Google Tag Manager or any script on the website.
On a more technical level, you can use Web Developer Toolbar Coverage Tab to see which scripts are loaded on a web page load, this image shows what to look at
www.rankya.com/wp-content/uploads/2024/04/finding-which-scripts-are-loaded.png
If you are using the FREE WordPress Plugin for Consent Mode Version 2 called Pressidium Cookie Consent, you can visit the Configuration help section github.com/pressidium/pressidium-cookie-consent/wiki/Configuration
Thanks ,where could I find the google analytics script for Blocked scripts.Hoping you can make also video on how to setup Blocked scripts. Thank you so much🎉
Blocking scripts will be depending on the website (if you are using google analytics for example, then, you would want to block that). Where you find this script is either looking at the source code of the website or ask the webmaster of the site. You can find more insights here:
github.com/pressidium/pressidium-cookie-consent/wiki/Configuration
what is the blocked scripts? i do not follow you? where i get this? it is just website URLs
Blocked scripts are scripts that you block with this plugin. For example: Google Analytics script, or Facebook Pixel script etc.
github.com/pressidium/pressidium-cookie-consent/wiki/Configuration
Really useful! Do you have the tutorial on how to set up the cookies?
There is many ways to identify cookies used on the website (easy option is to use free cookie scanners to automated the process). Or you can use Web Developer Toolbar F12 > Application > Cookies to see which cookies are set on the landing page. I've created a video for finding out which cookies are used on a website here:
ruclips.net/video/IEYVC5Wi-iA/видео.html (please like share :-)
Hi! Can you please say where i must set Event Consent State On-page Default in GTM?
Have you watched this ruclips.net/video/0C4ozKNClIc/видео.html ?
can I setup the plugin to ONLY work for EU??? as it stands my fear is that IF I use this for all visitors.. I won't be able to build audiences UNTIL they click on accept all... is that correct??
That is correct, you can not build audiences till the visitor explicitly accepts the cookie/privacy policy (consent mode is all about that, as in give the visitor choices). In terms of your question? Yes is the answer, the plugin has features to select which country to show the banner. Having said this, I would NOT use it to disable consent mode banner for certain countries because of the way people connect to internet. For example: I may use VPN but I may be in Australia to visit your website. But do realize that Google has options if you are using other Google products, for example: Google Ads can be used to re-target RUclips users etc.
can I just ask, where exactly do we get the script url from? I have google analytics, ads, tag manager for the likes of facebook, pinterest and linkedin. Do I just copy all sides from when I follow the steps in your video: ruclips.net/video/IEYVC5Wi-iA/видео.html so it will be in one text: "name""value"etc? Or is there somewhere in analytics or ads where I get these from? Also can I select both google tag manager and google analitycs in the same time? At the moment some tracking is done through analitycs and some through tag manager.
Hi Anaise, to simplify the answers let's do this:
First, you CAN use BOTH Google Tag Manager and Google Analytics blocking (in fact, you should).
Second for other sites like Facebook Pinterest etc. you can do the same. Having said this, I would encourage you to first sort out Google Tags as Google is very strict about their policies.
As for as finding out which cookies are used (You can follow the manual method as shown in one of RankYa videos) OR you can use free online tools which scan a website and email you results as to which cookies are used.
As far as finding out how to setup the plugin, visit their help section in github github.com/pressidium/pressidium-cookie-consent?tab=readme-ov-file#setup
github.com/pressidium/pressidium-cookie-consent/wiki/Configuration
If you need further help with plugin setup, or want me to checkup your final setup, consider hiring RankYa Services www.rankya.com.au/
not showing on the website for me ... only when using gtm preview. (yes, I published the containter!)
Strange, honestly I can't think of any reason (brain froze) (saved settings right?)
@@RankYa yes. I might have to test in on different installations. But so far no luck.
I don't understand, you have added only consent mode in Google Tag Manager, where is analytics? I have error while using template of this plugin. This tutorial is not consistent for me.
Apologies Jacek. Yes, my setup is usually different. So if you are using Google Tag Manager only, then, you would want to block that only (not like mine).
Basically, whatever tracking script you are using, you want to ensure that the plugin does NOT run the script *unless consent is given*
If you want to block Google Tag Manager script =
^(?:https?:)?\/\/(?:www\.)?googletagmanager\.com
You can also test once the plugin is setup tagassistant.google.com/?
Your video is informative but I still have no idea how to put these codes somewhere, I am using analytics and ads....Where I go from here?
Do keep in mind many consent mode providers that partner with Google offer free version (this way, there is no coding). cmppartnerprogram.withgoogle.com/
If coding is complex, then, you will need to get a hold of web developer who can assist you to implement consent mode version 2 on your website.
Muchas gracias excelente aporte!
:-) thank you too
Works for me, thanks
Great to hear :-)
Cool!
Always a pleasure. Its been a while, I hope all is good on your end. Greetings from Australia :-)