enzim
Forum Replies Created
-
It’s working now, thank you!
@cookiebot OOOOHHHH okay. Yeah I changed that, let me try it, thank you very much!
@cookiebot I don’t think I can follow you.
– I tagged the GA script with text/plain and data-cookieconsent=”statistics”
And it’s working, because it has removed all the analytics _utmxy cookies and is not setting the cookies before the user pushes any button on the bar.
The problem is: even if statistics are checked and the user agrees to have all the cookies put on his / her machine it’s not doing anything, so I see 0 visitors in analytics.
@cookiebot Any news? ??
@cookiebot The website is an eCommerce site: https://deezgrillz.com/
Thank you for your help, I really appreciate it!
@almadama yeah that seems like html and I think php files contain these thing but I honestly have no clue, I’m not a coder unfortunately.
Back to your questions: you have to find the files manually that contains the script, that sets the cookie on your page. So in your case: you have to browse trough the files of that plugin, to find said <script> part.
You can check in your report
Go to the report at https://manage.cookiebot.com/en/reports – most likely it can tell you where in the code these cookies are coming from.
It will tell you on what line you find the cookie setting script in your source code (right click on your site, view source code). Now that, is the code part you have to find in your plugin’s files.
I’m trying to help but as you can see I’m no expert. I’m sure @cookiebot knows the answers.
And to my previous question as well.
@cookiebot It seems like I didn’t clear the cache and that was the problem.
Now I’m facing a new one: even though I put the checkmark there to allow statistics, it doesn’t enable the Analytics cookies.
Any ideas?
@almadama In the menu: Plugins > Editor
You pick the plugin on the right hand side and it will show you a bunch of codes from the files of said plugin. Now, you must find that part in that code and change. BUT as I mentioned earlier the plugin shouldn’t be updated (which is often automatic) because changes will be lost.
@cookiebot It seems like I didn’t clear the cache and that was the problem.
Now I’m facing a new one: even though I put the checkmark there to allow statistics, it doesn’t enable the Analytics cookies.
Any ideas?
I get it.
Just go to plugin editor and check the files of the plugin. Athough, you must keep in mind that when the plugins update, changes will be lost (mines don’t update so no prob with that though)
And replace
<script type=""text/javascript"">
with<script type="text/plain" data-cookieconsent="statistics">
or whatever category the cookie is marketing or necessarry etc.@cookiebot
So, I changed it for Analytics this way:<script type="text/plain" data-cookieconsent="statistics"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-********-*']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/plain'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'https://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
But it still sets the __utma, __utmb etc cookies automatically before accepting it on the banner.
What could be the problem?
I would gladly pay the monthly fee for the plugin because it is just what I need but prior consent is quite important.Forum: Fixing WordPress
In reply to: Fatal error: Call to undefined function register_setting()First off, thank you for answering.
I did not update wordpress, nor install that plugin.
I just saw in cPanel, the plugin was updated today.I tried to rename the plugin like a minute ago to disable it and to log into wordpress in wp-admin but it said wrong username or password :S
- This reply was modified 7 years, 3 months ago by enzim.