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.
Select your options:
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 Settings > System Email Messages Goodbye.
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.
Click Update to apply selections to the HTML that is generated in the Unsubscribe Form Code section of this page.
In the Unsubscribe From Code section, click Select All at the top right of the form code text area to copy the code.
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.
Enter the address you used to test.
Select Unsubscribed checkbox from the Where setting.
Click Search.
If you find the email address the form is functioning correctly.