From 25c911cf51ce96f3121228944266ae4abbd4666b Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Tue, 1 Aug 2023 08:21:17 +0100 Subject: [PATCH] Disable type checking for Google Analytics script --- src/javascripts/components/analytics.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/javascripts/components/analytics.mjs b/src/javascripts/components/analytics.mjs index a4bc9a184b..2c8f668557 100644 --- a/src/javascripts/components/analytics.mjs +++ b/src/javascripts/components/analytics.mjs @@ -1,3 +1,5 @@ +// @ts-nocheck + export default function loadAnalytics () { if (!window.ga || !window.ga.loaded) { // Load gtm script