diff --git a/src/helpers/heritage-integration/cookie-helper.js b/src/helpers/heritage-integration/cookie-helper.js index 2dd8006fb..52cb17642 100644 --- a/src/helpers/heritage-integration/cookie-helper.js +++ b/src/helpers/heritage-integration/cookie-helper.js @@ -62,7 +62,7 @@ export function getDeviceIdValue(){ const cookieValuesSplit = cookieValue.split('='); // If this is the only value, just use that. - if(cookieValuesSplit.length === 2){ + if(cookieValuesSplit.length === 2 && cookieValuesSplit[0] === 'did'){ return cookieValuesSplit[1]; }