Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example of How To Push Marketo Form Values to DataLayer
MktoForms2.whenReady(function (form) {
var vals = form.vals();
'event': 'marketoFormSubmit',
'marketoCompany': vals['Company'],
'marketoLeadSource': vals['LeadSource'],
'marketoOriginalSource': vals['Original_Source_Detail__c'],
'marketoCurrentSource': vals['Source_Detail__c']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.