Go4Expert (http://www.go4expert.com/)
-   JavaScript and AJAX (http://www.go4expert.com/articles/javascript-tutorials/)
-   -   Tracking Feedburner Form Submissions in Google Analytics (http://www.go4expert.com/articles/tracking-feedburner-form-submissions-t28160/)

shabbir 10Apr2012 11:32

Tracking Feedburner Form Submissions in Google Analytics
Feedburner statistics are not part of Google Analytics and I couldn't understand why but you can track Feedburner Email Subscription Form Submission in Google Analytics Very easily.

Activate Email Subscription for your Feed in Feedburner and grab the HTML code of your subscription form. The HTML code should look like this.

Now insert the onclick handler code for submit button to track form submissions in Google Analytics. The onclick event handler code is

HTML Code:


HTML Code:

<input type="submit" value="Subscribe" />

HTML Code:

<input type="submit" value="Subscribe" onclick="javascript:_gaq.push(['_trackPageview','/formsubmission/feedburner']);" />
Tracking works with the latest code of Google Analytics and you can see the tracking in action for my blog in the screenshot below.

If you have multiple forms on a page and want to track submissions of each of them separately you can either change the tracking string like

HTML Code:

or like
HTML Code:

HTML Code:

If you have any queries or questions, do share them in comments below.

All times are GMT +5.5. The time now is 03:59.