Skip to content

Commit 315df09

Browse files
authored
AGT-705: abPercentage parameter (#16)
1 parent b2bdfab commit 315df09

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dev-docs/modules/userid-submodules/intentiq.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Please find below list of parameters that could be used in configuring Intent IQ
5959
| params.siloEnabled | Optional | Boolean | Determines if first-party data is stored in a siloed storage key. When set to `true`, first-party data is stored under a modified key that appends `_p_` plus the partner value rather than using the default storage key. The default value is `false`. | `true` |
6060
| params.groupChanged | Optional | Function | A callback that is triggered every time the user’s A/B group is set or updated. |`(group) => console.log('Group changed:', group)` |
6161
| params.chTimeout | Optional | Number | Maximum time (in milliseconds) to wait for Client Hints from the browser before sending request. Default value is `10ms` | `30` |
62+
| params.abPercentage | Optional | Number | Percentage for A/B testing group. Default value is `95` | `95` |
6263
| params.additionalParameters | Optional | Array | This parameter allows sending additional custom key-value parameters with specific destination logic (sync, VR, winreport). Each custom parameter is defined as an object in the array. | `[ { parameterName: “abc”, parameterValue: 123, destination: [1,1,0] } ]` |
6364
| params.additionalParameters [0].parameterName | Required | String | Name of the custom parameter. This will be sent as a query parameter. | `"abc"` |
6465
| params.additionalParameters [0].parameterValue | Required | String / Number | Value to assign to the parameter. | `123` |
@@ -86,6 +87,7 @@ pbjs.setConfig({
8687
sourceMetaDataExternal: 123456, // Optional parameter
8788
reportMethod: "GET", // Optional parameter
8889
chTimeout: 10, // Optional parameter
90+
abPercentage: 95, // Optional parameter
8991
additionalParameters: [ // Optional parameter
9092
{
9193
parameterName: "abc",

0 commit comments

Comments
 (0)