From c480579ca8a2e27b024ff861a2db2df0b6d20036 Mon Sep 17 00:00:00 2001 From: Alexander Rose <alexander.rose@weirdbyte.de> Date: Wed, 22 Mar 2023 20:13:01 -0700 Subject: [PATCH] add web3dsurvey analytics code (only molstar.org) --- scripts/deploy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy.js b/scripts/deploy.js index 652a2abd7..2ed85d8d1 100644 --- a/scripts/deploy.js +++ b/scripts/deploy.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2019-2021 mol* contributors, licensed under MIT, See LICENSE file for more info. + * Copyright (c) 2019-2023 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ @@ -15,7 +15,7 @@ const deployDir = path.resolve(buildDir, 'deploy/'); const localPath = path.resolve(deployDir, 'molstar.github.io/'); const analyticsTag = /<!-- __MOLSTAR_ANALYTICS__ -->/g; -const analyticsCode = `<!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "c414cbae2d284ea995171a81e4a3e721"}'></script><!-- End Cloudflare Web Analytics -->`; +const analyticsCode = `<!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "c414cbae2d284ea995171a81e4a3e721"}'></script><!-- End Cloudflare Web Analytics --><script defer src="https://web3dsurvey.com/collector.js"></script>`; function log(command, stdout, stderr) { if (command) { -- GitLab