Why is Marketo Unique Code intermittently not available on form confirmation?
Hi,
I am trying to use the Marketo Unique Code on a form confirmation page but it is quite often missing (about a quarter of the time). I have a form which asks for details (e.g. email address) and on the following confirmation page I have code similar to:
<script>
var myData = {
uniqCode: "{{lead.Marketo Unique Code}}",
emailAddress: "{{lead.Email Address}}"
}
</script>
It seems that myData.emailAddress is always set, but that myData.uniqCode is often not. I had wondered if it was just new leads but it seems to affect existing ones too.
Thanks!