diff --git a/src/constants/header-keys.js b/src/constants/header-keys.js index ed88393b5..4341d416b 100644 --- a/src/constants/header-keys.js +++ b/src/constants/header-keys.js @@ -6,4 +6,5 @@ export const headerKeys = { TRANSACTION_ID: "X-Transaction-Id", EON: "X-Enterprise-Order-Number", LOG_ENABLED: "log-enabled", + PAGE_NAME_TO_LOG: "X-Page-Name-To-Log", }; diff --git a/src/global-methods.js b/src/global-methods.js index f408230f8..584743b2d 100644 --- a/src/global-methods.js +++ b/src/global-methods.js @@ -69,6 +69,7 @@ export default { [headerKeys.APPLICATION_NAME]: applicationConfig.APPLICATION_NAME, [headerKeys.SESSION_SEQUENCE_NUMBER]: getSessionKeyValue(), [headerKeys.REFERRAL_SEQUENCE_NUMBER]: order?.referralSequenceNumber, + [headerKeys.PAGE_NAME_TO_LOG]: pageNameToLog, [headerKeys.TRANSACTION_ID]: crypto.randomUUID(), [headerKeys.EON]: order?.eon, [headerKeys.LOG_ENABLED]: store.getters.applicationUser?.loggingOption ?? false,