foevah Posted June 10, 2009 Share Posted June 10, 2009 I have added the following jQuery after the google analytics code: $(document).ready(function() { $("#pre-book").attr("onSubmit", "pageTracker._trackEvent('Signup Forms','AMF Signup','Newsletter',2.0);"); }); this picks up the form with id pre-book and it adds the onSubmit code to it: onsubmit="pageTracker._trackEvent('Signup Forms','AMF Signup','Newsletter',2.0);" i did this yesterday and submitted my details into the form but when I look in google analytics event tracking overview this hasn't been detected? does anyone know what I am doing wrong? Quote Link to comment Share on other sites More sharing options...
foevah Posted June 15, 2009 Author Share Posted June 15, 2009 anyone know how to get this working? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.