• I follow the mailpoet setup guide to insert [mailpoet_page] shortcode to a new page with slug as unsubscribe, and set the mailpoet setting basics unsubscribe page section of confirmation page and successful page to this unsubscribe page. When open the unsubscribe page at the frontend, it does not show up the content of the unsubscribe message as expected but just display the shortcode itself as shown in the link provided above.

    However, when in the backend mailpoet setting basic page, when doing the unsubscribe page preview, it shows the message as expected, as show in below link.

    https://20241220-li-on-biz.comtnet.com/unsubscribe/?mailpoet_router&endpoint=subscription&action=confirm_unsubscribe&data=eyJwcmV2aWV3IjoxfQ

    I wonder what went wrong in this unsubscribe page setting and the [mailpoet_page] shortcode?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter taichang9923

    (@taichang9923)

    As per checked, it seems that the unsubscribe page can only be viewed properly via the link button in newsletter. It is not able to be viewed via the page link url.

    So. now the question is, why can’t the unsubscribe page be viewed using the page link?

    In this case, other than user to click on the unsubscribe button in the newsletter, is there any way to let user unsubscribe newsletter from the website?

    Plugin Support Ojoma a11n

    (@geraltrivia)

    Hello there @taichang9923 ,

    Thank you for reaching out and providing detailed information about the issue you’re experiencing with the unsubscribe page. I appreciate the time you’ve taken to explain the setup and behavior you’ve noticed.Why the Unsubscribe Page Link Displays the Shortcode.

    The [mailpoet_page] shortcode doesn’t directly render its content when accessed via the page link in the browser. This behavior occurs because the shortcode is designed to function dynamically, rendering its content only when accessed through a specific unsubscribe link generated by MailPoet (e.g., in a newsletter) or when you view it from the MailPoet > Settings > Basic Page. This ensures personalized functionality, such as identifying the subscriber and confirming their unsubscribe action.

    Alternative Ways to Unsubscribe from Your Website:

    While the unsubscribe page works best when accessed via the newsletter’s unsubscribe link, you can provide additional options for users to unsubscribe directly from your website:

    1. Customize Your Unsubscribe Page:
      You can create a custom unsubscribe experience by following this guide: Customize Your Unsubscribe Page. This allows you to add instructions or a form to guide users on how to unsubscribe.

      Ref: https://kb.mailpoet.com/article/429-adding-an-unsubscribe-link

    Looking forward to your response.

    Thread Starter taichang9923

    (@taichang9923)

    Dear Sir

    Thanks dor your kind feedback.

    The methods to add unsubscribe button as provided via your link are all have to be done in the email to be send to subscribers?

    Is there a way I can use to add a unsubscribe button on my website page which can be seen at frontend directly, instead of having the subscribers to see it in the emails website sent?

    BTW, I have another question regarding how the mailpoet auto add a new website register to its wordpress users list. Should I initiate a new question separately, or I can ask here? This has nothing to do with the unsubscription, but more on how to trigger mailpoet to send subscription confirmation email using mailpoet api methods and the registration form checkbox value.

    Thanks for your kind attention and support.

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there @taichang9923,

    Yes, all the methods for the unsubscribe page/button do depend on being linked from an email sent to the subscriber — there’s no built-in way to just have an “Unsubscribe” page that visitors can visitor directly. This is because the page depends on the data section of the URL to match up the specific subscriber that is going to be unsubscribed.

    The one exception to this is with the Manage Subscriptions page. If the subscriber has a user account on the site and they are logged into the account, then the Manage Subscriptions page will load their subscriber info and allow them to adjust their status (Subscribed or Unsubscribed), as well as which lists they are subscribed to. This would be the simplest way to allow subscribers to visit a specific page on your site to unsubscribe. Again though, it would require that they have an account and be logged in when visiting the page.

    You can also customize your Manage Subscription page as described in our guide here: https://kb.mailpoet.com/article/222-customize-your-manage-subscription-page

    As for your second point about user registrations and how to trigger MailPoet to send confirmation emails via API methods, there’s info about the API here: https://github.com/mailpoet/mailpoet/tree/trunk/doc

    If you have more questions about that though, I’d recommend starting a new thread to keep the post focused on a single topic.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.