All confirmation pages are appended with an aliId in the URL string. I can see them in Google Analytics.
Is it possible for me to find the lead in Marketo using aliId?
What exactly is aliId?
I think it's an anti-caching ("cachebuster") variable to create a unique URL. It has no inherent meaning (or none that we can access). It isn't the Marketo Lead ID.
I though the number was the lead id.
But no, you cannot search by Marketo Lead ID.
Yeah, it isn't the lead ID b/c it changes on every form post for the same lead.
It's an auto-incrementing field that may be based on the nth form fillout in your instance or something: for two fillouts in a row I got 19497372 and 19497373.
In any case I think it's meant to be opaque to us.
Is it considered part of the URL? If so, then doesn't this affect the ability to identify exact referrer URL values in our smart lists (since if using the "IS" constraint, that requires the full/exact URL - including all query strings/URL parameters)?
Yes, when you're using a full URL match on Referrer, it is included. If you want a totally predictable URL after form submit, you'd have to set the URL yourself onSuccess (since you can't control whether a search engine has added other params to the LP).
BTW, this snippet will be your friend:
form.onSuccess(function(vals, tyURL) {
var reloc = document.createElement('A');
reloc.href = document.location.href;
reloc.search = '?my_custom_query=value'; // manually set the qs to only what you want
reloc.hash = '';
if (history.replaceState) {
history.replaceState({}, '', reloc.href);
} else {
document.location.href = reloc.href;
}
return false;
});
Before I answer your question, what do *want* to happen? Do you want the page to fully refresh (default behavior) or do you want to replace the form with a Thank You message, leaving the page otherwise loaded?