I have a plugin hosted in wordpress.org. The plugin consists of inquiry form to be submitted by the visitors in the front-end. I have followed the 4.9.6 update regarding GDPR. I have also added exporter and eraser in my plugin.

Is there something I need to add more in my plugin? Is there something I have to added in my inquiry form to make it GDPR compatible?


Well, this has little to do with WordPress development as such, but since I´ve been writing about online privacy for over 25 years now I´ll gladly answer. Let´s take a look at the principles:

  1. Lawful basis. Since you are collecting data with a form, it is clear what data is collected and what for. You could add two optional notes to be filled in in the backend 'what will we use your data for' and 'what data do we store', so your users are more aware of their obligations towards the visitors of their website. These notes could also be shown in the frontend.

  2. Responsibility, data protection and pseudonymisation. These are mainly security issues that your plugin can do little about, except maybe applying cryptography when storing the information. But that would mean the data can only be accessed through your plugin.

  3. Right of access. This too is something that could be added to the form as a note: tell the visitor what he can do to access/erase his information after he has filled in the form.

  4. Right to erasure. See above. Also: does your plugin provide only manual erasure options or scheduled erasure as well? The plugin could help reduce load on the users if data older than, say, one year is automatically removed.

  5. Records of processing activities. Does your plugin allow users to modify data collected? In that case, does it store old values? This may be a little bit overkill for a simple form, but if you are collecting sensitive data (such as medical records) keeping track of modifications might be wise. Processing also involves other stuff that users do with the collected data, but that is not your responsibility as a plugin developer.

  6. Data protection officer and breaches. Not your responsibility.

So, you are mostly done. The most important addition might be to include a note on your options page explaining GDPR to users of your plugin and allowing them to pass information on their rights to their website's visitors. At this point you have built the necessary technical tools into your plugin, but you should also support transparency.

Update: Sample texts

  • We will use your name and email address [what data we store] only to send you a maximum of one newsletter every month [exactly what we store it for]. Every newsletter will include a link that lets you unsubscribe [right to erase].
  • We store the data in the questionnaire together with your name and contact info [what data we store] for our research purposes [exactly what we store it for]. Your name and contact info are only stored so we get into contact with you for clarifications of the questionnaire. We delete your name and contact info automatically after three months [erasure info, after this the rest of the data is no longer personal data unless the questionnaire asks personal stuff]. The questionnaire data we will keep as long as is necessary for the research.
  • Hello @cjbj, Thank you for your clear and concise explanation. As you have said I should include a note, so what kind of note or what should I write as a note in my inquiry form? Can you show me any example or sample? It would be really nice of you. Thank you again. – saurav.rox Jun 1 '18 at 8:02

What constitutes personal data?

The GDPR applies to ‘personal data’ meaning any information relating to an identifiable person who can be directly or indirectly identified in particular by reference to an identifier. This definition provides for a wide range of personal identifiers to constitute personal data, including name, identification number, location data or online identifier, reflecting changes in technology and the way organisations collect information about people.

What should you do as Dev?

Ask you self what you data will you store and is it really necessary. If you must store personal data add functions to read this data to send it to a customer (identifiable person) and also a function to remove a data for a customer. If yous tore personal data think also about encoding of the data.

Trade consciously with the data of the customers, the visitors and think about read, remove and encoding. I mean this should think in the right direction to get a solid plugin in the topic of GDPR.


According to GDPR rules you need to receive explicit, positive consent from users to collect, process and use their personal data (name, phone number, email address, payment data, etc).

So, for web forms you need:

  • ask for consent of using personal data;
  • add double op-in;
  • add an acknowledgement check-box at the end of the form.

These steps help your plugin to be GDPR compliant. Also, here is a GDPR compliance checklist created by the company I work for which you can use in other projects.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.