In This Article:

    Add checkboxes for reasons in your unsubscribe page

    In This Article:

      Salsa provides a way to collect a reason/explanation from supporters when they are using an unsubscribe page:

      2017-06-07_1351.png

      A lot of times, we'd like to have more specific reasons.  The nice folks at the Center for Environment Health suggested a list of checkboxes that a supporter can click to tell them why the supporter was unsubscribing.

      2017-06-08_1106.png

      Is that not cool?  This solution, coupled with a custom report, can give you more insights into why supporters are unsubscribing -- insights that you can use to improve your messaging and your retention rates.

      Installation

      The script that sets up the reason checkbox needs to go into the templates that are assigned to your unsubscribe page.Note that these steps should be used on any template used by an unsubscribe page.

      1. Edit a template.  Click here if you need help getting started.
      2. Use the Browser's search tool to locate the </body> tag.
      3. Insert a blank line just before the </body> tag.
      4. Click here to see the page where the solution lives.
      5. Locate the file unsub_reason_checkbox_template.html.
      6. Locate and click the "Raw" button for unsub_reason_checkbox_template.html.  A new window will appear that contains just the solution.
      7. Copy the contents of the window and close the window.
      8. Return to the template editor.
      9. Paste the copied text into the newly inserted line in the template.
      10. Save the template.

      Configuration

      The next step is to configure the list of reasons.  The list of reasons can live in the template or in the unsubscribe page.

      For all unsubscribe pages

      Do you want all unsub pages to have the same reason checkboxes?  Use these steps to install the configuration.

      1. Edit a template.  Typically, you'll edit the default template.  Click here if you need help getting started.
      2. Use the Browser's search tool to locate the </body> tag.
      3. Insert a blank line just before the </body> tag.
      4. Click here to see the page where the solution lives.
      5. Locate the file unsub_reason_checkbox_config.html.
      6. Locate and click the "Raw" button for unsub_reason_checkbox_config.html.  A new window will appear that contains just the solution.
      7. Copy the contents of the window and close the window.
      8. Return to the template editor.
      9. Paste the copied text into the newly inserted line in the template.
      10. Save the template.
      11. See "Make Changes" (below).

      For a single unsubscribe page

      Do you want an unsubscribe page to have its own reasons checkboxes?  use these steps to install the configration.

      1. Edit an unsubscribe page.  Click here if you need help getting started.
      2. Locate the Footer field.
      3. Insert a blank in the Footer after any other content.  if there's not content, then insert a blank line at the beginning of the field.
      4. Click here to see the page where the solution lives.
      5. Locate the file unsub_reason_checkbox_config.html.
      6. Locate and click the "Raw" button for unsub_reason_checkbox_config.html.  A new window will appear that contains just the solution.
      7. Copy the contents of the window and close the window.
      8. Return to the unsubscribe editor.
      9. Paste the copied text into the newly inserted line in the Footer field.
      10. Save the unsubscribe page.
      11. See "Make Changes" (below).

      Make changes

      The solution is divided into two parts:  the preamble and the reason checkboxes.2017-06-08_1122.png

      Steps to replace the preamble.

      1. Go back to the text that you just pasted into the template or unsub page.
      2. Find the preamble message in the text.
      3. Replace it with your message.  You can use HTML if you'd like, or just type a new message.
      4. Save your work.

      Steps to replace the reasons.

      1. Go back to the text that you just pasted into the template or unsub page.
      2. Find the list of reasons in the text.
      3. The list is just a list -- like a grocery list.  The only restriction is that there must be a comma to separate one reason from another.
      4. The reasons will appear in the order that you enter them.  They must be text only.  Leading and trailing spaces will be removed before they are used.
      5. Save your work.

      Kudos

      A shoutout to Ruben Diaz at Center for Environment for the idea behind this solution.  If you like the solution, then how about going to their donation page and helping out?

      Questions?

      If you have any questions, then please gather this information

      Send all of this information to support@salsalabs.com, and we'll be glad to help.

      Was this article helpful?
      0 out of 0 found this helpful
      Have more questions? Submit a request

      Comments

      0 comments

      Please sign in to leave a comment.