ECID Capture in Marketo using Web SDK (alloy.js)

Jason_CAm
Level 1

Has anyone had luck with collecting ECIDs into Marketo when using Web SDK (alloy.js) for data collection on a website? 

 

The automatic collection of ECIDs worked fairly well when using the ECID service (Visitor.js) as the Munchkin.js script contains logic to read in the AMCV cookie and pass this information in visitWebPage and clickLink calls in the _mchEcid query string parameter, resulting in the ECIDs field being populated in Marketo anonymous and known lead records.  However, when using Web SDK (alloy.js), this ECID sync no longer functions as different cookies are used for identity storage (kndctr_<ORG_ID>_identity), which Munchkin.js does not attempt to read. 

 

I am trying to do this manually by including the ECID as a custom parameter in visitWebPage and clickLink calls, but it doesn't seem to function quite the same as the behavior observed when using Visitor.js.  With Visitor.js, based on my testing, existing lead records would be updated with an ECID, which is fantastic.  However, when using Alloy.js and sending the ECID as a custom parameter, Lead records in Marketo only seem to store the ECID value for new Leads when converting from anonymous to known (i.e. existing Lead records are not automatically updated).

 

Since moving to Web SDK, we now have lots of Lead records in Marketo without an ECID, which is quite unfortunate.  Without having the ECID linkage between systems, this impairs a lot of the data sharing that might be done between Adobe Analytics and Adobe Marketo.  I think I may have something that works on a go-forward basis, but ideally I would have a solution that allows me to update existing Lead records, as well, should they come back to the website.

 

Hoping someone out there has run into this and may have some ideas on how to overcome!

0 REPLIES 0