Your software
My Mautic version is: 5.2
My PHP version is: 8.1
Your problem
My problem is:
We need the ability for users to opt-in to multiple segments. Some are public segments like “newsletter” and some are compiled segments based on custom field values. For example, “general communication”, which can be used to build multiple non-public segments the user can opt-out of as a whole.
In the past we built a lead form that exposed their “newsletter” custom field and a landing page set to preference center. From there they could select the values they want, it would update the lead record, and then the segments were built off of that.
After upgrading to mautic 5, it appears preference center landing pages are no longer used or aren’t working the same. When we enable this option, the landing page is no longer available by it’s alias and the page is not used in {unsubscribe_link} in our emails.
We could change to using out-of-the-box preferences and use categories instead of custom fields, but I don’t know that we can link directly to that page from an external source without sending an email.
Do you have any recommendations on how to build this out so that we can have a single preferences page that accessible from unsubscribe links in an email and available in an iframe (from a drupal site) that will always load the correct contact?
As a side note, we do have an API integration from Drupal so we have all the field data to identify the contact if there’s a way to build the preferences center links externally.
Thanks
andy