Solved

Google Analytics and asp pages with sql database. Howto?

Posted on 2011-09-11
4
410 Views
Last Modified: 2013-11-19
I want to setup a Google Analytics Account on our website

http://www.cicd-volunteerinafrica.org/

I have made a file called analytics.asp
in the "default.asp" I have added <!--#include file="analytics.asp"-->

I have to questions:

1. Do I have to add this include file to all asp pages:
(like article.asp, textpage.asp etc) or is it ok to only do it on default.asp?

2. With and without www
    I have read that you can make a 301 redirect as a work around. Question is if I do not have this in place, do I have to temporary create 2 google analytics account to get around the problem? one with and one without?

Regards
0
Comment
Question by:morten444
  • 2
  • 2
4 Comments
 
LVL 29

Expert Comment

by:David H.H.Lee
ID: 36518963
Hi morten444,
Here are the comments on your asked:
1.Yes, you have to include this file in all the pages in order to let your google analytic able to capture your visitor landing statistic properly.
2.What you mean "with and without www"? Why you need to create 2 google analytics account? What you want to accomplish for this with or without www setting? Please clarify.
0
 

Author Comment

by:morten444
ID: 36520115
Hi Thanks

domain.com is a main domain
www.domain.com is seen as sub domain

If i on google analytics register the page www.domain.com i believe that maybe it will not register visitors entering using domain.com

Therefore my theory is that if you do not let google analytics know its the same page and if you are not using 301 redirection from www.domain.com to domain.com, I will have to create the 2 accounts in google analytics

Is that right?
0
 
LVL 29

Accepted Solution

by:
David H.H.Lee earned 500 total points
ID: 36520672
Hi morten444,
You can monitor all the sub domain using the same google profile, or track it separately as you wish.
Please refer google analytic help file under Tracking subdomains section:
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55524&from=55525&rd=1

Alternatively, this blog is clearly clarify how you can make it. Follow the instructions as mentioned below:
http://cutroni.com/blog/2007/11/19/tracking-sub-domains-with-google-analytics/
0
 

Author Closing Comment

by:morten444
ID: 36524838
Thanks for your answers
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

A great marketing strategy is diverse.  Read about the not so popular, yet effective, marketing tactics you can start using today!
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
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…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

840 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