WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Webmaster Resources Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Webmaster Resources Discussion Forum Sitemaps and robots and logfiles -- Oh My! If you have any questions, comments, concerns and/or ideas about the tools currently available to webmasters to make their lives... 'easier'. Here's where you need to be. Know of a good tool? Post it here. Got something funny in your logfiles? Maybe we can help.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-10-2006, 12:16 AM
brian.mark's Avatar
Administrator
 

Join Date: Jul 2004
Location: Omaha
Posts: 2,717
brian.mark RepRank 2brian.mark RepRank 2
Default Google Analytics Cool Side Effect

I noticed the other day that by looking at all my environment variables when surfing our website, I have some interesting cookies that get set by Google Analytics.

First off, they set a long cookie. It contains codes that mean nothing to me. But then you get to the good stuff. It includes referring source, if it was a referral, organic search or ppc, and also what the keywords used were. It all has to do with their goal tracking, but here's the real win.

By simply recording the entire cookie with each order, I can come back later and do analysis. If I see an order that is big or an unusual product, I can look at it closer and see where they came from and what the keywords were. I have also written a quick report that shows me all the keywords that converted to sales, broken down by engine with dollar amounts and number of orders. I've noticed a few that need some help on one engine or another pretty easily this way.

The real problem with any analytics package is getting the data you want out. If you can simply use someone else's technology to locate the data you should be saving, you can write your own analysis tools pretty easily. It appears that Google Analytics has done just that for us, getting some of the good stuff in an easy to access format.

All I can say is "Thanks, Google."
__________________
ToolBarn.com, an Internet Retailer Top 500 and Inc. 500 Company | Tool Parts | Pet Supplies
Reply With Quote
  #2 (permalink)  
Old 05-10-2006, 06:02 PM
ron angel's Avatar
WebProWorld Pro
 

Join Date: Jan 2004
Location: london uk
Posts: 147
ron angel RepRank 1
Default Google Analytics

only one thing I do not like about Google Analytics is that you have to put a small piece of code on every html page.
This is a lot of work for a big site. there are many
free counter & analysing programs of this type.
A server based program such as traffic facts would be much easier to use & need no adjustment for each page added or removed, although this would need tecnical knowledge to add to server making more difficult to implement.
The richard montgomery matter
Reply With Quote
  #3 (permalink)  
Old 05-10-2006, 06:33 PM
WebProWorld New Member
 

Join Date: Aug 2005
Location: UK
Posts: 12
g7submit RepRank 0
Default Google Analytics Getting Better

I think Google Analytics has recently got better. Prior to this, I used to think DeepMetrix (now MSN's) was the best, but I now have doubts that Google's Urchin has re-set the standards in analytics. It does almost everything for you, comprehensively.

Ron Angel, I believe that if you adopt a footer in an includes and propagate that throughout your website pages, you would just need to add the javascript code in only ONE place, and that's it!

I recently implemented this for a client, PressEdge, just look at the source code of any of it's pages, and you will see it there, but it was done in just one file, and it's an ecommerce solution.

Otherwise, I'm afraid you would need to add the code to each of the page you want to collate analytics for, that goes with any analytics code. I wish you the best :).
__________________
SEM Consultant
Search Engine Marketing by G7submit
Reply With Quote
  #4 (permalink)  
Old 05-10-2006, 07:03 PM
davidredwine's Avatar
WebProWorld Member
 

Join Date: Jun 2004
Location: Oklahoma
Posts: 54
davidredwine RepRank 0
Default Google Analytics Cool Side Effect

Nice tip......You have piqued my interest. Do you have more on the "how to" of the analytical processing you are doing?
dr
__________________
IT Manager - JMI
www.jamesonmanagement.com
Reply With Quote
  #5 (permalink)  
Old 05-10-2006, 10:24 PM
brian.mark's Avatar
Administrator
 

Join Date: Jul 2004
Location: Omaha
Posts: 2,717
brian.mark RepRank 2brian.mark RepRank 2
Default More...

Well, since I code mostly in Perl, I used the $ENV{'HTTP_COOKIES'} variable, which is similarly named in PHP or ASP. This is the value currently on my PC:

HTTP_COOKIE __utmz=##########.###########.##.##.utmccn=(organi c)|utmcsr=yahoo|utmctr=skil+parts|utmcmd=organic; __utma=#########.#######.##########.##########.### #######.##;

I replaced all the meaningless digits with #'s, as they can be used to trace back some other stuff about the session I've discovered.

Basically, the data you've got here is in two cookies. __utmz has most of the data, while __utma has more session identifying info.

Within __utmz, there are other subsets to the data.
utmccn=(organic) tells us that I was a referral from an organic result.
utmcsr=yahoo tells the engine that I searched on to find the site.
utmctr=skil+parts tells me the keywords I used to find the site.
utmcmd=organic says organic again, but I'm not sure what the difference is yet between this and utmccn. I'm still working that out.

By taking the entire cookie, breaking it at the | symbols (split works well in Perl, very similar commands are available in other languages), I can get the data I want out of it pretty easily. A couple lines of code put all the values into variables that I could then call upon to get the values I really want and store them in fields in our database along with the other order information.

I will also point out that if you search again, then hit the site from the new search, the old search is forgotten about and the new one takes credit for the visit. That's how most analytics programs seem to work.

g7submit, you're right on. Using includes is the way to go. The only exception would be if you're doing full commerce tracking and want to associate e-commerce values back to the keywords (a bit more work is required then, but the include still handles much of it), but with this cookie you don't need to send any of that back to Google and wonder what they'll do with it. Sort of takes some of the "Big Brother" powers away from them. I'd also add that the commerce tracking hasn't ever worked real well for us, so this is a nice work-around.

We still use plenty of other analytics packages along with Google Analytics, but this cookie has made GA the most useful tool in our arsenal at the moment. I can't wait to use my other accounts and set up more sites now.

Brian.
__________________
ToolBarn.com, an Internet Retailer Top 500 and Inc. 500 Company | Tool Parts | Pet Supplies
Reply With Quote
  #6 (permalink)  
Old 05-11-2006, 03:02 AM
WebProWorld New Member
 

Join Date: Apr 2006
Posts: 20
Dactyl RepRank 0
Default

This is probably the most beneficial thread I've read so far this month, thanks allot Brian for the tip, I will surly implement this on my websites.
Saves the money from using other expensive programs out there.
__________________
Sohaib Thiab
www.SohaibThiab.com
Increase your Pagerank and link popularity PageRankIncrease.com
Reply With Quote
  #7 (permalink)  
Old 05-11-2006, 08:59 AM
timmathews.com's Avatar
WebProWorld Veteran
 

Join Date: Jan 2004
Location: Fresh from Manhattan
Posts: 919
timmathews.com RepRank 0
Default

Veri informative, we really appreciate you breaking it down as you did.
Just when we thought we could see the light at the end of the tunnel...
;)
Reply With Quote
  #8 (permalink)  
Old 05-12-2006, 04:05 AM
WebProWorld Member
 

Join Date: Jan 2004
Location: L.A.
Posts: 54
cvos RepRank 0
Default

note how you can create goals for dynamic pages. i found this important information was hidden in the help section.


http://www.google.com/support/analyt...y?answer=26918
__________________
Netpaths
search engine friendly web design
Reply With Quote
  #9 (permalink)  
Old 05-12-2006, 12:33 PM
brian.mark's Avatar
Administrator
 

Join Date: Jul 2004
Location: Omaha
Posts: 2,717
brian.mark RepRank 2brian.mark RepRank 2
Default

Quote:
Originally Posted by cvos
note how you can create goals for dynamic pages. i found this important information was hidden in the help section.


http://www.google.com/support/analyt...y?answer=26918
Sure... you can create them, just don't expect it to track them accurately if you've got more than a few users reach that goal daily. They've never reported more than about 40 for us in any given day, which means well over 90% of our goal conversions are being missed. Not overly useful if you ask me.

Hopefully they can get it better, but until then we've got the data stored from the cookie they're making on our behalf. :-D

Brian.
__________________
ToolBarn.com, an Internet Retailer Top 500 and Inc. 500 Company | Tool Parts | Pet Supplies
Reply With Quote
  #10 (permalink)  
Old 05-20-2006, 07:54 AM
rck rck is offline
WebProWorld New Member
 

Join Date: Apr 2006
Posts: 4
rck RepRank 0
Default Re: Google Analytics

Quote:
Originally Posted by ron angel
only one thing I do not like about Google Analytics is that you have to put a small piece of code on every html page.
This is a lot of work for a big site.
I usually avoid static html-pages for this reason amongst others. If you want to face-lift it, you have tons of pages to change.

On the other hand, using any open-source CMS you usually only change a single template and are done. I only had to change "theme.tpl" in my case and had the changes all over my site Kiesler phpWebSite Consulting.
__________________
Kiesler phpWebSite Consulting
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Webmaster Resources Discussion Forum
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0