Update GA hostnames

This commit is contained in:
David Baker 2016-09-19 16:22:42 +01:00
parent 55fde43d5d
commit 343fc1b164

View file

@ -51,7 +51,12 @@
</audio>
<audio id="remoteAudio"/>
<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(){
(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)