Created
December 7, 2015 22:19
-
-
Save ericakfranz/6952c5cfccdcd1086235 to your computer and use it in GitHub Desktop.
Write to the console when an OM optin is about to be successfully converted.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready( function($){ | |
$(document).on('OptinMonsterTrackedImpression', function( event, data, object ){ | |
console.log('A successful conversion is about to be made for the ' + data.optin + '-' + data.type + ' optin.'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
seems like this is the wrong event?