Skip to content

Commit

Permalink
Switching to use hellogeri's google analytics account
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres-remote committed Oct 27, 2012
1 parent 18c5306 commit 2b14951
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/ga.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
//Dynamically loads google analytics, but only on github.
//Google analyitics is not allowed on the W3C because of their privacy policy.
if(window.location.host === "responsiveimagescg.github.com"){
if(window.location.host.search("responsiveimages.org") >= 0){
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-35523667-1']);
_gaq.push(['_setAccount', 'UA-35760540-1']);
_gaq.push(['_trackPageview']);
_gaq.push(['_setDomainName', 'responsiveimages.org']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
Expand Down

0 comments on commit 2b14951

Please sign in to comment.