Hi all,
I have PHP code which is submitting a form (using cURL) to an existing Marketo form using the /index.php/leadCapture/save endpoint.
This is mostly working fine (it creates leads, records the form fill, they show up in the right smart lists), but it's not associating these leads with their existing page view activity. I'm submitting the _mkto_trk cookie as well, so I assumed this would automatically associate them.
When I look at the data Marketo stores for that form fill, I can see the following data was submitted:
mkto_trk: id:[xxx-xxx-xxx]&token:_mch-[url]-[number]-[another number]
Email: [email address]
This one is just a sign in form, so that's all the data I need (I've also done longer registration forms).
Can anybody help me figure out why this lead isn't associated to that tracking cookie's page views?
Thanks!