diff options
Diffstat (limited to 'web/templates/head.html')
-rw-r--r-- | web/templates/head.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/templates/head.html b/web/templates/head.html index dd5e9f46e..5448b09ed 100644 --- a/web/templates/head.html +++ b/web/templates/head.html @@ -56,11 +56,11 @@ <script> if (config.LogglyWriteKey != null && config.LogglyWriteKey !== "") { - var _LTracker = _LTracker || []; - window._LTracker = _LTracker; - _LTracker.push({'logglyKey': config.LogglyWriteKey, 'sendConsoleErrors' : config.LogglyConsoleErrors }); + var LTracker = LTracker || []; + window.LTracker = LTracker; + LTracker.push({'logglyKey': config.LogglyWriteKey, 'sendConsoleErrors' : config.LogglyConsoleErrors }); } else { - window._LTracker = []; + window.LTracker = []; console.warn("config.js missing LogglyWriteKey, Loggly analytics is not reporting"); } </script> |