We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 170a24c commit 22427eaCopy full SHA for 22427ea
src/11ty/tracking_script.js
@@ -1,5 +1,5 @@
1
module.exports = function () {
2
- if (process.env.ENABLE_ANALYTICS) {
+ if (process.env.ENABLE_ANALYTICS === "true") {
3
return '<script data-goatcounter="https://brusman_se.goatcounter.com/count" async src="/js/count.js"></script>';
4
} else {
5
return "";
0 commit comments