|
53 | 53 | <script> |
54 | 54 | if ( |
55 | 55 | window.location.host === 'www.vector.im' || |
56 | | - window.location.host === 'vector.im' |
| 56 | + window.location.host === 'vector.im' || |
| 57 | + window.location.host === 'www.riot.im' || |
| 58 | + window.location.host === 'riot.im' |
57 | 59 | ) { |
58 | 60 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
59 | 61 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
|
63 | 65 | ga('create', 'UA-54779209-2', 'auto'); |
64 | 66 | ga('send', 'pageview', window.location.pathname + window.location.search + window.location.hash); |
65 | 67 | } |
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 | | - } |
79 | 68 | else { |
80 | 69 | var ga = null; |
81 | 70 | } |
|
0 commit comments