AnsweredAssumed Answered

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

Question asked by 61bfa58a222079999a5628a14e8ecb491d4a91fb on Oct 26, 2016
Latest reply on Oct 28, 2016 by sanford.whiteman

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!

Outcomes