|
53 | 53 | <script> |
54 | 54 | if ( |
55 | 55 | window.location.host === 'www.vector.im' || |
56 | | - window.location.host === 'vector.im' || |
57 | | - window.location.host === 'www.riot.im' || |
58 | | - window.location.host === 'riot.im' |
| 56 | + window.location.host === 'vector.im' |
59 | 57 | ) { |
60 | 58 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
61 | 59 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
|
65 | 63 | ga('create', 'UA-54779209-2', 'auto'); |
66 | 64 | ga('send', 'pageview', window.location.pathname + window.location.search + window.location.hash); |
67 | 65 | } |
| 66 | + else if ( |
| 67 | + window.location.host === 'www.riot.im' || |
| 68 | + window.location.host === 'riot.im' |
| 69 | + ) { |
| 70 | + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| 71 | + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| 72 | + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| 73 | + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); |
| 74 | + |
| 75 | + ga('create', 'UA-65410662-4', 'auto'); |
| 76 | + ga('send', 'pageview'); |
| 77 | + |
| 78 | + } |
68 | 79 | else { |
69 | 80 | var ga = null; |
70 | 81 | } |
|
0 commit comments