optipub-unsubscribe
This optipub-element
allows you to easily host a form on your external website to let your users unsubscribe from a mailing or segment. Check out Getting Started With OptiPub Elements first.
Usage
Required Property
The
optipub-unsubscribe
element requires ahash
property to be defined on the element or be available within the url in a query string.
<optipub-unsubscribe hash="mailinghash"></optipub-unsubscribe>
https://docs.optipub.com/unsubscribe?hash=mailinghash
Custom Properties
Additional properties exist on the optipub-unsubscribe
element that allow more control over the element without having to overwrite the template.
Property | Description | Example |
---|---|---|
comment-placeholder | Used to change the text of the placeholder for the comment field. | comment-placeholder="Provide your comments here" |
button-keep | Used to change the text of the button to remain on the subscription. | button-keep="I don't want to miss out" |
button-remove | Used to change the text of the button to be removed from the subscription. | button-remove="Unsubscribe Me" |
segment-ids | Used to remove the subscriber from specific mailing segments. | segment-ids="12,13,14" :segment-ids="[1,2,3,4]" |
Updated 12 months ago