Revision: 58850
Updated Code
at August 8, 2012 02:10 by ptlrikin
Updated Code
$(function(){ $('a[href$=ashx]').bind('click', function (e) { e.preventDefault(); _gaq.push(['_trackPageview', $(this).attr('href')]); setTimeout("window.location = '" + $(this).attr('href') + "'", 100); }); $('a[href*="subdomain.domain.com"]').bind('click', function (e) { e.preventDefault(); _gaq.push(['_trackEvent', 'Click to Online Application', window.location.pathname, $(this).attr('href') ]); _gaq.push(['_link', $(this).attr('href')]); setTimeout("window.location = '" + $(this).attr('href') + "'", 100); return false; }); });
Revision: 58849
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 7, 2012 01:28 by ptlrikin
Initial Code
$(function(){ $('a[href$=ashx]').bind('click', function (e) { e.preventDefault(); _gaq.push(['_trackPageview', $(this).attr('href')]); setTimeout("window.location = '" + $(this).attr('href') + "'", 100); }); $('a[href*="subdomain.domain.com"]').bind('click', function (e) { e.preventDefault(); _gaq.push(['_trackEvent', 'Click to Online Application', window.location.pathname, $(this).attr('href') ]); _gaq.push(['_link', $(this).attr('href')]); return false; }); });
Initial URL
Initial Description
Add the following code to skin.js file for automated event tracking to external sites or virtual page view to PDF's.
Initial Title
Automatted Tracking to External Sites or Event Tracking
Initial Tags
Initial Language
JavaScript