Google Analytics tutorial part 2

  • 0
  • June 12, 2007
Patrick Altoft

Patrick Altoft

Director of Strategy

The Advanced Google Analytics Tutorial raised more questions than it answered so I have spent this afternoon going through everybody’s comments and trying to answer them.

If you have any more questions please feel free to ask in the comments at the end of this post.

Google has just announced a few new features including the ability (finally) to click on referring url’s and be taken to the referring page.

Michael asked:

Is there a way to see stats based on a specific day? I’d love to be able to see which pages are more popular as I’ve changed my site over time. I might change link position or something for a week and it’d be nice to see stats for that time period only to be able to compare them.

Click on Content > Top Content and then scroll right down to the form that says Find url and type the page you want to view the stats for. In this case I wanted to view stats for users clicking on my outgoing (affiliate) links.

Find url

From the chart below we can see that the link outgoing/top (named because it was at the top of the page) has had 1060 clicks in the time period selected.

The outgoing/top link had 1060 clicks

If you look to the top right of the screen you should see a drop down box containing a data range.

Drop down data range box

Click on the box and enter your desired date ranges in the boxes (hint: click on the box and then the name of the month at the top of the calendar to highlight the whole month) and then click the “Apply Range” button.

Drop down date range box

The result should be a graph comparing data from the two date ranges, one range has a blue line and one is shown with a green line.

Date range box

Hunter asked:

How do we track flash movie plays with google analytics?

Tracking Flash events is the same as tracking JavaScript events, just call the urchinTracker function:


Example Flash Code

on (release) {

// Track with no action




on (release) _

//Track with action



myVar = “Flash Track Test”

onClipEvent (enterFrame) {



More details

LGR asked:

Is there anyway to attach the onclick event handler on a link I want to track without editing the html, perhaps at the bottom of the page? Just wondering if it is possible to separate the HTML from the javascript so it is easier to maintain.

Motorcycle Guy asked :

Surely there is javascript to add that javascript to every external link? it seems dumb to have to rewrite your whole application.

I don’t think there is an easy way to do this. The best way would be to make your site database driven and append some automatic variables to the events you want to track.

Another solution would be to give each of your links an id parameter and then to track clicks on each id and register the event that way.

If anybody has any better suggestions please post in the comments.

f4rrest commented:

There are some things still only available in the old UI though, such as graphing country-specific visitors.

Clicking on Visitors > Map Overlay and then the Country detail level and finally selecting the graph view I was able to create the chart below. Is this what you were looking for? I suspect you wanted to see how traffic from a certain country changed over time but this isn’t possible unfortunately.

Traffic by country

Slides asked:

Can GA be used to track registered users and their activity on site?

I don’t think GA is the right solution to track individual user sessions and activity on a website. Depending on the data you want to track it sounds like a php application would be best.

darnit commented:

I would love to know how to view the pages sending traffic in the referring information statistics. Not just the domain but a link to the actual page sending traffic.

Clicking on Traffic Sources > Referring Sites and then clicking on (or any of the other sites on the list) you can see a list of the referring pages as well as build a pie chart to visualise the data. Click the “Views” icons to view the pie chart.

Referring pages

This method falls down on sites where the referring page is as Google strips the id parameter off. It works fine for most blogs as they tend to use a folder structure rather than dynamic urls.

Any more questions feel free to ask below.