From 4cb4a12c4c32f5f07cb5cbb36bc335c810e13ecb Mon Sep 17 00:00:00 2001 From: Lauren Hitchon Date: Wed, 7 Aug 2024 10:27:06 +1000 Subject: [PATCH] fix/ga4-tag (#447) * Update gulpfile.js --- gulpfile.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index d3fb024a..47f49275 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -309,8 +309,13 @@ function renamePathForProd() { function addAnalytics() { return src(`${config.dir.build}/**/*.html`) - .pipe(inject.after('', ` - + .pipe(inject.after('', ` + `)) + .pipe(inject.after('', ` -`)) + `)) +.pipe(inject.after('', ` + `)) .pipe(dest(config.dir.build)) }