1 Reply Latest reply on Feb 6, 2017 6:54 AM by Sanford Whiteman

    How can we associate a Custom Activity to a Anonymous Lead

    G Rego

      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 ?

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

          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.