chexton
9/9/2013 - 12:44 AM

aw-vero-sub.js

aw-vero-sub.js

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();
  });
});