aliId | Requirements to include the aliId in the thankYouURL
As far as I know, there should be a URL parameter included in our thankYouURL. I have seen this URL parameter appear in our thankYouURL from time to time, but it does not always show up.
Are there any specific requirements that need to be fulfilled for an aliId to be added to the thankYouURL? For example:
- Does the form need to be on a Marketo landing page?
- Does the form need to be on an external landing page?
- Will the aliId only appear if there is no _mkto_trk cookie present?
- Does the ThankYouPage URL need to be on an external page?
- Etc.
Do you know more about this?
In the end, I want to extract the aliId from the ThankYouPageURL using JavaScript. However, when I try to do it as shown below, the URL usually does not contain any URL parameters.
Thanks and kind regards
Wolfram
form.onSuccess(function(values, followUpUrl) {
console.log(followUpUrl);
return false;
});