mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-22 21:57:03 +00:00
small google-analytics change
This commit is contained in:
parent
5f9bb319ed
commit
5cc5337b64
1 changed files with 3 additions and 4 deletions
|
|
@ -32,10 +32,9 @@ module.exports = (model) ->
|
|||
|
||||
# Google Analyatics
|
||||
if model.get('_nodeEnv') == 'production'
|
||||
_gaq = _gaq || []
|
||||
_gaq.push(['_setAccount', 'UA-33510635-1'])
|
||||
_gaq.push(['_trackPageview'])
|
||||
|
||||
_gaq = _gaq or []
|
||||
_gaq.push ["_setAccount", "UA-33510635-1"]
|
||||
_gaq.push ["_trackPageview"]
|
||||
(->
|
||||
ga = document.createElement("script")
|
||||
ga.type = "text/javascript"
|
||||
|
|
|
|||
Loading…
Reference in a new issue