Unsubscribing

To comply with the CAN-SPAM act and other anti-spamming laws, Noptin allows you to add the [[unsubscribe_url]] merge tag to your emails to give your subscribers a way to unsubscribe from your newsletter.

This is added by default to your newsletter’s permission reminder.

sample permission reminder

You can, however, add it anywhere in the emails you send.

Customizing your Newsletter Unsubscribe Page

You can change the message shown to a subscriber or redirect them to a completely different page (or website).

To do this:-

  1. First, open the Noptin settings page by clicking on Noptin > Settings in your WordPress admin dashboard.
  2. Next, click on “Messages” to open the general settings tab.

You can either change the subscription message…

change newsletter unsubscription message

… or set a URL to redirect people who unsubscribe from the newsletter.

redirect after unsubscription

That way, you can display a survey asking those subscribers why they unsubscribed from your newsletter.

newsletter unsubscription survey

Deleting Subscribers after they Unsubscribe

Noptin allows you to delete subscribers after they unsubscribe from your newsletter.

To enable this:-

  • First, open the Noptin settings page by clicking on Noptin > Settings in your WordPress admin dashboard.
  • Next, click on “General” to open the general settings tab.
    General Noptin Settings Tab
  • Finally, locate the Delete on Unsubscribe checkbox and check it to enable the feature
delete subscribers after they unsubscribe from your newsletter

Giving Customers an Option to Resubscribe

Someone might click on the newsletter unsubscription link by mistake. Luckily, Noptin offers a re-subscription link via the “[[resubscribe_url]]” tag. This tag can be used in your unsubscription success message as well as your emails.

This merge tag will not work if you have enabled the “Delete subscribers” option in the previous option.

Up your Marketing
Join our email list to and we'll send you occasional marketing tips

5 thoughts on “Unsubscribing

  1. How is the unsubcribe link generated? I want to send emails from external mailing and include unsubsciption link for each email? How can I generate unsubscription link ?
    Thanks

  2. Thanks for this response. I was ablo to track at some level but I couldnt figure out the decoding, is it appying rawurlencode() function to encode and rawurldecode() to decode? What is the encoding/decoding algorithm?

    1. We use openssl_encrypt to stop anyone from guessing the URL. https://github.com/hizzle-co/noptin/blob/6b8c83d75a9cd0ddd645ace42ee0722ea482efbd/includes/functions.php#L1413

      I would suggest you use the [[unsubscribe_url]] merge tag then copy-paste the email and send it through Noptin as a RAW HTML email. That way, no template will get applied and you’ll still be able to use your external system.

      If that’s not possible, I would suggest you implement your own unsubscription mechanism. You can call unsubscribe_noptin_subscriber( $email_address ) to unsubscribe a contact.

Leave a Reply

Your email address will not be published. Required fields are marked *

Have a question about Noptin?

Contact our customer support team anytime

Contact Support

Up your Marketing
Join our email list to and we'll send you occasional marketing tips
Custom CSS Slide Example
Custom Animation Example
Default Animation