statamic-rad-pack / mailchimp

Mailchimp integration for Statamic
https://statamic.com/addons/rad-pack/mailchimp
MIT License
19 stars 13 forks source link

Lack of Marketing Permissions #68

Closed flythecoopco closed 2 years ago

flythecoopco commented 2 years ago

Hi @edalzell,

Would it be possible to implement functionality to work with Mailchimp's marketing permissions? Although I really like the addon, I'm forced to use a custom implementation using spatie/laravel-newsletter due to the lack of this.

Thanks.

edalzell commented 2 years ago

What permissions, do you have a link I could look at?

flythecoopco commented 2 years ago

Of course, below are links to Mailchimp documentation and the implementation by Spatie. https://mailchimp.com/help/collect-consent-with-gdpr-forms/ https://github.com/spatie/laravel-newsletter#working-with-gdrp-marketing-permissions

edalzell commented 2 years ago

And what would you like to be able to do?

edalzell commented 2 years ago

Closing due to lack of response.

Please re-open if still relevant.

rhoraczek commented 2 years ago

Hi @edalzell, also for me the possibility to manage the Mailchimp GDPR Marketing Preferences via your addon would be very interesting. The permission to send marketing material is (unfortunately) essential in the European Union to be able to legally send newsletters. Mailchimp offers under "Settings/GDPR fields and settings" the possibility to define checkboxes and labels , which have to be confirmed in the signup form. Unfortunately, these form fields are not available via the usual merge tags but are rendered in HTML of the standard and embedded signup forms as follows:

`

`

Without this checkbox(es) I could't generate any registrations via your addon so far. Do you have a solution or tip how I can do this with my own Statamic form and your addon?

Thanks, Rudolf

edalzell commented 2 years ago

Hi @rhoraczek, I don't really understand sorry.

Can you point me at the Mailchimp documentation about those fields?

rhoraczek commented 2 years ago

Hi @edalzell, here's the link to the documentation of the GDPR fields: https://mailchimp.com/help/collect-consent-with-gdpr-forms/#GDPR_fields

In the last few days I tried some tests on a newsletter signup via your Statamic addon and a standard "embedded signup form" from Mailchimp. Signups via the embedded form all went to Mailchimp without any problems and generated a "thank you" page and the required double opt-in emails to the recipients. Signups via the addon, on the other hand, had no further results (no opt-in emails and no "thank you" page).

Looking at the generated HTML code of my signup form, I noticed two differences.

  1. the form tag of the addon looks like this:

    . That of the embedded form like this:
  2. The checkbox I provided for the GDPR field in the Blueprint form looks like this in the addon:

That of the embedded Mailchimp form, on the other hand, is like this:

I would be happy if you could tell me what I can do and that my description explains my problem well enough. Thanks in advance, Rudolf

edalzell commented 2 years ago

No images in your comment above, can you please update?

rhoraczek commented 2 years ago

Sorry, I thought I had inserted the source. form tag of embedded form form tag of the addon GDPR consent text of addon GDPR consent text of embedded form

edalzell commented 2 years ago

I will take a look at this next week, thanks for your patience

edalzell commented 2 years ago

ok @rhoraczek this is not trivial, will get it wrapped up next week.

rhoraczek commented 2 years ago

Thank you @edalzell, and sorry for the headache I'm giving you with my request.

edalzell commented 2 years ago

ok @flythecoopcom @rhoraczek this is in 2.9, let me know if there are issues.