EDITS.WS

Tag: gdpr

  • How to Add a Cookies Popup in WordPress for GDPR/CCPA

    Do you want to add a cookies consent popup in WordPress?

    Your WordPress site may be setting cookies on your visitors’ browsers. However, the European Union’s law requires websites to get user consent before setting any cookies on their computers.

    In this article, we will show you how to add a cookies popup in WordPress.

    How to Add cookies popup in WordPress

    Why Are Cookie Popups Necessary?

    Browser cookies are small files containing data sent by a website to store in a user’s browser. Most WordPress websites set cookies for various purposes.

    For example, by default, WordPress uses cookies for authentication purposes to store session information for logged-in users. It also sets a cookie when someone leaves a comment on your site.

    Apart from these, WordPress plugins can also set their own cookies to store different information or recognize repeat visitors.

    You can learn how your site uses cookies by checking our guide on how to know if your WordPress website uses cookies.

    While cookies are extremely useful, they can also be used to collect information about a user and share it with third-party advertising platforms.

    That’s why in Europe and a few other countries, website owners are required to let users know about their usage of cookies. If your website targets audiences in those regions, then you need to show a cookie consent disclaimer.

    Cookie notice preview

    The easiest way to do that is with a WordPress GDPR plugin. Cookie Notice and Cookiebot are two of the most popular cookie notification plugins and are compatible with many other popular WordPress plugins.

    That being said, let’s take a look at how to easily display a cookie consent popup in WordPress.

    Method 1: Add a Cookie Popup with Cookie Notice (Easiest)

    First, you’ll need to install and activate the Cookie Notice & Compliance for GDPR / CCPA plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

    Upon activation, the plugin will start to display a basic cookies popup to your visitors right away without any additional configuration. The default message is suitable for most websites.

    Cookie notice default message

    If you’d like to customize the notification, then you need to visit the Cookies menu item in your WordPress dashboard.

    From here, simply scroll down to the Notice Settings section.

    Edit cookie notice message

    On this page, you can customize the popup message and button text.

    You can also add a link to your privacy policy page. If you haven’t already created one, then you can follow our guide on how to create a privacy policy page in WordPress.

    After that, you can select that page from the Privacy Policy dropdown menu.

    Enable privacy policy link

    You can also give your visitors the option of refusing and revoking consent.

    To do that, just click on the ‘Refuse consent’ and ‘Revoke consent’ checkboxes. The default settings will work for most websites.

    Refuse consent settings

    If you scroll down to the Notice Design section, then you can choose the position, animation, button style, and colors of your cookie consent popup.

    You can also set a button class to add custom CSS for your popup.

    Edit design of notice

    Once you’re finished, click on the ‘Save Changes’ button at the end to store your settings.

    You can now visit your website to see your cookie consent popup in action.

    Cookie notice default message

    Method 2: Add a Cookie Popup with Cookiebot (Feature-Rich)

    Another method for setting up cookie popups is by using the Cookie banner plugin for WordPress or the Cookiebot plugin.

    While it’s not as easy to set up as Cookie Notice and won’t work unless you sign up for a free Cookiebot account, it does offer some additional customization options.

    First, you can install and activate the Cookie banner plugin for WordPress plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

    Once activated, a new Cookiebot section is added to your WordPress dashboard. You’ll need to navigate to Cookiebot » Settings in your WordPress dashboard to configure the plugin.

    If you don’t already have a Cookiebot ID, then you’ll need to sign up for one by clicking the ‘Create a new Account’ button.

    Create a new Cookiebot account

    Next, the Cookiebot website will open in a new tab on your browser.

    Go ahead and enter your email address and password. You’ll also need to click the terms of service, privacy policy, and DPA checkbox.

    Create a CookieBot account

    Once that’s done, you can click the ‘Create Account’ button.

    Next, you’ll see Cookitbot settings. Go ahead and add your website URL under the Domain name field. In the free version, you can only add 1 domain name.

    Add domain name to Cookiebot

    After that, you’ll need to switch to the ‘Your scripts’ tab.

    From here, simply copy the ‘Domain Group ID.’

    Copy domain group ID

    Next, you can head back to the Cookiebot settings in your WordPress dashboard.

    Under the General Settings tab, scroll down to the Connect your Domain Group section and enter the ID under the ‘Add your Domain Group ID’ field.

    Enter your domain group ID

    Once that’s done, don’t forget to click the ‘Save Changes’ button at the top.

    If you scroll down, you’ll see more settings. For instance, the plugin lets you select a language. By default, it will be set to ‘Autodetect,’ but you can click the dropdown menu to change it.

    You can also select Cookie-blocking mode. We recommend using the ‘Automatic cookie-blocking mode’ as the plugin will block all cookies except those that are strictly necessary until a user has given consent.

    Select language and cookie blocking settings

    You might like to check ‘Auto-update Cookiebot’ option in the Advanced Settings tab.

    This way, the plugin stays up to date with any changes in GDPR legislation.

    Automatic Cookiebot plugin update

    For testing purposes, you should also enable the ‘Render Cookiebot CMP on front-end while logged in’ option.

    If you leave it disabled, then you won’t see the popup when you’re logged into your WordPress site.

    Enable Cookiebot for logged in users

    After you’re done with the settings, don’t forget to click the ‘Save Changes’ button at the bottom.

    Customize Your Cookie Popup Notice

    We’re not finished yet, but we’re getting close. To finish configuring Cookiebot, you now need to return to the Cookiebot website.

    Next, you’ll need to navigate to the Banner tab on the Cookiebot website.

    Customize Cookiebot banner

    Here, you can choose a template, edit the position, and appearance of the popup.

    You’ll be able to see the changes by clicking the Preview button or returning to your website.

    Preview cookiebot popup changes

    If you notice that the wording used in the popup doesn’t match the reasons your website uses cookies, then you can change it.

    You’ll find the settings to do this by navigating to the Content tab on the Cookiebot website.

    Edit content of cookie notice

    You might also want to add a cookie declaration to your website’s privacy policy. If you haven’t already created a privacy policy page, then you can follow our guide on how to create a privacy policy page in WordPress.

    You need to start by navigating to the Declaration tab on Cookiebot’s website. By default, the cookie declaration uses Cookiebot’s default wording.

    Declaration settings in Cookiebot

    If you need to customize the message because your website uses cookies for a different reason, then you need a premium Cookiebot subscription.

    Alternatively, you can just type your own declaration into your privacy policy, but you’d miss out on features such as links where visitors can change or withdraw their consent.

    In this tutorial, we’ll add the default declaration to our privacy policy. You just need to edit your privacy policy and insert the shortcode [cookie_declaration] where you want to display the cookie declaration.

    Enter cookie declaration shortcode

    To see the declaration you need to save and preview the page.

    This is how the first few paragraphs look on our test website.

    Privacy declaration

    Bonus: Improve GDPR Compliance with MonsterInsights

    MonsterInsights is the best analytics solution for your WordPress site. It’s also the simplest way to improve your compliance with GDPR and other privacy regulations.

    That’s because MonsterInsights offers an EU Compliance addon that works out of the box. It will automatically change your analytics settings to help you stay in compliance with privacy laws.

    The MonsterInsights Google Analytics plugin

    The EU compliance addon is included in the premium plan. The best thing is that it automatically integrates with both Cookie Notice and Cookiebot.

    The first step is to install the MonsterInsights plugin and connect it to your Google Analytics account. For more information, see our guide on how to install Google Analytics using MonsterInsights.

    Once MonsterInsights is installed and set up, you’ll need to install and activate the EU Compliance addon.

    You can do that by navigating to the Insights » Addons page in your WordPress dashboard. Next, find the EU Compliance addon and click on the ‘Install’ button.

    MonsterInsights EU compliance addon

    The addon will be automatically activated.

    You can check this by going to the MonsterInsights » Settings page and switching to the ‘Engagement’ tab.

    When you look at the EU Compliance section, you will see that the addon has been turned on.

    View EU compliance settings

    If you click the down arrow on the right side of the screen, then you can see a detailed list of the configuration changes the addon has made to your website.

    For instance, you can see that it automatically anonymized IP addresses in Google Analytics, disabled demographics, and interest reports, disabled UserID tracking, and much more.

    View EU compliance settings in MonsterInsights

    Next, you can scroll down to see MonsterInsights compatibility with different cookie plugins like Cookie Notice and CookieBot.

    MonsterInsights will automatically make changes to the Google Analytics tracking code if any of the plugins are installed on your site. This way, it will wait for consent before tracking users in Google Analytics.

    Compliance plugin integration

    We hope this article helped you add a cookie consent popup to your WordPress site.

    You may also want to see our step-by-step guide on how to properly move your WordPress site from HTTP to HTTPS, or check out our comparison of the best business phone services for small businesses.

    If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

    The post How to Add a Cookies Popup in WordPress for GDPR/CCPA first appeared on WPBeginner.

  • Jetpack 12.0 – Unveiling New Blocks: VideoPress, Cookie Consent, and Writing Prompts

    We are thrilled to announce the release of Jetpack 12.0, featuring three new blocks to elevate your WordPress experience: VideoPress, Cookie Consent, and Writing Prompts. Get ready to explore these exciting additions to the Jetpack ecosystem!

    Embed videos seamlessly with the VideoPress Block

    The new VideoPress Block allows you to effortlessly upload and embed videos directly into your posts and pages. With improved performance and responsive design, your videos will look great on any device.

    With an immersive design, VideoPress is ideal for videographers, creators, filmmakers, educators, and bloggers seeking to upload high-quality videos with ease.
    With an immersive design, VideoPress is ideal for videographers, creators, filmmakers, educators, and bloggers seeking to upload high-quality videos with ease.

    Ensure GDPR compliance with the Cookie Consent Block

    The Cookie Consent Block simplifies the task of informing your site visitors about cookie usage and obtaining their agreement, ensuring adherence to the General Data Protection Regulation (GDPR).

    You can customize Cookie Consent Block to make it adhere to your page design.

    Ignite creativity with Writing Prompts Block

    The Writing Prompts Block is designed to help spark creativity by generating random writing prompts. Whether you’re a seasoned writer or just starting, this block will help overcome writer’s block and create engaging content.

    Get engaging daily topics with Writing Prompts Block

    And More

    This release also includes several improvements for WordPress 6.2 compatibility and other bug fixes — check the changelog for more.

    A big thank you to everyone who contributed to this release:

    Adnan Haque, André Kallehauge, Antony Agrios, Artur Piszek, Bob Matyas, Bogomil Stoynov, Brad Jorsch, Brandon Kraft, Brent Nef, Candy Tsai, Carlos Garcia, Chris Lilitsas, Chris R, Christian Gastrell, Clemen, cometgrrl, daledupreez, Damián Suárez, Daniel Bachhuber, Daniel Post, Dave Martin, David Biňovec, Derek Smart, Donncha Ó Caoimh, Douglas Henri, Dylan Munson, Francesco Bigiarini, Gergely Márk Juhász, gogdzl, Grant Kinney, Igor Zinovyev, Jason Johnston, Jason Moon, Jasper Kang, jcheringer, Jeremy Herve, Jeroen P, Karen Attfield, Kevin L, Kuba Birecki, Luiz Kowalski, Matt Gawarecki, Matthew Reishus, Matt Wiebe, MILLER/F, Nate Weller, Nauris Pūķis, nunyvega, Omar Alshaker, Osk, ouikhuan, Paul Bunkham, Paulo Marcos Trentin, Peter Petrov, Philip Jackson, Rafael Agostini, Robert Sreberski, Romario, Samiff, Sergey Mitroshin, Sérgio Gomes, Siddarthan Sarumathi Pandian, Siobhan Bamber, Steve D, tbradsha, thingalon, Tim Broddin, Tom Rhodes, villanovachile

  • How to Create GDPR Compliant Forms in WordPress

    Do you want to create GDPR-compliant forms in WordPress?

    European Union’s new GDPR law requires explicit user consent to store personal information so that users can have more personal control over their data stored on websites.

    In this article, we will show you how to easily create GDPR-compliant forms in WordPress.

    How to Create GDPR compliant forms in WordPress

    What is GDPR?

    The General Data Protection Regulation (GDPR) is a European Union (EU) law that became effective on May 25th, 2018. This new law aims to give EU citizens control over their personal data and change how companies and businesses handle data privacy around the world.

    For more details, see our ultimate guide to WordPress and GDPR compliance which will answer all your GDPR-related questions in plain English.

    A typical WordPress site may collect users’ personal information in a number of ways. One of which is by adding forms to the site. Most forms collect personal information, and you may want to make sure that your WordPress forms comply with GDPR.

    What is Required to Make a Form GDPR Compliant

    In order to make your WordPress forms GDPR compliant, you will need to add the following features:

    • Ask users to give explicit consent for storing and using their personal information.
    • Allow users to request access to their own personal information stored on your website.
    • Allow users to request the deletion of their data from your website.

    Having said that, let’s take a look at how to easily create GDPR-compliant WordPress forms. You can click the links below to jump ahead to any section:

    How to Make a GDPR Compliant Form in WordPress

    We recommend using WPForms to make GDPR-compliant WordPress forms. It is the best contact form plugin for WordPress and has built-in GDPR enhancement features.

    For instance, you get a 1-click GDPR Agreement field for your forms, GDPR-compliant data retention best practices, easy entry management system to quickly find, export, or delete user data upon request.

    First, you need to install and activate the WPForms plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

    For this tutorial, we’ll use the WPForms Pro version because it includes the disable user cookies and user details options. However, you can also use the WPForms Lite version to create a GDPR-compliant form.

    Upon activation, you need to visit WPForms » Settings page and enter your license key. You can find the license key in the WPForms account area.

    Entering the WPForms license key

    Next, you’ll need to scroll down to the GDPR section.

    There, you need to check the box next to the GDPR Enhancements option.

    Enable GDPR enhancement option

    Enabling the GDPR Enhancements option will reveal two more GDPR-related settings.

    The first option, ‘Disable User Cookies,’ will stop WPForms from storing user sessions. This cookie contains a random unique identifier that helps WPForms add features like related entries, form abandonment, and geolocation. Disabling it will also disable those features.

    The second option, ‘Disable User Details,’ will stop WPForms from storing user IP addresses and browser information. Both of these settings are optional, and you can check them if you feel that you don’t need these features.

    Don’t forget to click the ‘Save Settings’ button to store your changes.

    Select Form Template and Add GDRP Agreement Field

    WPForms is now ready to create GDPR-compliant forms in WordPress. You can now go to WPForms » Add New page to create a new form.

    You will be asked to enter a title for your form and select a template. These templates are ready-made forms that you can use as a starting point. In this tutorial, we’ll use the ‘Simple Contact Form’ template.

    Add a new form

    This will launch the WPForms builder interface.

    You will see your form preview in the right column, and on the left, you will see all the fields that you can add to your form.

    Add the GDPR agreement field

    Simply drag the ‘GDPR Agreement’ field and add it to your form.

    You will now see it appear at the bottom of your form. If you click on it, more options will appear in the settings panel on the left.

    Edit the GDPR agreement

    You can change the title of the form field and agreement text, and then use the description box to add details like a link to your privacy policy or terms and conditions pages.

    Note: The GDPR Agreement field is always a required field, and it cannot be pre-checked to comply with the GDPR law. You can only add one GDPR agreement field to each form.

    Next, you can go to the Settings » Confirmations tab in the form builder. Here, you’ll get different options to select when a user submits a form. For instance, you can show a message, a page, or to redirect users to another URL.

    Edit form confirmation settings

    Once you are satisfied with the form, don’t forget to store your changes.

    Adding GDPR Compliant Form to WordPress

    WPForms allows you to easily add forms anywhere on your website.

    You can simply click the ‘Embed’ button at the top of the form builder to get started.

    Click the embed button

    Next, a popup will open, which will ask you to create a new page or select an existing page.

    We’ll use the ‘Create New Page’ option for this tutorial.

    Embed a form in page

    After that, you’ll need to enter a name for your page.

    Once that’s done, simply click the ‘Let’s Go’ button.

    Enter the name of the page

    Your form will now appear in the WordPress content editor.

    Another way to add forms to any page or post is using the WPForms block. Simply add the block to your content and select your form from the dropdown menu.

    Add a WPForms block in wordpress

    You can now save or publish your post or page.

    Simply visit your website to see your GDPR-ready WordPress form in action.

    GDPR form preview

    Managing Data Access and Deletion Requirements with WPForms

    One of the requirements for GDPR compliance is to give users access and allow them to request the deletion of their data.

    To do that, you can create a ‘Data access/delete form’ and add it to your privacy policy page. Users who wish to access their stored data or want it to be deleted can use that form to send you a request.

    WPForms has an excellent entry management system that allows you to quickly find any data submitted via your forms.

    You can access all form entries by visiting WPForms » Entries page from your WordPress dashboard and selecting the form you wish to view.

    View form entries in WPForms

    WPForms will show you all entries submitted using that form. You can search for a form entry by entering a name, email address, IP address, or keyword.

    From here, you can simply click the ‘Delete All’ option at the top to remove form entries.

    Delete form entries

    You can also delete individual entries or click the view button to see all data stored for that entry.

    Disabling User Details for Specific Forms

    With WPForms, you get full control over which forms can store user data. You can disable user details to be stored for each individual form.

    First, you’ll need to go to WPForms » Settings from your WordPress dashboard and scroll down to the ‘GDPR’ section.

    Here, ensure that the ‘Disable User Details’ option is unchecked.

    Disable user details is unchecked

    Don’t forget to click the ‘Save Settings’ button when you’re done.

    After that, you can change each form’s settings in the form builder.

    All you have to do is head to Settings » General in the form builder. Next, click the ‘Advanced’ section to expand it. From here, simply click the toggle for the ‘Disable storing user details (IP address and user agent)’ option.

    Disable storing user details-settings

    This will prevent extra user information from being stored for individual forms.

    We hope this article helped you learn how to easily create GDPR-compliant forms in WordPress. You may also want to see our article on how to track user engagement in WordPress using Google Analytics and the ultimate WordPress SEO guide for beginners.

    If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

    The post How to Create GDPR Compliant Forms in WordPress first appeared on WPBeginner.