Contact Us

Installation

Pendo Help CenterInstallationSend data to multiple subscriptions

Send data to multiple subscriptions

Overview

Event data from a single application/installation can be sent to multiple Pendo subscriptions by including the additional additionalApiKeys:[] option within your installation snippet.

note: This feature requires Agent 2.7.0 or higher. Your current agent version can be found under the "Agent Settings" tab on the Install Settings page.

Configuration

This option is added within the pendo.initialize({}) call in your snippet.

pendo.initialize({
    additionalApiKeys: ['<SUB_2_ACTUAL_API_KEY>', '<SUB_4_ACTUAL_API_KEY>', '<SUB_4_ACTUAL_API_KEY>'],

    visitor: {...},

    account: {...}
});

Your installation snippet template can be found by admins of your subscription on the Install Settings page.

Guide Behavior

Only guides from the primary API key will be served. For example, guides from sub1Key would be only be served when sub1Key is the primary apiKey. In the above configuration example, an installation that had sub2Key as the primary apiKey would never serve sub1Key guides and would only serve sub2Key guides.

Guide events will only be recorded under the primary subscription, identified as sub1Key in the above example. All non-guide events will be recorded for all subscriptions.

© 2018 Pendo  |  Terms of Service  |  Privacy Policy