• Resolved Johan Stam

    (@johan-stam)


    I came across a GDPR issue, using this plugin. If you want to dynamically fill an email field (Gravity forms) with a value from a query string, this email value gets stored in a cookie by HandL UTM grabber and can/will be injected into the html source code. Not only on the form page, but all through the website. This html / pages will be cached serverside by your host and so the email value is exposed when other visitors enter the form page. The value will drop in to your form, cause it’s picked up dynamically. Gave me a lot of headache sofar.

    • This topic was modified 1 year ago by Johan Stam.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Haktan Suren

    (@haktansuren)

    Hi @johan-stam

    Sorry about the trouble.

    Just FYI:
    You can comment out this line form handl-utm-grabber.php and it does not insert the email field in the DOM.
    wp_localize_script( ‘handl-utm-grabber’, ‘handl_utm’, HUGGenerateUTMsForURL() );

    Let me know if you need help!

    Thread Starter Johan Stam

    (@johan-stam)

    Rather not change plugin code directly and according to ChatGPT ‘comment out that line’ wouldn’t work. They came up with:

    add_filter(‘handl_params_filter’, function($params) {
    unset($params[’email’]); // Blocks it from being tracked or used
    return $params;
    });

    Thread Starter Johan Stam

    (@johan-stam)

    My question stays. This is not a valid solution for GDPR. Is there an option in your paid version of this plugin to ‘not collecting an email address’?

    Plugin Author Haktan Suren

    (@haktansuren)

    ChatGPT’s reocmmendation would remove the param altogether and it would not allow you to track email at all (including prefill). If that’s what you need, you can use that call.

    V3 is GDPR ready and can with work most of the consent management plugins out there.

    Thread Starter Johan Stam

    (@johan-stam)

    I’ve worked on a plugin that solved the issue. The plugin :

    • prevents email address to get injected server-side
    • No email appears in the HTML source, eliminating cache or privacy risks.
    • Email fields are prefilled only client-side, with validation – GDPR safe and cache-safe

    This custom “Safe Email Autofill” plugin uniquely addresses the need to prevent email addresses from being exposed in the HTML source by removing the email parameter from $_GET, $_REQUEST, and $_SERVER superglobals before any output is generated. It then uses client-side JavaScript to populate the email field, ensuring GDPR compliance by avoiding server-side exposure of personal data.

    As of now, there doesn’t appear to be an existing plugin that replicates this exact functionality.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘GDPR issue’ is closed to new replies.