From dc8b7aad9bc8aee695edd0d8e742a2da73ca130d Mon Sep 17 00:00:00 2001 From: Kenji Bailly Date: Wed, 16 Mar 2022 23:43:36 +0100 Subject: [PATCH] Matomo Image Tracking --- src/server.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/server.js b/src/server.js index aefee23..76b8ff1 100644 --- a/src/server.js +++ b/src/server.js @@ -195,6 +195,14 @@ server + ${ + runtimeConfig.MATOMO_URL && runtimeConfig.MATOMO_SITE_ID + ? ` + + + ` + : '' + }
${markup}
${jsScriptTagsFromAssets(assets, 'client', ' defer crossorigin')} @@ -208,4 +216,4 @@ server.get('/healthcheck', (req, res) => { res.status(200).json({ status: 'ok' }); }); -export default server; +export default server; \ No newline at end of file