Created
September 9, 2013 00:44
-
-
Save chexton/6490039 to your computer and use it in GitHub Desktop.
aw-vero-sub.js
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() { | |
| jQuery('#subscribe_form').submit(function(){ | |
| form = jQuery('#subscribe_form'); | |
| email = jQuery('#nl_email').val(); | |
| _veroq.push(['user', {id: email, email: email}]); | |
| _veroq.push(['track', 'subscribed to newsletter']); | |
| form[0].submit(); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment