One-Click Sign-up
One-click sign-ups rely on a user's existin
One-click sign-ups rely on a user's existing credentials, and as so, they are very useful in promoting additional services to existing subscribers where only an email address is needed. These scenarios include free publications and free webinars.
NOTE: We no longer recommend using {$email} directly to prevent issues with bot-clicks and email firewalls.
You should use {$submailinghash} instead:
https://{APP_DOMAIN}/o/messages/segments/[segmentid]/{$submailinghash}
One-click sign-up links also support the subscriber's email MD5:
https://{APP_DOMAIN}/o/messages/segments/[segmentid]/{$email_md5}
For backwards compatibility the legacy one-click using email still works:
https://{APP_DOMAIN}/o/messages/segments/[segmentid]/{$email}
Link Builder
You can build and copy one-click sign-up links from Messaging > Segments. Open a segment in View mode, then use the One-Click Sign-up Link section to choose the subscriber identifier, add optional subscriber variables, and copy the generated URL or HTML example.
Subscriber Variables
You can pass subscriber variables on the one-click URL by adding query parameters that match the variable's macro name without the surrounding {$...}.
For example, if the variable Macro is {$esp_variable_name}, use esp_variable_name in the URL:
https://{APP_DOMAIN}/o/messages/segments/[segmentid]/{$submailinghash}?esp_variable_name=value
Only variables that are defined in your installation will be saved.
Redirect URL Macros
If a segment has a Redirect URL configured, the subscriber is redirected there after being added to the segment. The redirect URL supports the following macros:
| Macro | Replaced with |
|---|---|
{$email} | The subscriber's email (URL-encoded) |
{$email_md5} | The MD5 hash of the subscriber's lowercased email |
{$submailinghash} | The ESP submailing hash (URL-encoded), only present when the link was visited using a {$submailinghash} identifier |
For example, a redirect URL of https://example.com/welcome?id={$email_md5} will substitute the subscriber's email MD5 before redirecting.
replace
[domain]with your OptiPub system domainreplace
[segmentid]with the segment id
Domain Verification SecurityOne-click sign-up links will only work on domains verified in the OptiPub system. On external websites, you must add the domain to Domains.

