Tracking Marketo ID | Community
Skip to main content
May 1, 2017
Question

Tracking Marketo ID

  • May 1, 2017
  • 1 reply
  • 4468 views

We want to track the unique ID of the user in Google Analytics if someone fills out the Marketo form. Is there a way we can call the Marketo ID or Lead ID of the user? I cannot find any token for this.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Jim_Thao7
Level 8
May 1, 2017

Use {{lead.id}}

SanfordWhiteman
Level 10
May 1, 2017

Jim, {{Lead.Id}} can't be expected to be available directly after form fillout, so this won't work reliably.

Sargam Gera to ensure you have a unique, non-PII ID, generate a random hidden field client-side and keep a history of that field in Marketo.

Built-in sort-of-alternatives are the Munchkin cookie value (_mkto_trk) and the aliId parameter, but both are problematic (in the first case, the cookie can be used to locate personal information and also may be reused; in the second case, you need to make sure there's a Visit Web Page logged for the Thank You URL that contains the aliId).

Level 4
September 20, 2017

We're trying to do something fairly similar in that we're trying to pass info back to google post form fill-out for ad serving quality purposes.

We recently had 78 form fill-outs, 55 of which were undesirable. We want Google to optimize for the 23 positive conversions. To do that, we need to be able to tie the Google conversion pixel ID to some unique Marketo ID so after we determine what is undesirable, we can pass the Google Conversion ID back to Google so they can optimize accordingly.