Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using Analytics on a Master/Subpage

Posted on 2009-05-04
1
Medium Priority
?
423 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 32

Accepted Solution

by:
Jamie McAllister MVP earned 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

971 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