mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 07:18:09 +02:00
Implemented correct loading order
This commit is contained in:
@@ -2,5 +2,4 @@
|
||||
add_header Content-Security-Policy: "";
|
||||
|
||||
# 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.{{primary_domain}}/matomo.php?idsite={{matomo_site_id}}&rec=1" style="border:0;" alt="" /></p></noscript></body>';
|
1
roles/nginx-global-matomo/templates/script.j2
Normal file
1
roles/nginx-global-matomo/templates/script.j2
Normal file
@@ -0,0 +1 @@
|
||||
<script>{{matomo_tracking_code_one_liner}}</script>
|
Reference in New Issue
Block a user