Your emails provide a way for contacts to opt-out of your email program, but you may want to provide a page or section of your website to allow contacts to unsubscribe from your program. Listrak's Unsubscribe Contact Form Code generates the email input that a contact fills out.

Generate Form Code

Navigate to Help & Support > Help & Support Unsubscribe Contact Form. 💡 You will need to select the correct list from list navigation dropdown menu.

  1. Select your options:

    1. Send Goodbye Email: This toggle enables the system goodbye message that confirms a contact has been unsubscribed from the list. The Goodbye Email can be customized by visiting Authoring > System Messages > Goodbye.

    2. After submission, redirect to: You can design the form to redirect to a custom page after a contact fills out the form. Enter the URL in the text box. If you don’t specify a redirect location, the page will automatically redirect to Listrak’s generic confirmation page.

    3. Click Update to apply selections to the HTML that is generated in the Unsubscribe Form Code section of this page.

    4. In the Unsubscribe From Code section, click Select All at the top right of the form code text area to copy the code.

    5. Place the unsubscribe form code directly onto your website, or have your web developer use your web styling to brand your code. You can also edit the appearance by following the steps below.


Editing Form Code

After creating the form you may want to edit the appearance, such as removing the headline. You can edit the form code to change these elements. Copy the raw code from the Unsubscribe Form window in Listrak and paste it into your external code editor. Some elements of the form you may want to edit the appearance. In the example below, you will learn how to delete elements you do not need in a specific form.

⚠️ Do not delete the form or input tags at the top of the page. These elements are what will allow your form to work.

Delete Form Headlines

1. Start at the top of the <table>.

2. Delete the ‘Please fill out this information’ row. Be sure to start with the beginning <tr> tag, and select everything until the ending <tr> tag.

Once your edits are complete, you can now save your text file locally on your machine as filename.HTML. This file can now be opened in web application and you can test the form by unsubscribing email addresses to your Listrak account.


Testing

Once you have saved the HTML form you can open it in a browser. Input your test information and submit the form. You be directed confirmation screen if you did not define a redirect URL when you generated the code. If you did specify a redirect, you should be taken to the specified page.

Once you have submitted the form you will want to confirm that it was removed from Listrak correctly. The action may take a few minutes to appear in the Listrak platform.

Navigate to Contacts > Email Contacts Search for a Contact. 💡 You will need to select the correct list from list navigation dropdown menu.

  1. Enter the address you used to test.

  2. Select Unsubscribed checkbox from the Where setting.

  3. Click Search.

  4. If you find the email address the form is functioning correctly.

Did this answer your question?