mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 18:22:01 +00:00
Set ga cookie domain to same as site
This commit is contained in:
parent
3e65d6ff59
commit
10aa4a29ca
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ html(itemscope, itemtype='http://schema.org/Product')
|
|||
(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)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
ga('create', '#{gaToken}', 'sharelatex.com');
|
||||
ga('create', '#{gaToken}', '#{settings.cookieDomain.replace(/^\./, "")}');
|
||||
ga('send', 'pageview');
|
||||
- else
|
||||
script(type='text/javascript').
|
||||
|
|
Loading…
Reference in a new issue