mysterious-nail-58688
09/14/2023, 6:00 PM// js-cookie returns a string value of the cookie or undefined if it doesn't exist
const thirdPartyCookies = {
cookie1: Cookies.get("cookie1"),
cookie2: Cookies.get("cookie2"),
cookie3: Cookies.get("cookie3"),
};
gbInit.setAttributes({
...gbInit.getAttributes(),
...thirdPartyCookies,
id: svc.userId,
});
brief-honey-45610
09/14/2023, 6:16 PMmysterious-nail-58688
09/14/2023, 6:16 PMbrief-honey-45610
09/14/2023, 6:58 PMmysterious-nail-58688
09/14/2023, 6:59 PMbrief-honey-45610
09/15/2023, 3:48 AMundefined
is javascript-specific. Most languages don't have an equivalent to that, so I don't think it's part of our shared test suite between all of the SDKs. We would have to write a custom test case just for the javascript SDK. I'm going to create a GitHub issue for this and let our engineering team know about it. I'll share the link to the GH issue so you can follow itmysterious-nail-58688
09/15/2023, 3:50 AMbrief-honey-45610
09/15/2023, 3:52 AMmysterious-nail-58688
09/15/2023, 3:54 AM