diff --git a/src/constants/header-keys.js b/src/constants/header-keys.js index 2cfbba367..13722fb6d 100644 --- a/src/constants/header-keys.js +++ b/src/constants/header-keys.js @@ -1,3 +1,4 @@ export const headerKeys = { EXPERIMENT: "X-Experiment-Data", + APPLICATION_NAME: "AppName", }; diff --git a/src/global-methods.js b/src/global-methods.js index c286ede9b..2d7e53262 100644 --- a/src/global-methods.js +++ b/src/global-methods.js @@ -60,6 +60,7 @@ export default { const payloadAndAnalyticsData = Object.assign({}, payload, { AppName: "FixMyGlass" }); const headers = { [headerKeys.EXPERIMENT]: JSON.stringify(store.getters.experimentSettings), + [headerKeys.APPLICATION_NAME]: applicationConfig.APPLICATION_NAME, }; axios({