How can we associate a Custom Activity to a Anonymous Lead

Anonymous
Not applicable

How can we associate a Custom Activity to a Anonymous Lead

We want an ability to track custom activities for anoymous users.

Trying to do this using Rest API.

  1. Query the Lead using the Marketo Cookie
  2. Add Custom Activity to the Lead.

Step 1 is failing, The API is not returning the Anonymous Lead when queried using the token.

Any Suggestions ?

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: How can we associate a Custom Activity to a Anonymous Lead

You can't.

CAs are for named leads in your db.

The only way you could simulate this would be by logging a temporary standard Munchkin activity and later (after lead promotion from anon -> named) reading it out and calling back in via API.

Or, of course, by saving the CA info offline and batching it later -- which is the only business-class way to use CAs anyway, given low rate limits and associated security/reliability risks.