How do I add a custom unsubscribe link using embedded forms?

SendX automatically handles your unsubscription. However, if you'd like to add a link to manage the unsubscription, we have a workaround for you.

Our current unsubscribe code will only work within the footer area. In order to add a subscription link within the body of your email, here's what you need to do:

  1. The embedded form to capture the email addresses.
  2. A list to add the contacts.
  3. An automation rule to suppress contacts.

First, create a list to collect the contacts using the form.

Once done, create an embedded form. If you haven't created one yet, click here to learn more.

Make sure that the embedded form has a field to collect the email address of the user.

When you are in the final stage of the embedded form, choose the list you created earlier using the drop-down list.

Submit the embedded form once you've made all the changes.

Now go to Automations and create a new automation.

Trigger: Subscribed to a list and choose the list you've created in step (2).

Action: Unsubscribe contact.

Once the conditions are selected, submit the automation rule.

Now, any contact that's added to the aforementioned list will be disabled and no further emails will be sent to them. You can embed this form within your website and use the URL of the page in your emails. Subscribers will be able to click on the link and enter their email address so that they'll be excluded from the mailing list.

If you don't want to add the embedded form to your website, you can create a SendX landing page and add the shortcode of the embedded form to the landing page. Then you'll be able to use the URL of the landing page in your emails.

If you want to share the details of unsubscribed contacts to a different app/tool, you can set up an automation to make a webhook call. If you are not familiar with Webhooks, click here to learn more.

To setup a webhook call, create a new automation:

Trigger: Unsubscribe contact.

Action: Call Webhook and mention the end point of your app/tool where you want to receive the data.

 

This way, your contacts will be able to unsubscribe using the custom form and the data will be shared across your databases. We hope this information helps you.