Skip to content

Commit

Permalink
shortern the syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Huong Nguyen <huongg1409@gmail>
  • Loading branch information
Huong Nguyen committed Nov 18, 2024
1 parent aa399fa commit c2b2a91
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions public/telemetry.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
window.heap=window.heap||[],heap.load=function(e,t){window.heap.appid=e,window.heap.config=t=t||{};var r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src="https://cdn.heapanalytics.com/js/heap-"+e+".js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(r,a);for(var n=function(e){return function(){heap.push([e].concat(Array.prototype.slice.call(arguments,0)))}},p=["addEventProperties","addUserProperties","clearEventProperties","identify","resetIdentity","removeEventProperty","setEventProperties","track","unsetEventProperty"],o=0;o<p.length;o++)heap[p[o]]=n(p[o])};
heap.load("{{ heap_app_id }}");
heap.identify("{{ heap_user_identity }}");
heap.addEventProperties({
kedro_viz_version: "{{ kedro_viz_version }}",
});
heap.addEventProperties("{{ kedro_viz_version }}");
</script>
</head>

0 comments on commit c2b2a91

Please sign in to comment.