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 that 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 uses Optimove's 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: SMS 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
- The customer clicks the opt-out link embedded in the message. The link includes a customer-specific slug and goes to the Optimove Opt-Out Service first.
- The Opt-Out Service redirects the customer to your self-hosted confirmation page (the URL you set up in the template). The page receives the GET parameter
slug=x. Noconfirmparameter is present at this stage, so your page should show the confirmation prompt wheneverconfirmis not1. - When the customer confirms (normally by clicking a confirmation button on the page), your page must send them back to the Opt-Out Service at
https://ot.gt/<slug>?confirm=1, where<slug>is the slug value your page received in step 2. This finalizes the opt-out. - After opting the customer out, the service redirects them back to the same confirmation page, this time with the GET parameter
confirm=1. The page should detect this parameter and display a message confirming that the customer has been successfully opted out. - The default opt-out confirmation page is a small publicly accessible single-page HTML document (use view source to see the code).
Important: The Opt-Out Service address is https://ot.gt/. If your custom confirmation page was built using an older version of the repository, it may still send customers to https://optouttxt.net/. This legacy address is being retired, so update your page's confirm button or form to use https://ot.gt/<slug>?confirm=1.