Skip to content

Commit

Permalink
update 1.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
o-pak-ttd committed Aug 8, 2024
1 parent 91c1ccb commit dfbe928
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions pixel/up_loader.1.1.6.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand All @@ -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 = {
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit dfbe928

Please sign in to comment.