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="http://www.example.com/" class="om-trigger-conversion">Canvas Link</a>

or

<form method="POST" src="http://www.example.com/form.php">
  <input type="text" placeholder="First Name" />
  <input type="email" placeholder="Email Address" />

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

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!


FAQs

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!" />