Skip to content

Commit 96c2a69

Browse files
committed
Add tracking for chatbot
1 parent 07aa3a8 commit 96c2a69

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

public/chat/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,21 @@
271271
}
272272
}
273273
</style>
274+
<!-- Matomo -->
275+
<script>
276+
var _paq = window._paq = window._paq || [];
277+
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
278+
_paq.push(['trackPageView']);
279+
_paq.push(['enableLinkTracking']);
280+
(function() {
281+
var u="https://bioimage.matomo.cloud/";
282+
_paq.push(['setTrackerUrl', u+'matomo.php']);
283+
_paq.push(['setSiteId', '2']);
284+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
285+
g.async=true; g.src='https://cdn.matomo.cloud/bioimage.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
286+
})();
287+
</script>
288+
<!-- End Matomo Code -->
274289
</head>
275290

276291

0 commit comments

Comments
 (0)