4 Replies Latest reply on Jul 12, 2018 9:55 AM by Ashley Blanchard

    Submitting Munchkin cookie as _mkto_trk through leadCapture/save

    Ashley Blanchard

      For a variety of reasons, on our new website we are posting our lead forms to the leadCapture/save endpoint. Everything is working well except associating the munchkin cookie. From other posts I can see that we should be posting the cookie in as the field _mkto_trk to the leadCapture/save endpoint. However, it doesn't seem to be associating the munchkin cookie to that record.



      Clicking a link with a token associates just fine, so I know the munchkin cookie is working as it should.


      Here's what it looks like in the form fill activity log:
      Screen Shot 2018-07-11 at 3.05.16 PM.png


      If I call the lead endpoint with that cookie later, there is no response. I do get a response for leads with older cookies set before the website changed.


      I've seen reference to the Associate Lead call, but I need the Lead ID for that, and I am trying to use the cookie to get the Lead ID so that seems pointless.


      Any ideas?