Your software
My Mautic version is: 4
My PHP version is: PHP Version 7.4.3
My Database type and version is:
My GOAL
I would like to use a custom landing page as the unsubscribe page instead of the default.
Your problem
My problem is:
What I have tried is the following:
-
I created a custom html landing page to use for unsubscribing and assigned it as the preference center page.
-
I then assigned my email to use that landing page as the unsubscribe page.
-
I tried using the {unsubscribe_url} within the email but it takes me to the generic unsubscribe page and not my custom page. I have also tried using the {Pagelink=1} but once I save the code, it doesn’t seem like it takes the changes with the pagelink.
-
I try sending myself an email via send email as a example and going to my contacts and sending an individual email to test the links but they both don’t work.
-
When I look at my landing page and I click on the default button “save preferences”, it doesn’t seem to be doing anything. I noticed that the anchor link has a href attribute of javascript:void(null) but besides that I am not sure what else to look for.
Unsubscribe landing page:
Unsubscribe landing page code:
Output of email and node.
Unsubscribe settings:
Email that I am using for testing: Obten más pacientes con Cha'Pay! La nueva forma de pagar por tu salud!
Landing page: Cha’Pay Unsubscribe (chapay.mx)
Any help would be greatly appreciated!