mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2024-11-29 06:35:38 +01:00
Matomo Image Tracking
This commit is contained in:
parent
9d49d28d30
commit
dc8b7aad9b
@ -195,6 +195,14 @@ server
|
||||
|
||||
</head>
|
||||
<body>
|
||||
${
|
||||
runtimeConfig.MATOMO_URL && runtimeConfig.MATOMO_SITE_ID
|
||||
? `
|
||||
<!-- Matomo Image Tracker-->
|
||||
<img referrerpolicy="no-referrer-when-downgrade" src="${runtimeConfig.MATOMO_URL}matomo.php?idsite=${runtimeConfig.MATOMO_SITE_ID}&rec=1" style="border:0" alt="" />
|
||||
<!-- End Matomo -->`
|
||||
: ''
|
||||
}
|
||||
<div id="root">${markup}</div>
|
||||
<script>window.env = ${serialize(runtimeConfig)};</script>
|
||||
${jsScriptTagsFromAssets(assets, 'client', ' defer crossorigin')}
|
||||
|
Loading…
Reference in New Issue
Block a user