hi... I have an web application written in c# and I've used MasterPage for most of the page. Now I want to add the Google Analytic script to my application. If I place it under MasterPage, will it be able to track the visit to each of my pages accurately? Or should I place the script in every pages instead of master page? The problem is, the tag only exists in Master Page...
Thanks!
Best regards,
Eliz Kwww.angkuku.com
Google Analytic in Master Page for C# Web Application
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Aug 14, 2009, 7:39 PM EDT
Roei BarRank #1,271 · 1.4K reputationPosted Aug 14, 2009, 10:48 PM EDT
the main question is what do you want to track,
the User Pages or the user Clicks..
if you want the user pages placing it on the MasterPage will do the work but put in mind the following, if you have a multiview you wont be able to know the current user view..
if you want to track the user clicks you will need to put the analytics on each control "onclick"
just a little issue to put in mind, if you want a good analytics add to the pagetrack the window.location
it will help you to build a better report