Skip to content

Commit

Permalink
Add domain in impression tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
aymeric45 committed May 17, 2024
1 parent 5f134ae commit 8c68512
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions modules/luceadBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,12 @@ function interpretResponse(serverResponse, bidRequest) {
function report(type, data) {
// noinspection JSCheckFunctionSignatures
return fetch(`${endpointUrl}/go/report/${type}`, {
body: JSON.stringify(data),
body: JSON.stringify({
...data,
domain: location.hostname,
}),
method: 'POST',
contentType: 'text/plain'
contentType: 'text/plain',
});
}

Expand Down

0 comments on commit 8c68512

Please sign in to comment.