Skip to content
  • There are no suggestions because the search field is empty.

Tracking Marketo Form Submissions

Track Marketo Form Submissions as Goals in Convert for Accurate Conversion Attribution

 THIS ARTICLE WILL HELP YOU:

 Marketo Form Submissions

It is possible to track Marketo form submission within Convert Experiences. To do it follow the steps below.

 Create a Javascript Triggered Goal

In your Experiment Summary page go to your Goals:

 

Then to Goal Templates and select Javascript Triggered Goal:

 

Name the goal and save it:

 

Once it is saved, go to edit the goal and copy its ID:

  Copy Code into Global Project JS

function triggerGoal (goal) {
conv_q = _conv_q || [];
conv_q.push(["triggerConversion",goal]);
}

convert.$( document ).ready(function() {
if (window.location.href.includes('https://www.domain.com/formpage/')) {
console.log('On right page to trigger goal');
MktoForms2.whenReady(function (form,window) {
form.onSubmit(function(){
console.log('Marketo Form Submitted');
triggerGoal('123456789');
});
});
}
});


Replace the goal ID with your own:

 Attach Goal to Experience

Attach this goal to the experience where you want to track submissions:

 

You are ready to go!