Associate API based lead created to Anonymous web page visits and clicks | Community
Skip to main content
New Participant
June 7, 2023
Solved

Associate API based lead created to Anonymous web page visits and clicks

  • June 7, 2023
  • 1 reply
  • 1191 views

Business use case is to associate anonymous web visits to Marketo lead which are created through API. However, if user fills out Marketo Form the association of web visits working fine. But, what are other ways so that when placing JS script that can help to associate this anonymous web visits and clicks which is already in Marketo logged. 

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

 In order to be associated with a known record in Marketo, one of the following things must occur:

  • The lead must visit a Munchkin-tracked page with a mkt_tok parameter in the query string from a tracked Marketo email link.
  • The lead must fill out a Marketo Form.
  • Make an Associate Lead REST API call. You'd need the mkt_trk cookie and the known person's Id as a parameter in the API call. Activities tied with the cookie would be associated with the known person record in Marketo.

The 3rd option for your use case looks apt for programmatically associating the anonymous web activities with a known person record in Marketo.

 

1 reply

Darshil_Shah1
Darshil_Shah1Accepted solution
Community Manager
June 7, 2023

 In order to be associated with a known record in Marketo, one of the following things must occur:

  • The lead must visit a Munchkin-tracked page with a mkt_tok parameter in the query string from a tracked Marketo email link.
  • The lead must fill out a Marketo Form.
  • Make an Associate Lead REST API call. You'd need the mkt_trk cookie and the known person's Id as a parameter in the API call. Activities tied with the cookie would be associated with the known person record in Marketo.

The 3rd option for your use case looks apt for programmatically associating the anonymous web activities with a known person record in Marketo.