Skip to content

Commit

Permalink
fixup! feat: Add Matamo integration for platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
farhaanbukhsh committed Nov 9, 2024
1 parent 199bb91 commit d3fbc38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lms/templates/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function () {
var u = '${matamo_instance_url}';
var u = '${matamo_instance_url | n, js_escaped_string}';
_paq.push(['setTrackerUrl', u + 'matomo.php']);
_paq.push(['setSiteId','${matamo_site_id}']);
_paq.push(['setSiteId','${matamo_site_id | n, js_escaped_string}']);
var d = document,
g = d.createElement('script'),
s = d.getElementsByTagName('script')[0];
Expand Down

0 comments on commit d3fbc38

Please sign in to comment.