From d13f2ec9e58eeaa42a42702e6e500aae3ca43d4b Mon Sep 17 00:00:00 2001 From: FrankRua Date: Thu, 14 Apr 2022 11:48:35 -0400 Subject: [PATCH] one more bit of logic --- src/helpers/heritage-integration/cookie-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }