How do I create an unsubscribe form in Mautic v5?

Your software
My Mautic version is: v5.1
My PHP version is: v8.2
My Database type and version is: MySQL v8

Your problem
I want to create an unsubscribe form, but I don’t know how to do it. Can someone please tell me the steps? I am doing this for the first time, so please guide me…

Do you want to create a feedback form or a page where people can unsubscribe? This might help you if the regular unsubscribe link doesn’t fit your needs: Stuck with DNC and Preference center - #3 by Leon_Oltmanns

Yeh, I just want an unsubscribe form where people can opt out of the mailing list. I am very new to Mautic. Could you please tell me the steps, like what to do first and then what to do next? That way, I can do my research according to the steps

Hi @okagoogle

Welcome to Mautic!

I think you are looking for the default Mautic unsubscribe feautres.

  1. You place a link in the email: Emails — Mautic Documentation 0.1 documentation
  2. You configure the expected behavior in the global email settings: Mautic configuration settings — Mautic Documentation 0.1 documentation

I think you mainly want to take a look at this setting:

Show Contact preference settings - Select Yes to direct the unsubscribe link to your configured Preference enter. If you haven’t created a Preference Center, Mautic creates a default page based on the next 5 settings. The created page uses the default Theme for styling.

1 Like

I added the {unsubscribe_text} to my email footer and then enabled the ‘Show Contact Preference Settings’ option in the email settings. However, when I preview the email and try to click on the unsubscribe link, I get a 404 Not Found message


2

Check the example in the documentation. There is a unsubscribe_url and a unsubscribe_text.

<a href="{unsubscribe_url}" target="_blank">{unsubscribe_text}</a>

floorp_i3Nw9gBKXm

The default unsubscribe form looks like this, but there is nothing to unsubscribe

i mean there isn’t any form

floorp_w6Br4RSBno

I guess I understand it now, how the whole thing works. It’s a bit tricky, but I finally got it

It looks like you have to add the fields according to your needs. I assume you want to activate “Show contact frequency preferences”. You can configure it in the Email Settings.

Note that if you just want a simple one click unsubscribe, you can disable the “Show contact preference settings”.

1 Like

Just because this was enabled, it took me a week to understand the whole thing… :confused:

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.