How to Track Conversions when Using OptinMonster’s Canvas Technology

Because we allow you to be completely free to use whatever you would in Canvas, we have no way of knowing what criteria counts as a conversion to you. We can take care of processing conversions, but we need a notifier from you to let us know that a conversion has taken place.

REQUIREMENTS: Canvas is available with a Pro Subscription.

In order to facilitate this, there is a special class that you can use to notify us that a conversion has happened. All you need to do is add the class om-trigger-conversion to the element (link, submit button, etc) that you wish to track a conversion via.

For example:

<a href="" class="om-trigger-conversion">Canvas Link</a>


<form method="POST" src="">
  <input type="text" placeholder="First Name" />
  <input type="email" placeholder="Email Address" />

  <input type="submit" class="om-trigger-conversion" value="Submit Now!" />

This lets us know that a conversion has taken place when the visitor selects a link or submit button in your Canvas optin. It could be that the user clicked a button to download something, to share your page on social media, or they’re submitting a form.

We truly hope you enjoy the freedom and flexibility of OptinMonster’s Canvas technology!


Q: Why does my optin not close automatically after submission?

A: For most users, their form’s redirect action renders this a non-issue. However, if your code keeps the web visitor on the same page, then you will need to add an additional class to your input. You will need to add the om-trigger-close class.

What this means is your Submit input button will now have 2 custom classes: (1) the om-trigger-conversion to track a conversion when the button is pressed, and (2) the om-trigger-close to close the optin modal popup when the conversion data has been submitted.

Your input button could look something like the example below:

<input type="submit" class="om-trigger-conversion om-trigger-close" value="Sign me up!" />

Q: Why doesn’t my Custom HTML with JavaScript allow the Tracking of Conversions?

A: If your custom code is using JavaScript on the submit event, then you need to make sure when possible that your last line on that submit JavaScript is:

return true;

EXCEPTION: If you are doing any sort of redirect if the submission is successful on your customized submission JavaScript code then there is nothing OptinMonster can do to track the conversion.