Skip to content

Commit 8d113c6

Browse files
committed
Remove debug id, replace with option id
1 parent afe2bc4 commit 8d113c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/snippets/matomo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
(function() {
88
var u='<?php echo rtrim(option('sylvainjule.matomo.url'), '/') . '/' ?>';
99
_paq.push(['setTrackerUrl', u+'matomo.php']);
10-
_paq.push(['setSiteId', '1']);
10+
_paq.push(['setSiteId', <?php echo option('sylvainjule.matomo.id') ?>]);
1111
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
1212
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
1313
})();

0 commit comments

Comments
 (0)