One-way opt-out is a flow that can be added to your marketing campaigns to enable customers to opt out in regions where SMS marketing is one-way only.
One-way opt-out allows you to add a link to your SMS or MMS template which the customer can click on to start the opt-out flow.
When a customer clicks the opt-out link, they will be taken to a confirmation page where they will be asked to confirm that they want to opt-out. Upon confirmation, they will be taken to a page that displays a confirmation message to the customer that they have successfully opted out of future marketing campaigns.
Customizing Your Opt-Out Flow
By default, this flow will use Optimoves’ own standard opt-out confirmation pages. However, you can customize your confirmation page to include your own branding. Here's how you can make the page more brand-friendly:
Self-hosted Confirmation web page
Customize the content and style of your confirmation page to match your website's design and branding. Modify the HTML and CSS to match your brand colors, logo, and styling. When self-hosting your confirmation page, use your own domain name and URL, for example: https://my.branding.com/optoutconfirmation
Developer Documentation
If you want to create your own custom self-hosted opt-out confirmation page, we have provided a Git repository to help you on your way.
Clone or download the following repository to get started: OptiText Opt-Out Confirmation Page
Included in the repository is some example code in the form of an example opt-out confirmation page, as well as a Readme to guide you.
Add your confirmation page URL to your Optimove template
Through the template editor, use the opt-out link dialog to add your self-hosted confirmation page URL here.
Opt-Out Confirmation Workflow
- User clicks embedded opt-out link, this will reach Optimove Opt-Out Service first.
- Opt-Out Service use setup URL forward link to your self-hosted confirmation page. This page will receive the GET parameters (slug=x) and (confirm=0).
- From the confirmation page, we must be sent back to the Opt-Out Service along with a single GET parameter (confirm=1) to finalize the opt-out process. Normally, this is accomplished by clicking a confirmation button on the page. Notice: the sent back Opt-Out URL should include slug x.
- After opting out, the service will redirect the user back to the same confirmation page, but this time with the GET parameter (confirm=1) included. The page should detect this parameter and display a message confirming that the user has been successfully opted out.
- The default opt-out confirmation page is a small publically accessible single-page HTML document (use view source to see the code).