Industry guru Dave Taylor offers tech support on technical and business topics, including iPhone, iPod, Microsoft Windows, Sony PSP, cellphones, online advertising, CSS, Web design, business, Unix, Linux, SEO, Mac OS X, and shell script programming.     


How can I track visitors to my Web page?

I don't have a blog, I don't have a fancy Web site and I don't have a profile on MySpace or Facebook, but I do get people coming to my simple little four-page Web site and I'd like to learn more about them. My sister says I want to run some "analytics" program, but I'm clueless. I can edit HTML, but what do I add?


Dave's Answer:

You are right to be thinking of this stuff. Without some sort of decent analytics it's just about impossible to know who is coming to your site and what they do once they get there. Add one of a number of different free packages, however, and you can extract a surprising amount of information by just poking around when you have the time.

Since you're comfortable with basic HTML, you also have a bit of a proverbial leg up on most folk because you can easily copy and paste the necessary Javascript into the correct spot on your pages without freaking out or breaking things. :-)

So there are a lot of different analytic programs on the market, but what I like is Google Analytics. It's free, it's powerful and it's fast enough loading that there's no performance penalty for your visitors (a big issue in my book). You can sign up for free, but you probably already have a Google account so it's even easier. Find out, go to Google Analytics and sign in / sign up.

Here's what it looks like when you "create new profile":

google analytics create new profile

Once that's done, you'll be given a couple of lines of HTML to add to your pages:

google analytics paste code

Literally, that's all you have to do. Copy what's in that box on your own Google Analytics page and then paste it between the </body> and </html> tags at the very bottom of your Web pages that you want tracked (basically all of them).

Now wait until there's some traffic and you can go back to Google Analytics and see reports like these (these are for my film blog Dave On Film.com, btw):

google analytics week report daveonfilm

and, more interestingly, detailed stats about what pages are popular:

google analytics week report daveonfilm 2

As you can see, lots worth checking out and a great way to learn quite a bit more about your site traffic. Hope that helps you out!


More Useful HTML, JavaScript and Web Site Programming Articles:
✔   How to Create Predefined Google Image Search Links?
Thanks for the Amazon URL [see Creating Amazon Search Links]. That worked beautifully. In fact, I sent you $5.00 for coffee in thanks....
✔   Can I embed a Facebook search box on my blog site?
I've seen your articles about how to add a Twitter or Google search box on a Web page, but I have a tougher...
✔   Can I use CSS for drop shadows on my blog?
I want to give my site a bit of a facelift and add some neat graphical elements. One of which is drop shadows....
✔   How can I embed interactive photo panoramas on my site/blog?
I read through your blog entry about how to take panoramic photos with iOS 6 and an iPhone 5 and got enthused. I've...
✔   How can I create a Twitter search URL shortcut?
I'd like to add a few Twitter search links to my Web site. Is that possible, or does Twitter prohibit this sort of...

Let's stay in touch!
Sign up for my weekly AskDaveTaylor Newsletter and you'll receive even more tech and gadget help right to your inbox, along with exclusive news and industry updates. It's good stuff. I promise!
    Enter your name: and your email addr:  




Categorized: Building Web Site Traffic , HTML, JavaScript and Web Site Programming   (Article 9352, Written by )
Tagged: analytics, google analytics, site traffic, traffic analysis
Previous: Three Important Factors for Great Photographs
Next: How do I send a friend request in Facebook? (updated)




Reader Comments To Date: 3

inder gopal said, on March 29, 2010 12:05 AM:

Hi Dave,
Thanks for sharing your thoughts. I have been using sitemeter.com free version since decades and I have found it to be extremely helpful in improving my placement in the search engines. I am totally a layman in web designing, but site has helped in understanding the fine points of getting into a good search position. I find it very comforting to find my website most times on the first page of Google.
I did add Google Analytics when there was some problem with sitemeter, but I could understand much, as already said I am despite everything a layman in scripting.

Isa said, on March 15, 2011 2:57 PM:

I have a blog www.thelifeisbeautiful.blogspot.com but I tried to install Google Analytics but it says installed, but do not work, do not gathering data. Could you help me?

Edmund said, on January 9, 2012 3:06 PM:

Due to it privacy policy, Google Analytics does not provide IP, which becomes its only weakness. Therefore, I make an application program to monitor the visitors IP, combined with Google Analytics.

Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!

I do have a comment, now that you mention it!











I will never send you any unsolicited email. Ever.






Check This Out Too...

 
Look for Answers
Need Help? Ask Dave Taylor!


Follow Me on Pinterest

Find Me on Google+
ADT on G+
© 2002 - 2013 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. My lawyer says "Thanks".
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.