Track Ajax Form Google Analytics
Posted on 2011-04-29
We have a simple callback form on a masterpage of our site. (i.e. so the for appears on every page).
Now we arelooking at setting up a goal in google analytics to track which page the user navigates and then track the form submission, which uses ajax.
Now can anyone help me to do this?
First of all, is there an easy way fr me to track all pages on the site? next I assume I need to add tracking code to the success part of the jquery ajax submission, how and what do I put here please?
i.e. so we could say the user entered at the contact page -> then illed the form in.
Thanks in advance,