From f6ad3146cadc2f29246ce47544cd92c6dcd9fa74 Mon Sep 17 00:00:00 2001 From: keraliss Date: Fri, 23 Aug 2024 23:10:48 +0530 Subject: [PATCH] GA Fix --- astro.config.mjs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/astro.config.mjs b/astro.config.mjs index a303062..7a51c58 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,5 +1,6 @@ import { defineConfig } from "astro/config"; import tailwind from "@astrojs/tailwind"; +import partytown from "@astrojs/partytown"; import react from "@astrojs/react"; @@ -7,7 +8,15 @@ import react from "@astrojs/react"; export default defineConfig({ site: "https://www.bitshala.org", base: "/", - integrations: [tailwind(), react()], + integrations: [ + tailwind(), + react(), + partytown({ + config: { + forward: ["dataLayer.push"], + }, + }), + ], redirects: { "/apply": "/cohorts", },