diff --git a/pixel/up_loader.1.1.6.js b/pixel/up_loader.1.1.6.js index 14252b9..5c6bbfc 100644 --- a/pixel/up_loader.1.1.6.js +++ b/pixel/up_loader.1.1.6.js @@ -615,7 +615,6 @@ function _TTDUniversalPixelApi_1_1_6(optionalTopLevelUrl) { for (var i = 4; i < arguments.length; i++) { arguments[i - 1] = arguments[i]; } - arguments.pop(); } } @@ -628,11 +627,6 @@ function _TTDUniversalPixelApi_1_1_6(optionalTopLevelUrl) { return; } - if (route_realtime_api) { - console.log("routing to realtime api"); - return; - } - var src_with_params = ""; var paramMap = { @@ -680,7 +674,7 @@ function _TTDUniversalPixelApi_1_1_6(optionalTopLevelUrl) { src_with_params = src_with_params + "&paapi=1" } - if (localStorage.getItem("UID2-sdk-identity")) { + if (localStorage.getItem("UID2-sdk-identity") === null) { src_with_params = src_with_params + "&uidcs=1"; // UID_IDENTITY_EXISTS = 1; } @@ -926,12 +920,6 @@ function _TTDUniversalPixelApi_1_1_6(optionalTopLevelUrl) { } } - - function getHostname(fullURL) { - let url = new URL(fullURL); - return url.hostname; - } - function firePixel(cmpResult) { if (requestStartTime != null) { src_with_params = src_with_params + "&ret=" + (new Date() - requestStartTime);