Skip to content

GDPR check in AJAX form submit

edited September 2018 in Using Sendy

Hi,

I'm wondering how I can send the value of the GDPR checkbox into Sendy using the AJAX submit form.

I'm using the "example on how to use the Subscribe API to add subscribers to a list in Sendy via AJAX."

Anyone who can help?

Comments

  • Hi,

    Pass 'true' to 'gdpr' parameter when calling Sendy's subscribe API:

    Screenshot:

    This will tag the subscriber with 'GDPR'.

    Thanks.

    Best regards,
    Ben

This discussion has been closed.