SOLVED

Tracking Marketo form fills in Adobe Analytics?

Go to solution
Thai_Luong
Level 2

Tracking Marketo form fills in Adobe Analytics?

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!

2 ACCEPTED SOLUTIONS

Accepted Solutions
Jeff_Leong
Level 2

Re: Tracking Marketo form fills in Adobe Analytics?

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>

View solution in original post

SanfordWhiteman
Level 10 - Community Moderator

Re: Tracking Marketo form fills in Adobe Analytics?

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.

View solution in original post

3 REPLIES 3
Jeff_Leong
Level 2

Re: Tracking Marketo form fills in Adobe Analytics?

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>

View solution in original post

SanfordWhiteman
Level 10 - Community Moderator

Re: Tracking Marketo form fills in Adobe Analytics?

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.

View solution in original post

Thai_Luong
Level 2

Re: Tracking Marketo form fills in Adobe Analytics?

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