Re: Why is Marketo Unique Code intermittently not available on form confirmation?

Anonymous
Not applicable

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!

2 REPLIES 2
Jim_Thao7
Level 9

Re: Why is Marketo Unique Code intermittently not available on form confirmation?

Marketo Unique Code is a system managed field.  Any particular reason why you would want to use this field and also display it to the lead?

Also, how do you validate that there is an actual value for this field on the lead record?  It's not in the lead info view or can't be added to smart list views as a column from what I can tell.  

SanfordWhiteman
Level 10 - Community Moderator

Re: Why is Marketo Unique Code intermittently not available on form confirmation?

There's never been a guarantee that the form data will be fully reconciled with the lead database by the very next pageview.  The web session is guaranteed to be eventually consistent, but AFAIK not more than that.

I think some users believe they've "gamed" this rule, but it's still in place as far as I can see across the instances I work on.