Introducing the Unsubscribe Link Feature in WP SMS Pro for Easy Opt-Out

We are excited to introduce a new feature in WP SMS Pro that enhances the user experience for both administrators and subscribers: the ability to append an unsubscribe link to each SMS message. This feature ensures compliance with regulations and improves the ease with which subscribers can opt out of receiving further messages.

How It Works

This feature works seamlessly with your existing SMS newsletter subscriptions. When enabled, an unsubscribe link is automatically appended to each SMS sent to subscribers. This link allows recipients to easily unsubscribe from future messages, ensuring a hassle-free opt-out process.

Note: This feature only works for numbers already subscribed to the SMS newsletter. If you manually send an SMS to a number not in the subscriber list, the unsubscribe link will not be appended.

Enabling the Unsubscribe Link Feature

To enable this feature, follow these steps:

  1. Navigate to the Settings Page: Go to SMS → Settings → SMS Gateway → SMS Dispatch & Number Optimization → Delivery Method.
  2. Select the Delivery Method: Choose the “Batch SMS Queue: Lines up messages for group send” option from the dropdown menu.
  3. Save Changes: Ensure that you save your changes to enable the feature.

Using the Feature with Twilio Gateway

If you are using the Twilio Gateway, there is an additional feature that enhances the unsubscribe functionality. When a subscriber replies with “OFF“, the Twilio SMS gateway will automatically opt out that number from receiving further SMS messages. This automated process helps maintain a clean and up-to-date subscriber list. click here to get more info about this feature.

Additional Option with WP SMS Two-way Add-on

For those using the WP SMS Two-way add-on, this feature integrates smoothly to enhance two-way communication. Subscribers can manage their preferences directly via SMS, making it easier to handle opt-ins and opt-outs.

Example Filter Code

Here is an example of how you can implement this feature using a filter in your WP SMS Pro setup:

add_filter('wp_sms_single_dispatch_arguments', function ($arguments) {
    // Generate the unsubscribe link based on the recipient's phone number
    $unsubscribeLink = \WP_SMS\Newsletter::generateUnSubscribeUrlByNumber($arguments['to']);

    // Append the unsubscribe link to the message content
    $arguments['msg'] .= "\r" . $unsubscribeLink;

    // Return the modified arguments
    return $arguments;
});

Documentation Link

For more detailed information on how to use the wp_sms_single_dispatch_arguments filter and other customization options, visit our documentation page.

Conclusion

The new unsubscribe link feature in WP SMS is designed to provide a better user experience for your subscribers, ensuring they have an easy and accessible way to manage their subscription preferences. Enable this feature today and take advantage of the seamless integration with Twilio Gateway and WP SMS Two-way add-on for enhanced functionality.

For further assistance, feel free to contact our support team or visit our support page.

Get our special CHRISTMAS Offer

20% OFF on all packages

CLAIM NOW

Coupon Code: