Skip to content

Instantly share code, notes, and snippets.

@mahboob-awan
Last active August 29, 2015 13:56
Show Gist options
  • Save mahboob-awan/8831447 to your computer and use it in GitHub Desktop.
Save mahboob-awan/8831447 to your computer and use it in GitHub Desktop.
// =========== Tracking Code: Site Speed User Timing
//OLD
_gaq.push(['_trackTiming', 'jQuery', 'Load OLD Library', 20, 'Google CDN', 100]);
_gaq.push(['_trackTiming', 'jQuery', 'Load OLD Library', 50, 'jQuery CDN', 100]);
//NEW
ga('send', 'timing', 'jQuery', 'Load NEW Library', 20, 'Google CDN', 100);
ga('send', 'timing', 'jQuery', 'Load NEW Library', 90, 'jQuery CDN', 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment