From feb203dbc7acaec4722760e3802311c4a6dccd1b Mon Sep 17 00:00:00 2001 From: Jeremy-Z Date: Mon, 20 Apr 2026 12:51:26 -0400 Subject: [PATCH] Made sure GA events from mounted method are logged to logapp as well as GA. --- src/layouts/order-confirmation/order-confirmation.vue | 2 +- src/layouts/welcome-page/welcome-page.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/layouts/order-confirmation/order-confirmation.vue b/src/layouts/order-confirmation/order-confirmation.vue index 1a3b6db9..d07f711d 100644 --- a/src/layouts/order-confirmation/order-confirmation.vue +++ b/src/layouts/order-confirmation/order-confirmation.vue @@ -665,7 +665,7 @@ export default { // TODO: Check if we're coming from SFA and add relevant events // eslint-disable-next-line if (false) { - this.pushEventToGA('visitor_info_confirmation', 'referring_site', 'SFA', null); + this.pushEventToGA('_confirmation', 'referring_site', 'SFA', null); } else { this.pushEventToGA('visitor_info_confirmation', 'referring_site', 'ClientSite', true); diff --git a/src/layouts/welcome-page/welcome-page.vue b/src/layouts/welcome-page/welcome-page.vue index ba5f77ba..6f72d2df 100644 --- a/src/layouts/welcome-page/welcome-page.vue +++ b/src/layouts/welcome-page/welcome-page.vue @@ -273,14 +273,14 @@ export default { // TODO: Check if we're coming from SFA - site does not support SFA yet, add this back when it is enabled. // eslint-disable-next-line if (false) { - this.pushEventToGA("co_branded", "welcome_clicked_cta", "yes_clicked", 0); - this.pushEventToGA("visitor_info_welcome", "referring_site", "SFA", null); + this.pushEventToGA("co_branded", "welcome_clicked_cta", "yes_clicked", true, null, '0'); + this.pushEventToGA("visitor_info_welcome", "referring_site", "SFA", true); } else { - this.pushEventToGA("visitor_info_welcome", "referring_site", "ClientSite", null); + this.pushEventToGA("visitor_info_welcome", "referring_site", "ClientSite", true); } - this.pushEventToGA("visitor_info_welcome", "client_name", this.mainStore.accountNameForEvents, null); + this.pushEventToGA("visitor_info_welcome", "client_name", this.mainStore.accountNameForEvents, true); }, computed: { DamageCauseOptions() {