How to track different button clicks with Google Analytics and AJAX?

Posted by citronas on Stack Overflow See other posts from Stack Overflow or by citronas
Published on 2010-04-11T14:15:32Z Indexed on 2010/04/11 14:23 UTC
Read the original article Hit count: 287

Filed under:
|
|
|

I have several pages, let's call them A, B and C.
Each of these pages has a form where the user can type in some information and click a button to send those information to the server. This button click is performed in an UpdatePanel to prevent a full postback.

A customer of ours now wants to know how many % of the using visiting each site (A, B and C have different URLs) use this form. (Meaning I need seperate values for A, B and C)
How to I track this in Google Analytics? It seems that I have to create a conversion(??) for each page. Is that correct?

How must I modify the existing web application to let Google Analytics know, that a user submitted the form. (without the need to redirect thank to xy amount of different thank you pages)

The only piece of information I've found so far is this: http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55519 Unfortunately, this FAQ entry does not cover my answer.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#