Permalink
Browse files

Don't track default twice

  • Loading branch information...
1 parent 1b757be commit 79b5484b85718d45932ec7035a240160c3c2871b @jacobrask committed Jan 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/switcher.js
View
@@ -12,7 +12,7 @@ var switchStyle = function() {
: data
);
});
- if (window.location.host === 'css1k.com') {
+ if (window.location.host === 'css1k.com' && styleSlug !== 'default') {
_gaq.push(['_trackPageview', styleSlug]);
}
};

0 comments on commit 79b5484

Please sign in to comment.