Advanced Google Analytics Samples
by
Rushton,Jeff
—
last modified
Oct 21, 2011 05:28 PM
Google Analytics Lessons
Take GA IQ Lessons
Crazy Egg Analytics additional heat-map tracking
Setting Goals
Watch video
Campaigns - coming in
URL Builder
Sample URL:
http://louisville.edu/ocm/ocm-u/training-archive/advanced-google-analytics-samples.html?utm_source=OCMu&utm_medium=website&utm_term=OCMu%2BAdvanced%2BAnalytics&utm_content=Advanced%2BAnalytics%2BStuff&utm_campaign=OCMu%2BTest
Click Tracking - within your site
Events
Events should be used to track actions or anything that you would like to track that wouldn't be considered a "pageview."
Examples could include; form submission, clicking an external link, interacting with a Flash movie (that wouldn't be considered a "page"), video plays, downloads, image map actions, etc.
Event Tracking
Additional, non implemented internal tracking options
TimeTracker()
MouseOverTracker()
Social interaction tracking
Sample1: _gaq.push(['_trackSocial', network, socialAction, opt_target, opt_pagePath]);
Sample2: _gaq.push(['_trackSocial', Facebook, Like, targetUrl, /ocm/social/]);
sample code | sample page
FLASH
Tracking within Flash movies
Take GA IQ Lessons
Crazy Egg Analytics additional heat-map tracking
Setting Goals
Watch video
Campaigns - coming in
URL Builder
Sample URL:
http://louisville.edu/ocm/ocm-u/training-archive/advanced-google-analytics-samples.html?utm_source=OCMu&utm_medium=website&utm_term=OCMu%2BAdvanced%2BAnalytics&utm_content=Advanced%2BAnalytics%2BStuff&utm_campaign=OCMu%2BTest
Click Tracking - within your site
Events
Events should be used to track actions or anything that you would like to track that wouldn't be considered a "pageview."
Examples could include; form submission, clicking an external link, interacting with a Flash movie (that wouldn't be considered a "page"), video plays, downloads, image map actions, etc.
Event Tracking
- onClick="_gaq.push(['_trackEvent','Videos', 'Play','Welcome to UofL\'s Video']);"
- Anatomy = 1-Category, 2-Action, 3-Label (optional), 4-Value (optional), 5-Count (optional)
- Category
- Example1: 'Videos', 'Play', 'Welcome to UofL\'s Video'
- Example2: 'Videos', 'Pause', 'Welcome to UofL\'s Video'
- Example3: 'Videos', 'Stop', 'Welcome to UofL\'s Video'
- Values
- A value can be a count or a value that equates against your implicit count
- Example: 'Video' value = 10 (for seconds) + 'Video' count = 1 (one video watched)
- Example: onClick="_gaq.push(['_trackEvent','Videos', 'Play','Welcome to UofL\'s Video', 10, 1]);"
- Example: onClick="_gaq.push(['_trackPageview', '/ocm/ocm-u/Coolest-Page-Ever.html']);"
- Link to the coolest page ever
Additional, non implemented internal tracking options
TimeTracker()
MouseOverTracker()
Social interaction tracking
Sample1: _gaq.push(['_trackSocial', network, socialAction, opt_target, opt_pagePath]);
Sample2: _gaq.push(['_trackSocial', Facebook, Like, targetUrl, /ocm/social/]);
sample code | sample page
FLASH
Tracking within Flash movies
- Gatorflash ActionScript plugin to track analytics within Flash

