-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: subscribing to multiple mailinglists in one form #19
Comments
Thanks for the request. What would you suggest, a single opt-in email for multiple mailing list subscriptions? |
Yes, that’s kind of what I had in mind, but I’m of course open to other suggestions as well. We thought about combining the mailing lists, and target subscribers based on their “interests”, as stated in a custom field. but then there would be no option for the user to edit their preferences later on. So I guess a separate feature request would be to have a possibility for the subscriber to get an overview of all his/her subscriptions (and custom fields). |
Ok, let me think about it, perhaps adding a contact edit form would be a good thing which would also solve your original request. |
Sounds good! Would be nice to have a link to that form available in the campaign template :) |
Oh, also: we had a problem with subscribe-actions (and possibly import actions) breaking/throwing errors when we had a tag field for contacts. Perhaps some logic could be made so that they are imported/exported by slug/id instead of the entire tag/category object..? |
Please create a new issue for the tag field with details of the error. |
Hello again! Have you given the original issue any more thought? |
We have a big update in v1.4 coming out this week. Once that has shipped I'll be able to give this some more attention. |
I've given it some thought and trying to combine multiple verification emails into a single one doesn't seem feasible, considering that each mailing list can have its own verification email and success template. I'm more inclined to go for adding a contact update form, which will allow contacts to view and modify their email address and custom field values. Changing their mailing list subscriptions in the same form presents the similar issues with the double opt-in process as above though, so this may not make it in. Would this still be a viable solution for your use case? |
Ok so I've added an anonymous update contact controller action which should allow you to create a form on the front-end so that contacts can change their details. You'll need to build the form yourself but the logic is in place, care to take a look? (this is in the develop branch) |
Trying it now! Sorry but what's with validating the contact->uid..? how do you expect the frontend to get the contact->uid? |
Sorry I didn't explain this earlier, but I've made the contact's UID required as a way to ensure that contacts (or anyone for that matter) can only update their details if you submit their UID along with their request. This is a security feature, since this is an anonymous controller action and no actual authorisation takes place. You should include the following hidden input fields in the front-end form:
|
Hello again! Awesome, this works :) Now the only thing I'd really want to do is to allow the user to easily edit his/her subscriptions using the same form.. I can get the subscription status for each mailinglist doing something like this:
But I guess there isn't an easy way to actually make the form update these subscriptions..? (use case: now that we know we have a real user, it should maybe be possible to (un)subscribe to some or all available lists without getting verification emails.. I see it might be possible by trying to replicating some functionality from |
I understand your use case, but there are a few different things at play here which need to be taken into consideration (GDPR, GeoIP, etc.). I'm reluctant to add this functionality to the In terms of implementation, you could set up a simple AJAX call to the tracker controller if a user wants to subscribe or unsubscribe from a list. Here's an untested example using jQuery:
|
I'm ready to release this, just want to make sure you're satisfied with the additions and functionality? |
yes, thanks! awesome :) |
Hello!
We have a subscription form where we allow users to sign up to multiple mailinglists. We implement a logic that sends one request per mailinglist to the plugin. You can see the implementation here (in norwegian): https://dfo.no/kundesider/kundenotater/abonner-pa-kundenotater
The problem is, the user receives one verification email per list (both have double opt-in), and s/he have to click the links in both emails to get signed up. It would be nice if the plugin could have better support for these use cases.
The text was updated successfully, but these errors were encountered: