Using Google Analytics, if I explicitly log an event using _trackPageview, does that count as a 'real' page view? -
for example, if have news page that's being tracked via ga , add javascript event capture clicks on specific link news page (e.g. navigation) 'double counting'?
if fake pageview not beneficial in situation, , description you're looking track engagement click on page, use event tracking instead of pageviews.
tracking click/event easy (especially if you're using javascript). best part event not considered page view, keeping stats safe.
the implementation simple , allows quite bit of customization:
_trackevent(category, action, opt_label, opt_value)
below example of link that's been encoded event tag:
<a href="#" onclick="_gaq.push(['_trackevent', 'videos', 'play', 'baby\'s first birthday']);">play</a>
here's google analytics resource page on event tagging: http://code.google.com/apis/analytics/docs/tracking/eventtrackerguide.html
Comments
Post a Comment