Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intentiq: update configuration example #12109

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 4 additions & 29 deletions modules/intentIqIdSystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,49 +44,24 @@ Please find below list of paramters that could be used in configuring Intent IQ

### Configuration example

```javascript
pbjs.setConfig({
userSync: {
userIds: [
{
name: "intentIqId",
params: {
partner: 123456, // valid partner id
callback: (data, group) => window.pbjs.requestBids(),
},
storage: {
type: "html5",
name: "intentIqId", // set localstorage with this name
expires: 60,
refreshInSeconds: 4 * 3600, // refresh ID every 4 hours to ensure it's fresh
},
},
],
syncDelay: 3000,
},
});
```

```javascript
pbjs.setConfig({
userSync: {
userIds: [{
name: "intentIqId",
params: {
partner: 123456 // valid partner id
pcid: PCID_VARIABLE, // string value, dynamically loaded into a variable before setting the configuration
pai: PAI_VARIABLE , // string value, dynamically loaded into a variable before setting the configuration
partner: 123456, // valid partner id
timeoutInMillis: 500,
browserBlackList: "chrome",
callback: (data, group) => window.pbjs.requestBids()
},
storage: {
type: "html5",
name: "intentIqId", // set localstorage with this name
expires: 60
expires: 0,
refreshInSeconds: 0
}
}],
syncDelay: 3000
}]
}
});
```