Tracking Marketo form fills in Adobe Analytics? | Community
Skip to main content
Thai_Luong
New Participant
March 26, 2021
Solved

Tracking Marketo form fills in Adobe Analytics?

  • March 26, 2021
  • 1 reply
  • 4507 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by jeffl64255938

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>

1 reply

jeffl64255938Accepted solution
New Participant
April 9, 2021

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>
SanfordWhiteman
New Participant
April 9, 2021

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.

Thai_Luong
New Participant
April 12, 2021

@jeffl64255938 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!