wikijs-fork/server/modules/analytics/elasticapm/code.yml
2020-09-06 16:57:45 -04:00

13 lines
459 B
YAML

head: |
<!-- Elastic APM RUM -->
<script>
;(function(d, s, c) {
var j = d.createElement(s),
t = d.getElementsByTagName(s)[0]
j.src = 'https://unpkg.com/@elastic/apm-rum/dist/bundles/elastic-apm-rum.umd.min.js'
j.onload = function() {elasticApm.init(c)}
t.parentNode.insertBefore(j, t)
})(document, 'script', {serviceName: '{{serviceName}}', serverUrl: '{{serverUrl}}', environment: '{{environment}}'})
</script>