• Hello, is it possible to add a new field for acceptance of new General Data Protection Regulation of European Commission?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes, it is possible, as explained here:

    https://beta.docs.mailpoet.com/article/252-how-to-add-a-checkbox-field-to-mailpoet-form

    BUT

    If I understand it correctly, the value of the custom_field is stored in the database table “wp_mailpoet_subscribers”, in the field “unconfirmed_data” until the user confirms with the link provided in the optin email.

    Then, I suppose the value of the “unconfirmed_data” is moved into the table “wp_mailpoet_subscriber_custom_field”.

    But this is not happening in my case. When the user opts in by clicking on the confirmation link, the value of the field “unconfirmed_data” is deleted, but nothing is inserted in the wp_mailpoet_subscriber_custom_field table.

    Is this a bug or the intended behaviour? We need the value to be stored in the wp_mailpoet_subscriber_custom_field table, because it is necessary to prove that the user had checked the checkbox.

    Thanks!

    • This reply was modified 6 years, 7 months ago by roquec.

    Ok, I did a couple of tests, and I found the following.

    The custom field is working properly (the content of the field is transfered to the wp_mailpoet_subscriber_custom_field table), when the users that registers to a newsletter IS NOT member of the site.

    If the user is already a member of the worpresssite, then the value of the custom field is never moved to the wp_mailpoet_subscriber_custom_field table, and remains always in the unconfirmed_data field of the wp_mailpoet_subscribers table.

    Is this a bug, or the intended behaviour?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Field for GDPR acceptance’ is closed to new replies.