Made sure GA events from mounted method are logged to logapp as well as GA.
This commit is contained in:
parent
4ae51eeb24
commit
feb203dbc7
2 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue