By default, Pendo creates one OEM end-customer subscription for each Account ID in your Pendo subscription and sends the data for that Account ID to that subscription. If the oemAccountId associated with an initialized visitor changes, Pendo associates the visitor’s data with a different end-customer subscription from that point on. If your customers don't map one-to-one to your Account IDs, you can set an OEM Account ID (oemAccountId) in your install script to control which end-customer subscription receives a visitor's data and guides.
Use an OEM Account ID when:
- Several accounts in your partner subscription belong to one customer, and that customer should have a single end-customer subscription.
- One account in your partner subscription contains several groups, such as departments or campuses, that each need their own end-customer subscription.
This article explains how OEM Account ID works, how to add it to your web install script, and how to check the result in Manage subscriptions.
Before you begin
- Your business must be an OEM partner. If you're not an OEM partner and would like to learn more, see OEM Partner Program.
- You must be a subscription admin with OEM manager permissions to manage end-customer subscriptions.
- Your development team must be able to update your Pendo install script. For more information, see Developer's guide to implementing Pendo using the install script.
How OEM Account ID works
The OEM Account ID is an optional value that you pass alongside the visitor and account objects when you initialize Pendo. It doesn't replace the Account ID. Your partner subscription continues to report on the Account ID. After you add a specific oemAccountId, that oemAccountId determines which end-customer subscription receives the visitor's events and guides.
- If the OEM Account ID is set, Pendo uses it instead of the Account ID to create the end-customer subscription and to route the visitor's data and guides.
- If the OEM Account ID isn't set, Pendo uses the Account ID.
To keep an existing end-customer subscription as it is when you start using OEM Account IDs, leave the value unset for that account, or set it to the same value as the Account ID.
Warning: Choose a stable value. Changing the oemAccountId associated with an initialized visitor sends that visitor's data to a different end-customer subscription from that point on.
Add the OEM Account ID to your install script
Add oemAccountId to the pendo.initialize() call, at the same level as the visitor and account objects:
pendo.initialize({
visitor: {
id: 'VISITOR_ID'
},
account: {
id: 'ACCOUNT_ID'
},
oemAccountId: 'OEM_ACCOUNT_ID'
});Choose values that follow the same guidelines as Account IDs: globally unique, recognizable, and unchanged once set. For more information, see Choose IDs and metadata.
Group several accounts into one end-customer subscription
Keep each account's id unique, and set the same OEM Account ID for every account that belongs to the customer.
For example, a customer named Acme has two accounts. One account has the id value acme-east, and the other has the id value acme-west. Both accounts use the same oemAccountId value, acme. Because the value is the same, the visitors in both accounts send their events and guides to the same end-customer subscription.
account: {
id: 'acme-east'
},
oemAccountId: 'acme'
account: {
id: 'acme-west'
},
oemAccountId: 'acme'Your Pendo subscription still shows each account separately. In Manage subscriptions, the customer appears as one row, and the data from all of its Account IDs are sent to that one end-customer subscription.
Split one account into several end-customer subscriptions
Keep the same account id, and set the OEM Account ID from the value in your application that identifies the group, such as a department.
For example, a customer named Acme University has one account with the id value acme-university. Both departments use that same id value. The business department uses the oemAccountId value acme-university-business, and the engineering department uses the oemAccountId value acme-university-engineering. Because the values are different, visitors in each department send their events and guides to a different end-customer subscription.
account: {
id: 'acme-university'
},
oemAccountId: 'acme-university-business'
account: {
id: 'acme-university'
},
oemAccountId: 'acme-university-engineering'Your partner subscription still shows one account. In Manage subscriptions, each OEM Account ID appears as its own row, and each end-customer subscription receives only the data for its group.
Check the result in Manage subscriptions
After your updated install script is live, check that your end customers appear the way you expect:
- From the top-right corner of Pendo, go to Settings > OEM settings.
- Select the Manage subscriptions tab.
- Find the row for the OEM Account ID. The Account ID column shows the OEM Account ID value, and the Account relationship column shows one of the following:
- Single. One Account ID or OEM Account ID feeds this end-customer subscription.
- Grouped. More than one Account ID feeds this end-customer subscription. Expand the row to see the Account IDs that are grouped under it.
- Activate and configure the subscription as described in Manage end-customer subscriptions.