Hello, Thank you for visiting - I hope that you will find useful information. Leave a comment but if you have any comments on the subject.
yes yes I know that this is actually already an old hat and has been a good month in the information floating around the Web. And yes I know that probably is not the best start to motivate someone to read on.
Anyway, recently I received a nice email from Google in Mountain View. In this I was told that this new event tracking is enabled on my account. This makes it possible to track events on the site without having to create a virtual pageview must. The feature is useful for eg Ajax, Javascript or Flash applications. Just as in my box with the tabs in the left column at the top.
What could be observed
- It has the latest Javacsriptfile (ga.js) are included by Google.
- The javascript must call the track at each event to be defined.
- The whole thing is still in beta. It can indeed come to misconduct. This feature has not yet activated for all accounts.
- A detailed documentation can be found here: http://code.google.com/intl/de-DE/apis/analytics/docs/eventTrackerGuide.html
Integration test
To test it I got the code in the box to the right involved. So now the clicks on categories, RSS and search can be counted. In addition I have put the following code as OnCLick event on the left of each tab:
pageTracker._trackEvent ("TabBox", "categories", "optLabel", 1); pageTracker._trackEvent ("TabBox", "RSS", "optLabel", 2); pageTracker._trackEvent ("TabBox", "search", "optLabel", 3); |
Actually, I do not need the last two optional parameters. But I have to test it with the same definition.
The result
Within Google Analytics can be found at the point of content a new "Event Tracking" with appropriate sub-items. The result should look like this.
Extended integration
In addition to this fine extension have let the guys and still think Google Mädls of two additional methods of event tracking.
- Time Tracker ()
This feature makes it possible to measure time intervals. For example, a timer could click on the Play button to start a video and click on the Stop the timer is stopped again. This gives you a statistic how long users have viewed the relevant video.
<input type="button" onclick="javascript:timeTracker._recordStartTime();" value="Start" /> <input onclick = "javascript: timeTracker._recordEndTime ();" type = "button" value = "stop" /> |
- Mouseover Tracker ()
The mouseover Tracker allows to track the first mouse-over an item. This method was developed to prevent an accumulation of garbage. With the normal rascals event would in fact be tracked each mouseover.
Ähnnliche posts:








Flo
10th July 2009 at 16:15
There's widgets on one of our websites that are displayed by random. to include this view, we have decided the event tracker abuse. generally works very well. only sees the pageTracker now as the user-interaction and thus the bounce rate is now on all sides to 0 pageTracker is not, has the same effect :-(
maybe you have an idea how to solve it?
Mark Kapferer
10th July 2009 at 19:58
hi, what exactly should be tracked? Clicks on the widget or how often the widget is displayed?
Presumably letzters, but unfortunately I know of no real solution.
Two approaches would, however:
* Benutzdefinierte variables: eg: pageTracker._setVar ("Widget1"); - Disadvantage: These values are stored as a cookie on the user level. With several different widgets in the wake of the cookie lifetime you have to modify the existing value and always overwrite. It was also reported here in the forums and Google of bugs related to the bounce rate.
* An absolutely filthy workaround:
The widget displayed on the page takeovers and subsequently attach to parse through a filter. Then you can use the information to be removed from the widget and the widget page name as a custom value. Could work in theory, something I've tested but not yet.
Dietwolf
27th May 2010 at 18:58
Good morning, mega nice blog you run. I myself have also created a website for some time, a search engine. At the moment, still visible in http://beta.jerome.de . Would be nice if you send me as you find them, or perhaps it is still improvable. A design to come until later in the day. Thank you - 345zhf4
Robert
First March 2011 at 14:00
Hello,
I am looking to use the Page Tracke (with the new code with asynchronous gaq.push) desperately seeking the answer to the question: Can I also specify multiple labels for a download? After all category and action are clear, but given the large number of files that is available for download (product type lists), I would like to separate labels: "product line", "production sector", "Product Name". For a Laben, as represented in the GA-aid "saved product / product segment filename.pdf / product name / 'I find very helpful for clarity.
January
4th June 2011 at 21:41
Have also was co-written this:
http://www.kammerath.net/google-analytics-event-tracking.html
But tell me once you have a hot tip on how I get outside and off-line sales in GA in?