Created
December 7, 2015 22:18
-
-
Save ericakfranz/53c8e2d381890b4b4d60 to your computer and use it in GitHub Desktop.
Write to the console when an OM optin successfully tracks an Impression.
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(data.optin + '-' + data.type + ' successfully tracked an impression.'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment