Solved

Using Analytics on a Master/Subpage

Posted on 2009-05-04
1
408 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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

762 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now