John Hogan
Forum Replies Created
-
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie CategoryHi @rogierlankhorst,
Many thanks for your speedy reply, appreciated.
Okay I understand what you mean. I haven’t got anything else Google related on my site other than Analytics, so maybe it’s something to do with that. Not a massive deal anyway.
That’s brilliant thanks for clearing that up, I thought that may be the case with cookies as that is how I understand the GDPR, yet other sites and plugins seem to be stricly everything is opt-in.
Thanks once again for the fast response,
John
Forum: Plugins
In reply to: [GDPR] Deslecting cookie category doesn’t remove cookiesHi @fclaussen,
Sorry I had to step out for a while.
I had another go and it worked this time; must of been a caching issue my end, sorry.
All works perfectly for me now, brilliant work.
Forum: Plugins
In reply to: [GDPR] Says it’s saving, but doesn’t activateGive what I said above a try because if you are having problems that some are not, like me; then the developers are firing blind and it will take longer to fix.
If you do see an error and notify them here, then it will be ready for them to look into it.
John
Forum: Plugins
In reply to: [GDPR] GDPR + WP-Rocket cacheI use W3 Total Cache and had problems similar to you; not displaying and weird displays. I got it working properly by changing the JS from async to deferred.
Hope that helps,
John
Forum: Plugins
In reply to: [GDPR] Says it’s saving, but doesn’t activateHi @paradasos,
If you haven’t added or updated anything else recently that may be a conflict; I would say your best bet would be to go into your wp-config.php in the root of your WP installation and change debug from false to true to see errors:
define('WP_DEBUG', true);
When you have made that change on the server go back into the plugin and see if any error notices are now displayed. If there are errors referencing the plugin then they may assist the plugin developers pin point the issue.
You can then change it back to false once you are done.
Hope that helps,
John
Forum: Plugins
In reply to: [GDPR] How to code which cookies to setTo make it work you have to wrap is_allowed_cookie within the code block that runs GA. So rather than inserting that snippet on it’s own like it is on the docs it runs within your existing GA code block.
Here is mine as an example in my functions.php. Mine uses _utma rather than _ga, and I load mine into the footer, but I have changed it to _ga for you and you can change footer to header if you prefer:
function google_analytics_tracking_code(){ if ( is_allowed_cookie( '_ga' ) ){ ?> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXXXXX-X']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; 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> <?php } } add_action('wp_footer', 'google_analytics_tracking_code');
Note that in V2 there is an issue where deselecting the cookie group on the popup bar itself doesn’t remove the cookies. That hopefully will be looked into, but other than that it’s running for me as intended using the above.
Hope that is of some use,
John
- This reply was modified 6 years, 6 months ago by John Hogan.
- This reply was modified 6 years, 6 months ago by John Hogan. Reason: Edited due to code formatting not setting correctly
Forum: Plugins
In reply to: [GDPR] Cache on page reloadHi Nick,
I also use W3 and initially ran into problems with JS minfy settings. I had to remove it from async to defer for it to work. Mine also works with the PHP method that way.
John
Forum: Plugins
In reply to: [GDPR] Deslecting cookie category doesn’t remove cookiesHi guys,
I would hazard a guess that it’s just getting mixed up with the Accept button, that then says yes to those cookies.
As a quick fix if it’s too much faffing right now, would it be better to just disable the ability to uncheck that tick box? Leave it blue as it is, just not able to remove it. Apparent it is not always an enabled group and add a tool tip to say ‘you can disable these in the preferences section’.
John
Forum: Plugins
In reply to: [GDPR] Accepting Terms & CookiesThanks @fclaussen, appreciate the response.
That’s brilliant, thank you. I was just checking I had set it up correctly before I went any further.
I will be finalizing GDPR most of the evening for my clients (UK) when V2 is released, so I will try and help with support questions if I can.
Keep up the fantastic work.
Forum: Plugins
In reply to: [GDPR] cookie-free domain@amooreto No problem at all, happy to help where I can.
Forum: Plugins
In reply to: [GDPR] cookie-free domainThat notice is saying that the websites resources are being delivered on a domain that sets cookies (yours) and should be sent on a domain that doesn’t(like a sub domain). The two files it’s referencing will more than likely be requested from your main domain address that set’s cookies.
I have that notice for my website too, you’re not alone. I could change it but it’s not that big of a deal so it can wait until I have time.
So yeah, long story short I wouldn’t worry about it. Unless you don’t want that error in GTmetrix
Hope that helps.
- This reply was modified 6 years, 6 months ago by John Hogan.
Forum: Plugins
In reply to: [GDPR] Privacy Policy page link not carried across to Consents tabI believe this plugins purpose is to help you reach GDPR compliance, not plug and play like others. Different site’s have different cookies and people will label their privacy policy in their own way,this allows users to easily alter that.
An icon for users to get back there would be good, but then that may be hard to make work with different designs and people can do that in their browser. Whether an icon is needed for inexperienced browsers, I don’t know.
Forum: Plugins
In reply to: [GDPR] Settings??The documentation has everything that you need but it’s a little difficult to interpret at the moment, but I believe that’s being looked into.
You need to enter the information into the settings page on the dashboard in the various places, including adding your privacy policy page and registering the cookies your site uses and what your users need to consent to.
Once you have that up and running you should see the bar appear but in order to make the cookie consent work you need to use the helpers provided in the documentation, placed in your functions.php.
- This reply was modified 6 years, 6 months ago by John Hogan.
Forum: Plugins
In reply to: [GDPR] Disable Google AnalyticsI had problems initially with my setup as I had GA block running in a theme options text box (Genesis Theme Options in my case). Moving the GA block to run in functions.php then worked. Rather than just dumping the block on the documentation I put it into the main GA block like this:
Note: My GA doesn’t use the same cookies as you have listed instead inserts _utma etc, so replace with your cookies and your GA ID:
function google_analytics_tracking_code(){ if ( is_allowed_cookie( '_utma' ) ){ ?> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXXXXX-X']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; 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> <?php } } add_action('wp_footer', 'google_analytics_tracking_code');
- This reply was modified 6 years, 6 months ago by John Hogan.