diff --git a/src/constants/application-config.js b/src/constants/application-config.js index b5233d170..1e2324ba7 100644 --- a/src/constants/application-config.js +++ b/src/constants/application-config.js @@ -6,6 +6,7 @@ const applicationConfig = { COOKIE_PATH: "/", CURRENT_ENVIRONMENT: process.env.VUE_APP_CURRENT_ENVIRONMENT, // "Localhost", "Dev", "QA", and "Prod" APPLICATION_NAME: "FixMyGlass", + ANALYTICS_APPLICATION_NAME: "FixMyGlassNextGen", APPLICATION_ABBREVIATION: "fmg", PAGE_QUERYSTRING: "fmgPage", SITE_ENTRY_TRIGGER_VALUE: "FixMyGlass", diff --git a/src/store/index.js b/src/store/index.js index efaf5b428..684ca83e1 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1076,7 +1076,7 @@ export const actions = { sessionKey: sessionKey, sessionId: sessionId, pageName: pageName, - applicationName: applicationConfig.APPLICATION_NAME, + applicationName: applicationConfig.ANALYTICS_APPLICATION_NAME, action: action, event: event, shouldUseSessionId: shouldUseSessionId, @@ -1124,7 +1124,7 @@ export const actions = { sessionKey: sessionKey, sessionId: sessionId, pageName: pageName, - applicationName: applicationConfig.APPLICATION_NAME, + applicationName: applicationConfig.ANALYTICS_APPLICATION_NAME, category: category, action: action, label: label, @@ -1153,7 +1153,7 @@ export const actions = { }, initializeSession(context, { userId, sessionId, userAgent, referrer }) { var payload = { - applicationName: applicationConfig.APPLICATION_NAME, + applicationName: applicationConfig.ANALYTICS_APPLICATION_NAME, userId: userId, deviceId: userId, sessionId: sessionId,