Skip to content

Commit

Permalink
display script in head
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitSerrano committed Sep 25, 2024
1 parent 5763d13 commit 8105d01
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/views/partials/head.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,18 @@
<!-- Matomo -->
<script type="module" src="<%= js('matomo.js') %>"></script>
<!-- Crisp -->
<script type="module" src="<%= js('crisp.js') %>"></script>
<!-- <script type="module" src="<%= js('crisp.js') %>"></script> -->
<script type="text/javascript">window.CRISP_READY_TRIGGER = function() {
window.$crisp = [];
window.CRISP_WEBSITE_ID = "d1d5816e-314a-45e4-9715-144347b1039a";
(function () {
d = document;
s = d.createElement("script");
s.src = "https://client.crisp.chat/l.js";
s.async = 1;
d.getElementsByTagName("head")[0].appendChild(s);
})();
};</script>
<noscript><p><img src="https://stats.data.gouv.fr/matomo.php?idsite=85&amp;rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code -->
</head>

0 comments on commit 8105d01

Please sign in to comment.