mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-22 02:04:31 +00:00
removed heap analytics for the time being
This commit is contained in:
parent
64257a7b2c
commit
32f9e33f71
1 changed files with 0 additions and 5 deletions
|
@ -108,8 +108,3 @@ if !locals.supressDefaultJs
|
|||
widgetToggles: $(".js-tender-widget"),
|
||||
category: "questions"
|
||||
};
|
||||
|
||||
- if (typeof(heapToken) != "undefined" && session && session.user)
|
||||
script(type="text/javascript")
|
||||
var heap=heap||[];heap.load=function(a){window._heapid=a;var b=document.createElement("script");b.type="text/javascript",b.async=!0,b.src=("https:"===document.location.protocol?"https:":"http:")+"//cdn.heapanalytics.com/js/heap.js";var c=document.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c);var d=function(a){return function(){heap.push([a].concat(Array.prototype.slice.call(arguments,0)))}},e=["identify","track"];for(var f=0;f<e.length;f++)heap[e[f]]=d(e[f])};
|
||||
heap.load("#{heapToken}");
|
||||
|
|
Loading…
Reference in a new issue