Skip to content

Latest commit

 

History

History
55 lines (48 loc) · 992 Bytes

growthCodeIdSystem.md

File metadata and controls

55 lines (48 loc) · 992 Bytes

GrowthCode User ID Submodule

GrowthCode provides Id Enrichment for requests.

Building Prebid with GrowthCode Support

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', 
      }
    }]
  }
});

Sample Eids

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"
            }
         }
      ]
   }
]