From 827c941e08218c55f7053782e6272f76f11c26c7 Mon Sep 17 00:00:00 2001 From: Rich Snapp Date: Thu, 29 Apr 2021 15:22:49 -0600 Subject: [PATCH] add X-Prebid header to ajax requests fixes #6627 --- src/ajax.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ajax.js b/src/ajax.js index b1e4cbdbdff8..f9fc4ff4438c 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -75,6 +75,7 @@ export function ajaxBuilder(timeout = 3000, {request, done} = {}) { if (options.withCredentials) { x.withCredentials = true; } + x.setRequestHeader('X-Prebid', 'pbjs/$prebid.version$'); utils._each(options.customHeaders, (value, header) => { x.setRequestHeader(header, value); });