mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-26 22:51:05 +01:00
5 lines
377 B
Plaintext
5 lines
377 B
Plaintext
|
# sub filters to integrate matomo tracking code in nginx websites
|
||
|
sub_filter '</head>' '<script>{{matomo_tracking_code_one_liner}}</script></head>';
|
||
|
sub_filter '</body>' '<noscript><p><img src="//matomo.veen.world/matomo.php?idsite={{matomo_site_id}}&rec=1" style="border:0;" alt="" /></p></noscript></body>';
|
||
|
sub_filter_once off;
|
||
|
# sub_filter_types text/html; This is standart
|