Wrox Programmer Forums
|
BOOK: Professional Search Engine Optimization with ASP.NET ISBN: 978-0-470-13147-3
This is the forum to discuss the Wrox book Professional Search Engine Optimization with ASP.NET: A Developer's Guide to SEO by Cristian Darie, Jaimie Sirovich; ISBN: 9780470131473
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Search Engine Optimization with ASP.NET ISBN: 978-0-470-13147-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 15th, 2007, 08:47 PM
Registered User
 
Join Date: Nov 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Google Analytics Tag with Master Page

Hello,

I just picked up the ASP.NET search engine optimization book. I am looking to implement the practices in the book in the next weeks but I have a more pressing issue that I couldn't find in the index or intro.

The site that I am looking to optimize will be using a Master Page and I want to use a Google Analytic tag on all the content pages. Some places I have seen online say to put it in the head tag of the Master Page, but I am told to put it in the body tag from Google. I tried both of these approaches but neither seems to provide any data to Google Analytics, which is vital to presenting the search engine data.

What is the best way to implement this tag so that all content pages can be tracked?

Thanks!

 
Old November 15th, 2007, 11:44 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Hello!

As Jamie and Cristian said in chapter 2:

Google Analytics is a free and robust web service that performs web analytics. It is located at http://www.google.com/analytics/. The service is complex enough to merit its own book; feel free to check out Google Analytics (Mary E. Tyler and Jerri L. Ledford, Wiley, 2006). Figure 2-2 shows one of the many reports Google Analytics can deliver.

With that said, they do not go into any great depth about Google Analytics but you can find detialed instructions on how setup google analytics on both simple and complex websites at: http://www.google.com/adwords/learni...ext/29523.html

You no doubt have seen that page but, as you said in your post, Google has told you where to put the necessary code and being that it is their tool, I am inclined to set it up as they suggest.

Hope that helps and that you enjoy the book!

-Doug

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========
 
Old November 19th, 2007, 01:11 PM
Registered User
 
Join Date: Nov 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, I guess I wasn't waiting long enough for the data, it works as Google mentioned.

Thanks

 
Old November 19th, 2007, 01:22 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Glad you got it all figured out! =]

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
Master Page Method: Code-Behind for Content Page kwilliams ASP.NET 2.0 Professional 3 June 2nd, 2008 12:57 PM
Master Page and Content Page with Java script Harjinder ASP.NET 2.0 Professional 1 February 1st, 2008 10:31 AM
Google Maps JS in ASPX page error kingroon ASP.NET 2.0 Basics 0 December 7th, 2007 09:52 AM
Access Master page control from Content page. angshujit ASP.NET 2.0 Basics 3 January 11th, 2007 06:20 AM
Google Adsense for Search script in asp.net page claudew BOOK: ASP.NET Website Programming Problem-Design-Solution 6 September 20th, 2004 08:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.