update to contract
This commit is contained in:
parent
d13f2ec9e5
commit
c6a55045bd
3 changed files with 1 additions and 20 deletions
|
|
@ -74,19 +74,6 @@ export function getDeviceIdValue(){
|
|||
return '';
|
||||
}
|
||||
|
||||
/*
|
||||
Gets value of sid cookie, returns empty string if not found.
|
||||
*/
|
||||
export function getSessionIdValue(){
|
||||
const cookieValue = getCookieValueByName(cookieNames.SESSION_ID);
|
||||
|
||||
if(cookieValue){
|
||||
return cookieValue;
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
/*
|
||||
Gets value of skey cookie, returns 0 if not found.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -48,10 +48,7 @@ export default {
|
|||
{
|
||||
userId: getDeviceIdValue(),
|
||||
sessionKey: getSessionKeyValue(),
|
||||
sessionId: getSessionIdValue(),
|
||||
pageName: to.query.fmgPage,
|
||||
serverName: 'ConceptFunnel',
|
||||
pageEvent: { action: '', event: 'ENTRY' },
|
||||
universeName: experimentUniverses.CONCEPT_FUNNEL
|
||||
}, false);
|
||||
|
||||
|
|
|
|||
|
|
@ -363,17 +363,14 @@ export const actions = {
|
|||
context.commit(storeMutations.UPDATE_REFERRAL_CORRELATION_ID, referralCorrelationId);
|
||||
},
|
||||
|
||||
logExperimentExposure(context, { userId, sessionKey, sessionId, pageName, serverName, pageEvent, universeName }) {
|
||||
logExperimentExposure(context, { userId, sessionKey, pageName, universeName }) {
|
||||
return globalMethods.callHttpClient({
|
||||
method: endpoints.LogExperimentExposureIfAssigned.method,
|
||||
endpoint: endpoints.LogExperimentExposureIfAssigned.url,
|
||||
payload: {
|
||||
userId: userId,
|
||||
sessionKey: sessionKey,
|
||||
sessionId: sessionId,
|
||||
pageName: pageName,
|
||||
serverName: serverName,
|
||||
pageEvent: pageEvent,
|
||||
universeName: universeName
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue