From 3e2e9630a9a4e40468159d66db172b501d24ed4c Mon Sep 17 00:00:00 2001 From: Arvid Norlin Date: Tue, 2 Apr 2024 09:44:59 +0200 Subject: [PATCH 1/4] debug: add console logs --- components/Current/VwoScript.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/Current/VwoScript.tsx b/components/Current/VwoScript.tsx index ead4f8a3f..3d2bee78e 100644 --- a/components/Current/VwoScript.tsx +++ b/components/Current/VwoScript.tsx @@ -9,6 +9,8 @@ export default function VwoScript() { // Updated snippet for cookie consent handling - 07-Mar-2023 var _vwo_clicks = 50; + console.log('firing!!!!!'); + debugger; //DO NOT make any changes to smart code except for entering your account id window._vwo_code = window._vwo_code || (function() { var account_id = 373511, @@ -110,6 +112,7 @@ export default function VwoScript() { ); } }; + console.log('return 👇'); return code; }()); From 5262390bd3d0747f12b20f99ee7a01f232627728 Mon Sep 17 00:00:00 2001 From: Arvid Norlin Date: Tue, 2 Apr 2024 10:46:43 +0200 Subject: [PATCH 2/4] debug: change vwo script id --- components/Current/VwoScript.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/Current/VwoScript.tsx b/components/Current/VwoScript.tsx index 3d2bee78e..4dc591662 100644 --- a/components/Current/VwoScript.tsx +++ b/components/Current/VwoScript.tsx @@ -1,8 +1,9 @@ import Script from "next/script" +import { env } from "@/env/server" export default function VwoScript() { return ( - + {/* */} + + ) +} diff --git a/components/Current/VwoScript.tsx b/components/Current/VwoScript.tsx index 4dc591662..ead4f8a3f 100644 --- a/components/Current/VwoScript.tsx +++ b/components/Current/VwoScript.tsx @@ -1,16 +1,14 @@ import Script from "next/script" -import { env } from "@/env/server" export default function VwoScript() { return ( -