Defer ackee script loading ?
This commit is contained in:
parent
5c1bc0635e
commit
bdc9ca8638
11
index.html
11
index.html
@ -150,6 +150,15 @@
|
||||
</p>
|
||||
</footer>
|
||||
|
||||
<script async src="https://ackee.zoemp.be/tracker.js" data-ackee-server="https://ackee.zoemp.be" data-ackee-domain-id="2baf29a2-e1ac-4777-a141-8d1a08cb355f"></script>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var ackeeScript = document.createElement('script');
|
||||
ackeeScript.async = true;
|
||||
ackeeScript.src = "https://ackee.zoemp.be/tracker.js";
|
||||
ackeeScript.setAttribute('data-ackee-server', 'https://ackee.zoemp.be');
|
||||
ackeeScript.setAttribute('data-ackee-domain-id', '2baf29a2-e1ac-4777-a141-8d1a08cb355f');
|
||||
document.body.appendChild(ackeeScript);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user