Skip to content
Browse files

added multiple top levle domain tracking for reg page2

  • Loading branch information...
1 parent 8064524 commit dbf08c04e95462b08011b69e614ff170b8ce886e @JuddL333 JuddL333 committed Apr 10, 2012
Showing with 10 additions and 11 deletions.
  1. +10 −11 app/views/layouts/application.html.haml
View
21 app/views/layouts/application.html.haml
@@ -38,14 +38,13 @@
:javascript
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-11575163-7']);
- _gaq.push(['_setDomainName', 'rubyweekend.com']);
- _gaq.push(['_setAllowLinker', true]);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-11575163-7']);
+ _gaq.push(['_setDomainName', 'none']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();

0 comments on commit dbf08c0

Please sign in to comment.
Something went wrong with that request. Please try again.