Solved

Using Analytics on a Master/Subpage

Posted on 2009-05-04
1
413 Views
Last Modified: 2013-12-07
I have several master pages and many related sub pages (which are based on the master pages).

I have google analytics code.  I want to track the traffic to EACH page.

Should I put the analytics code in the master pages or the sub pages or both?  Which tracking will be more accurate?

Thanks
0
Comment
Question by:RobertNZana
1 Comment
 
LVL 31

Accepted Solution

by:
Jamie McAllister MVP earned 500 total points
ID: 24296788
The Master page is the appropriate place. That merges the tracking code into the Rendered aspx code and so is not different to putting it in each page as far as the tracking is concerned. Of course, it's much nicer to maintain in just the master page than everywhere.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question