diff --git a/peachjam/js/peachjam.ts b/peachjam/js/peachjam.ts index e5821f20c..22539d51c 100644 --- a/peachjam/js/peachjam.ts +++ b/peachjam/js/peachjam.ts @@ -180,6 +180,7 @@ class PeachJam { clearGACookies () { // if window.dataLayer is not set, then Google Analytics is not enabled, but there may be cookies still set; clear them + // @ts-ignore if (!window.dataLayer) { const cookies = document.cookie.split(';'); for (let i = 0; i < cookies.length; i++) {