GrowthCode provides Id Enrichment for requests.
First, make sure to add the GrowthCode submodule to your Prebid.js package with:
gulp build --modules=growthCodeIdSystem,userId
The following configuration parameters are available:
pbjs.setConfig({
userSync: {
userIds: [{
name: 'growthCodeId',
params: {
customerEids: 'customerEids',
}
}]
}
});
Below is an example of the EIDs stored in Local Store (customerEids)
[
{
"source":"domain.com",
"uids":[
{
"id":"8212212191539393121",
"ext":{
"stype":"ppuid"
}
}
]
},
{
"source":"example.com",
"uids":[
{
"id":"e06e9e5a-273c-46f8-aace-6f62cf13ea71",
"ext":{
"stype":"ppuid"
}
}
]
}
]