Event Tracking results may not yet visible in Google Analytics account
» Problem with outgoing hits
Status:
Closed (fixed)
» Fixed
No, since a week or two it seems to be finally public. In my account it wasn't shown when I started developing and testing and now it is shown as normal menu item, but it appeared first 1-2 days before the latest GA release and ~2 weeks after I've used it first for tracking. Otherwise see http://groups.google.com/group/analytics-help-troubleshoot/browse_thread....
The Event Tracking feature is getting available in all account progressively, it would be a great feature to get a more accurate measurement in Google Analytics.
In this blog there's a jquery code to track events: For outbound clicks
$('a').click(function() {
var $a = $(this);
var href = $a.attr('href');
// see if the link is external
if ( (href.match(/^http/)) && (! href.match(document.domain)) ) {
// if so, register an event
var category = 'outgoing'; // set this to whatever you want
var event = 'click'; // set this to whatever you want
var label = href; // set this to whatever you want
pageTracker._trackEvent(category, event, href);
}
});
For file downloads
var fileTypes = ['doc','xls','pdf','mp3'];
$('a').click(function() {
var $a = $(this);
var href = $a.attr('href');
var hrefArray = href.split('.');
var extension = hrefArray[hrefArray.length - 1];
if ($.inArray(extension,fileTypes) != -1) {
pageTracker._trackEvent('download', extension, href);
}
});
Comments
Comment #1
hass commentedNope, read the release notes and take a look into "Events".
Comment #2
racakg commentedThank you for the answer, but Event Tracking is still in Beta, and therefore, is not available in all Google accounts.
update: i find the way how to see Event Tracking pages in accounts that doesn't have Event links enabled.
https://www.google.com/analytics/reporting/events
Comment #3
hass commentedNo, since a week or two it seems to be finally public. In my account it wasn't shown when I started developing and testing and now it is shown as normal menu item, but it appeared first 1-2 days before the latest GA release and ~2 weeks after I've used it first for tracking. Otherwise see http://groups.google.com/group/analytics-help-troubleshoot/browse_thread....
Comment #4
racakg commentedI don't see event links in my meny bar for now. Adding a report to the dashboard looks good.
Comment #5
Anonymous (not verified) commentedThe Event Tracking feature is getting available in all account progressively, it would be a great feature to get a more accurate measurement in Google Analytics.
In this blog there's a jquery code to track events:
For outbound clicks
For file downloads
Hope it helps
Comment #6
hass commented@jmesam: Event tracking is already implemented in the latest versions.
Comment #7
hass commentedComment #8
Anonymous (not verified) commentedOops! I should have to write on the chalkboard 100 times!
;-)
Comment #9
hass commentedYeah, go for it :-)))