Permalink
Browse files

Even better naming.

  • Loading branch information...
matthewmcvickar committed Oct 31, 2012
1 parent 33006a5 commit ca25dd313879d54c9cf93913d488be7e14c361a0
Showing with 3 additions and 3 deletions.
  1. +3 −3 js/app.js
View
@@ -251,7 +251,7 @@ $(document).ready(function() {
// Google Analytics: track chosen ad.
if (typeof _gaq !== 'undefined' && _gaq !== null)
- _gaq.push(['_trackEvent', 'Video', 'Type', ad]);
+ _gaq.push(['_trackEvent', 'Video Type', ad]);
// Hide pin and crest.
setTimeout(function() {
@@ -510,7 +510,7 @@ $(document).ready(function() {
// Google Analytics: track replay.
if (typeof _gaq !== 'undefined' && _gaq !== null)
- _gaq.push(['_trackEvent', 'Video', 'Action', 'Replay']);
+ _gaq.push(['_trackEvent', 'Video Action', 'Replay']);
});
// Action: Facebook Share
@@ -557,7 +557,7 @@ $(document).ready(function() {
// Add a Google Analytics push for the ad having been shared.
if (typeof _gaq !== 'undefined' && _gaq !== null)
- _gaq.push(['_trackEvent', 'Video', 'Action', 'Share to Facebook']);
+ _gaq.push(['_trackEvent', 'Video Action', 'Share to Facebook']);
// If the post was published, make the Share button unclickable.
if (typeof response !== 'undefined')

0 comments on commit ca25dd3

Please sign in to comment.