Skip to content

Commit

Permalink
docs(plugins/webmonitorplugin/): matomo Tag Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyungent committed Jan 22, 2023
1 parent 642000f commit 84f350e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/WebMonitorPlugin/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"DisplayName": "网页监控",
"Description": "网页监控,看文档",
"Author": "yiyun",
"Version": "0.4.2",
"Version": "0.4.3",
"SupportedVersions": [ "0.0.1" ]
}
8 changes: 8 additions & 0 deletions plugins/WebMonitorPlugin/wwwroot/templates/layoutMain.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@
});

</script>
<!-- Matomo Tag Manager -->
<script>
var _mtm = window._mtm = window._mtm || [];
_mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='https://matomo.moeci.com/js/container_RuoDW2ca.js'; s.parentNode.insertBefore(g,s);
</script>
<!-- End Matomo Tag Manager -->
</head>
<body class="hold-transition skin-blue sidebar-mini fixed">

Expand Down

0 comments on commit 84f350e

Please sign in to comment.