From 27b21a8ae52746352171349d9ba4b742bbe7e203 Mon Sep 17 00:00:00 2001 From: Ludovic DEHON Date: Wed, 8 Jan 2025 14:11:21 +0100 Subject: [PATCH] fix(site): missing window on cookie consent --- plugins/cookieconsent.client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cookieconsent.client.ts b/plugins/cookieconsent.client.ts index 900c7856cb..1ef76aa98c 100644 --- a/plugins/cookieconsent.client.ts +++ b/plugins/cookieconsent.client.ts @@ -44,7 +44,7 @@ export default defineNuxtPlugin(nuxtApp => { } if (window._hsq) { - _hsq.push(['identify', {id: response.data.id}]); + window._hsq.push(['identify', {id: response.data.id}]); } };