Hi All,
Is there a way to track Marketo form fills in Adobe Analytics? If so, how would I push this data into AA?
Any help would be very much appreciated!
Solved! Go to Solution.
You can leverage the Marketo 2.0 API to do something like this by either adding this to your template or appending it through your Tag Manager.
The below example is based on using a Direct Call through Adobe Launch
<script type="text/javascript">
MktoForms2.whenReady(function (form) {
// Add an onSubmit handler
form.onSubmit(function(){
// set function calls here, for example to fire google analytics or adobe analytics tracking
_satellite.track('mrktoFormSubmit');
});
});
</script>
You should use onSuccess, not onSubmit, for this kind of analytics call. An onSubmit listener being executed doesn't mean the form was submitted — it could be short-circuited by other event listeners or by a network error.
You can leverage the Marketo 2.0 API to do something like this by either adding this to your template or appending it through your Tag Manager.
The below example is based on using a Direct Call through Adobe Launch
<script type="text/javascript">
MktoForms2.whenReady(function (form) {
// Add an onSubmit handler
form.onSubmit(function(){
// set function calls here, for example to fire google analytics or adobe analytics tracking
_satellite.track('mrktoFormSubmit');
});
});
</script>
@Jeff_Leong and @SanfordWhiteman much appreciated!
To Sanford's point, yes I'll be implementing it onSuccess as I have done through GTM in the past. I'll have the team add this script to Adobe Launch for AA.
Thank you both for your help!