Skip to content

Commit 28d5ee4

Browse files
authored
IntentIq ID Module: add new query parameter (prebid#14273)
* add new param to VR request * use new param in unit test
1 parent ebf3907 commit 28d5ee4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

modules/intentIqIdSystem.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ export const intentIqIdSubmodule = {
514514
url = appendSPData(url, firstPartyData)
515515
url += '&source=' + PREBID;
516516
url += '&ABTestingConfigurationSource=' + configParams.ABTestingConfigurationSource
517+
url += '&abtg=' + encodeURIComponent(actualABGroup)
517518

518519
// Add vrref and fui to the URL
519520
url = appendVrrefAndFui(url, configParams.domainName);

test/spec/modules/intentIqIdSystem_spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,7 @@ describe('IntentIQ tests', function () {
16171617
JSON.stringify({ pid: 'test_pid', data: 'test_personid', ls: true })
16181618
);
16191619

1620+
expect(request.url).to.contain(`abtg=${usedGroup}`);
16201621
expect(request.url).to.contain(`ABTestingConfigurationSource=${ABTestingConfigurationSource}`);
16211622
expect(request.url).to.contain(`testGroup=${usedGroup}`);
16221623
expect(callBackSpy.calledOnce).to.be.true;

0 commit comments

Comments
 (0)