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
Loading
Roei BarPosted Aug 15, 2009, 2:48 AM
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
Kirtan PatelPosted Aug 14, 2009, 11:39 PM