diff --git a/modules/atsAnalyticsAdapter.js b/modules/atsAnalyticsAdapter.js index f15e5aa2b1f..7bf2ca75c17 100644 --- a/modules/atsAnalyticsAdapter.js +++ b/modules/atsAnalyticsAdapter.js @@ -21,7 +21,7 @@ function bidRequestedHandler(args) { user_browser: (browserIsFirefox() || browserIsEdge() || browserIsChrome() || browserIsSafari()), user_platform: navigator.platform, auction_start: new Date(args.auctionStart).toJSON(), - domain: args.refererInfo.referer, + domain: window.location.hostname, pid: atsAnalyticsAdapter.context.pid, }; }); diff --git a/package-lock.json b/package-lock.json index 2a9d671e441..497431c381f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "3.12.0", + "version": "3.16.0-pre", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/test/spec/modules/atsAnalyticsAdapter_spec.js b/test/spec/modules/atsAnalyticsAdapter_spec.js index 10fe7de7203..3dd6f261c11 100644 --- a/test/spec/modules/atsAnalyticsAdapter_spec.js +++ b/test/spec/modules/atsAnalyticsAdapter_spec.js @@ -80,7 +80,7 @@ describe('ats analytics adapter', function () { 'user_browser': (browserIsFirefox() || browserIsEdge() || browserIsChrome() || browserIsSafari()), 'user_platform': navigator.platform, 'auction_start': '2020-02-03T14:14:25.161Z', - 'domain': 'https://example.com/dev', + 'domain': window.location.hostname, 'pid': '10433394', 'response_time_stamp': '2020-02-03T14:23:11.978Z', 'currency': 'USD',