Update GA hostnames

This commit is contained in:
David Baker 2016-09-19 16:22:42 +01:00
parent 55fde43d5d
commit 343fc1b164
1 changed files with 6 additions and 1 deletions

View File

@ -51,7 +51,12 @@
</audio> </audio>
<audio id="remoteAudio"/> <audio id="remoteAudio"/>
<script> <script>
if (window.location.host === 'www.vector.im' || window.location.host === 'vector.im') { if (
window.location.host === 'www.vector.im' ||
window.location.host === 'vector.im' ||
window.location.host === 'www.riot.im' ||
window.location.host === 'riot.im'
) {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)