Skip to content
Documentation

Test a custom preference center as a real contact

This process helps you test a custom preference center, which is built using a landing page. Unlike the standard version, a custom center can be designed and translated.

Info

This method is more reliable than just previewing the page because it processes all variables, like which segments are visible, based on the specific test contact.

Requirements

  • You must have an existing landing page built to serve as a preference center.
  • You should have contact segments configured to appear in the preference center.

Step-by-step guide

  1. Go to the Contacts page and create a new contact with your own work email.
  2. Navigate to Segments and create a new segment for your test, giving it a name and saving.
  3. Return to the Contacts list and find your test contact.
  4. Check the box next to the contact. This will make the bulk actions toolbar appear.
  5. Click the Change Segments button on the toolbar.
  6. In the pop-up window, use the Add to segment(s) field to search for your new test segment. Select it, then click Save.
  7. Go to Channels > Emails and click New, then choose New Segment Email.
  8. Select a template that contains the {unsubscribe_url} token.
  9. Open the Builder to visually check that the unsubscribe token is in the email body.
  10. Close the builder and fill out all mandatory fields, like the Subject.
  11. In the Contact segment field, choose the segment that contains your test contact.
  12. In the Preference center page field, select the landing page you created for your custom preference center. This is the key step.

Success

Defining the preference center page is required for every email. To speed up the process, leave 1 template email for each language with corresponding page selected, then clone them over time to create new emails.

  1. Click Save & Close.
  2. From the email's detail view, click the Send button and follow the steps to send it.
  3. Open the email in your inbox and click the unsubscribe link.

How do I know if I executed this process correctly?

  • Clicking the unsubscribe link takes you to your custom landing page, not the standard Mautic page.
  • You can see the public segments and options you configured for that page.