diff --git a/.ci/deploy.sh b/.ci/deploy.sh
index 0abc904ab547b59c23bcb047a40715879f1ee633..e0ca644cba7415cae05ace56d00c43ad53c9da75 100644
--- a/.ci/deploy.sh
+++ b/.ci/deploy.sh
@@ -48,14 +48,9 @@ do
                 ln -s ../../theme theme
 
                 # add matomo
-                if [[ -v matomoID ]]; then
-                    matomoTagOrig='<!-- matomohead -->'
-                    sed -i '' "/${matomoTagOrig}/r./.ci/analytics/head.html" theme/templates/_index.html
-                    matomoTagOrig='<!-- matomopolicy -->'
-                    sed -i '' "/${matomoTagOrig}/r./.ci/analytics/policy.html" theme/templates/_index.html
-                    matomoTagOrig='<!-- matomobanner -->'
-                    sed -i '' "/${matomoTagOrig}/r./.ci/analytics/gdpr-banner.html" theme/templates/_index.html
-                fi
+                sed -i "/matomohead/r./.ci/analytics/head.html" theme/templates/_index.html
+                sed -i "/matomopolicy/r./.ci/analytics/policy.html" theme/templates/_index.html
+                sed -i "/matomobanner/r./.ci/analytics/gdpr-banner.html" theme/templates/_index.html
 
                 # install npm
                 yarn global add grunt-cli generator-reveal