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 '';
|
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.
|
Gets value of skey cookie, returns 0 if not found.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -48,10 +48,7 @@ export default {
|
||||||
{
|
{
|
||||||
userId: getDeviceIdValue(),
|
userId: getDeviceIdValue(),
|
||||||
sessionKey: getSessionKeyValue(),
|
sessionKey: getSessionKeyValue(),
|
||||||
sessionId: getSessionIdValue(),
|
|
||||||
pageName: to.query.fmgPage,
|
pageName: to.query.fmgPage,
|
||||||
serverName: 'ConceptFunnel',
|
|
||||||
pageEvent: { action: '', event: 'ENTRY' },
|
|
||||||
universeName: experimentUniverses.CONCEPT_FUNNEL
|
universeName: experimentUniverses.CONCEPT_FUNNEL
|
||||||
}, false);
|
}, false);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -363,17 +363,14 @@ export const actions = {
|
||||||
context.commit(storeMutations.UPDATE_REFERRAL_CORRELATION_ID, referralCorrelationId);
|
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({
|
return globalMethods.callHttpClient({
|
||||||
method: endpoints.LogExperimentExposureIfAssigned.method,
|
method: endpoints.LogExperimentExposureIfAssigned.method,
|
||||||
endpoint: endpoints.LogExperimentExposureIfAssigned.url,
|
endpoint: endpoints.LogExperimentExposureIfAssigned.url,
|
||||||
payload: {
|
payload: {
|
||||||
userId: userId,
|
userId: userId,
|
||||||
sessionKey: sessionKey,
|
sessionKey: sessionKey,
|
||||||
sessionId: sessionId,
|
|
||||||
pageName: pageName,
|
pageName: pageName,
|
||||||
serverName: serverName,
|
|
||||||
pageEvent: pageEvent,
|
|
||||||
universeName: universeName
|
universeName: universeName
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue