Sorry my mistake yuri, small typo in my config param.
I did noticed that the getOptOutUrl, getTrackUrl and addBodyTracking function assume a trailing slash in the massEmailSiteUrl parameter
while for the leadCaptureSiteUrl parameter, a trailing slash is added in the code:
Custom URL to handle opt-in
Collapse
X
-
Custom URL to handle opt-in
Hi,
We use Lead Capture with Double Opt-In enabled. The assigned email template uses the {optInUrl} variable for the recipient to opt-in. This variable is replaced with the default site URL.
Currently there are 2 config parameters used to override the default site URL:
- leadCaptureSiteUrl - to override the default site URL (can be helpful if there's no access to your CRM from the internet, but you want to expose the lead capture; you will need to configure your server to handle requests to the specified URL)
- massEmailSiteUrl - to override the default site URL (can be helpful if there's no access to your CRM from the internet, but you need to handle opting out & tracking URLs; you will need to configure your server to handle requests to the specified URL);
It would be great to also implement a custom URL config parameter for optIn or apply one of the existing config params for this purpose.
Tags: None

Leave a comment: