Support » Plugin: GDPR » Blocking cookies

  • Resolved dlx

    (@deeluuxe)


    Hello!

    Thanks for that great plugin! I´ve setup the settings for the cookies but they still load in the frontend when visiting the page. I think they have to be blocked without the acceptance of the user.

    This are the cookies:
    – _pk_id.1.5429
    – _pk_ses.1.5429
    – bp-activity-oldestpage

    I think they are generated from plugins like BuddyPress, etc.. So I don´t know how to block them. A function like is_allowed_cookie( $cookie ) does not help in this case I guess – or where should it be placed?

    Best regards,
    Jan

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author Fernando Claussen

    (@fclaussen)

    Hi @deeluuxe

    You need to figure out what those cookies are used for and how they are set.

    One thing about the plugin is that if the cookie is set by php it will block it for you, but if it is set by a javascript snippet, you need to wrap it with the function to stop it.

    If those are all from BuddyPress and they are essential for the functionality to work, you should register those under a “Functional Cookies” category or something similar and set it to always on.

    There is no other way (to my knowledge) to block cookies from being set.

    One quick google search tells me that the first 2 cookies you mentioned are from a service called “Matomo JavaScript Tracking” ( https://matomo.org/faq/general/faq_146/ ). You need to see where this is being set and wrap it with the function to block it.

    Thread Starter dlx

    (@deeluuxe)

    Hello Fernando!

    Thanks for you reply! The “Matomo” is the new name for Piwik – the open source analytics installed on my server.

    The tracking code is just entered in the options-page of the theme. So I´m asking myself if the helper functions that are mentioned on the plugins page are js or php functions.

    – is_allowed_cookie( $cookie )
    – have_consent( $consent_id )

    If these are php functions I could add the tracking code to the footer.php of my child theme so it will be blocked then.

    Do I understand you right that cookies that are set by php are blocked automatically? Is there any wildcard that can be used for the name of the cookie? In my case a name like “_pk_ses.1.5429” seems to change. So it would be great to block it by using “_pk_ses*” for example.

    When will the translations be integrated in the plugin? Translated all the texts on https://translate.wordpress.org/projects/wp-plugins/gdpr to german last weekend…

    Best regards,
    Jan

    Plugin Author Fernando Claussen

    (@fclaussen)

    Hi @deeluuxe,
    Those are PHP functions. if you need to use them in JS you can use wp_localize_script() for now. If enough people request I can probably figure something out to add helper functions to JS files.

    Oh my god. I didn’t realize people were already translating it.

    I’ll check it out asap.

    Thank you for this.

    +1 for wildcards

    And yay I need that German translation too.

    Plugin Author Fernando Claussen

    (@fclaussen)

    From what I can see, I can’t approve translations. I wouldn’t know how to verify the translation either.

    I got in touch with the WordPress translation team to get more info on how we can have those reviewed and approved. I’ll have an update as soon as they reply to me.

    Hello there, German Translation Editor here, @deeluuxe, would you mind joining our team on german polyglots channel on slack?

    https://de.wordpress.org/2017/11/slack-und-die-wordpress-community/

    Thread Starter dlx

    (@deeluuxe)

    Hi Presskopp!

    Thanks, for your support! I don´t have an account at Slack. Is this really necessary? Just wanted to help with the translation. And I´m trying to reduce my social accounts… 😉

    Best regards,
    Jan

    • This reply was modified 3 years, 3 months ago by dlx.

    It’s not necessary if you don’t want to do anything more than that. In this case I will approve/reject/correct your translations. It would be a great pleasure to have you on board in slack so we could discuss things like our ressources for translations, in case you’d like to continue your translation contributions. Let me know if you want to be a part of polyglots or not. Your free decision of course.

    Thread Starter dlx

    (@deeluuxe)

    Alright, I´ll try to do my best in helping the community. My php knowledge is not the best but I can translate plugins to help (formerly did this using loco translate, but thinks it´s better to share this for everyone).

    Great! Expecting you on slack https://dewp.slack.com/ #polyglots then.

    Thread Starter dlx

    (@deeluuxe)

    Hello Presskopp!

    Noticed the approval of the translations got stuck and there are still 126 texts left. Can I do anything to get them released?

    Best regards,
    Jan

    @deeluuxe
    Yes, you can; join us on Slack, it won’t hurt 😉

    This is a support forum and not meant to be used to discuss 126 waiting translation suggestions. That’s what we do in Slack. In German. Much more convenient that here …

    Thread Starter dlx

    (@deeluuxe)

    Hi @pixelverbieger

    Is there any way to download my translations as mo/po-files?
    I can´t wait any longer. Don´t know why no one approves the texts so anyone can use them.

    Best regards,
    Jan

    @fclaussen and @deeluuxe

    The German translation team will do its best to get your request accepted ASAP.

    You can have more info on how we handle PTE requests or read it there in german language: Wie die deutschsprachige Community PTE-Rechte vergibt.

    You can also get in touch on the German Slack #polyglots channel. We have a few recommendations before giving PTE’s access.

    How to join German Slack Channel.

    Please keep in mind the German Glossary and Guidelines.

    We did not approve the strings because we wanted to talk to you about the quality so they meet our standards, but obviously you are not interested in joining us on slack, correct me if I’m wrong by joining 😉

    So this means we as volunteers have to correct, reject and approve the strings and complete the missing ones. As there are thousands of plugins we do as fast as we can and in an order we choose. If you want to speed up this project, again, please join us, talk about all that, become PTE (Project Translation Editor) and finish it yourself. Else you will have to wait or find someone else, sorry.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Blocking cookies’ is closed to new replies.