Skip to content

Instantly share code, notes, and snippets.

@michaelengland
Created August 1, 2012 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelengland/3227120 to your computer and use it in GitHub Desktop.
Save michaelengland/3227120 to your computer and use it in GitHub Desktop.
GA Duplication
<script>
//<![CDATA[
(function(w, d, t){
var g=d.createElement(t), s=d.getElementsByTagName(t)[0], winLocation = w.location;
w._gaq=[["_setAccount","UA-22442278-1"],["_setDomainName","dev.wimdu.com"], ["_setAllowLinker",true]];
w._gaq.push(["overall._setAccount","UA-22442278-75"],["overall._setAllowLinker",true]);
g.async=true;
g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
s.parentNode.insertBefore(g,s)}
(window, document, "script"));
//]]>
</script>
<script>
//<![CDATA[
_gaq.push(["_trackPageview"]);
_gaq.push(["overall._trackPageview"]);
//]]>
</script>
<script>
//<![CDATA[
(function(w, d, t){
var g=d.createElement(t), s=d.getElementsByTagName(t)[0], winLocation = w.location;
w._gaq=[["_setAccount","UA-22442278-76"],["_setDomainName","dev.wimdu.com"], ["_setAllowLinker",true]];
g.async=true;
g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
s.parentNode.insertBefore(g,s)}
(window, document, "script"));
//]]>
</script>
<script>
//<![CDATA[
_gaq.push(["_trackPageview"]);
//]]>
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment