Skip to content

Commit

Permalink
chore: matomo update (#4272)
Browse files Browse the repository at this point in the history
- Add an additional Matomo container in order to get a more detailed telemetry view (micro/macro)
- Fully remove GTM
  • Loading branch information
alexiscolin authored Jul 22, 2024
1 parent 8ff971f commit 40c19af
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,20 @@ const config = {
})();
`,
},
{
tagName: "script",
attributes: {
type: "text/javascript",
},
innerHTML: `
var _mtm = window._mtm = window._mtm || [];
_mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
(function() {
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='https://cdn.matomo.cloud/aibignite.matomo.cloud/container_215cMJxo.js'; s.parentNode.insertBefore(g,s);
})();
`,
},
],

presets: [
Expand Down Expand Up @@ -276,13 +290,6 @@ const config = {
},
},
],
[
"@docusaurus/plugin-google-gtag",
{
trackingID: "G-XL9GNV1KHW",
anonymizeIP: true,
},
],
async function myPlugin(context, options) {
return {
name: "docusaurus-tailwindcss",
Expand Down

0 comments on commit 40c19af

Please sign in to comment.