CommandBar

Send your event data from RudderStack to CommandBar.

CommandBar is an AI-powered user assistance platform. It allows product, marketing, and customer success teams achieve their user engagement, activation, conversion, and retention goals.

Find the open source code for this destination in the GitHub repository.

Setup

  1. In your RudderStack dashboard, go to Directory > Destinations > Cloud Destinations and search for CommandBar.
  2. Connect your source and click Continue.

Connection settings

Configure the following settings to set up CommandBar as a destination in RudderStack:

  • Name: Assign a name to uniquely identify the destination.
  • Organization ID: Enter your CommandBar organization ID. You can find it in the left navigation bar of your CommandBar dashboard by clicking your organization name.

Connection mode

Specify how you want to route events from your source to CommandBar.

RudderStack supports sending events to CommandBar via the following connection modes:

Connection ModeWebMobileServer
Device modeSupported--
Cloud mode---
info

In the web device mode integration, that is, using JavaScript SDK as a source, RudderStack loads the CommandBar snippet from the https://*.commandbar.com domain. Based on your website’s content security policy, you might need to allowlist this domain for the integration to work correctly.

For more information, see setting up content security policies for CommandBar.

Configuration settings

  • Client-side Events Filtering: This setting lets you specify which events should be blocked or allowed to flow through to CommandBar. For more information on this setting, see Client-side Events Filtering.
  • OneTrust Cookie Categories: This setting lets you associate the OneTrust cookie consent groups to CommandBar.

Identify

You can use the identify call to identify users in CommandBar. RudderStack maps this event to CommandBar SDK’s boot method.

A sample identify call is shown:

rudderanalytics.identify("1hKOmRA4GRlm", {
  name: "Alex Keener",
  address: "1800 Blue Gum Street",
  hmac: "hmacUserId",
  createdAt: "Mon May 19 2019 18:34:24 GMT+0000 (UTC)",
})

Traits mapping

RudderStack maps the following identify traits to the CommandBar attributes:

RudderStack propertyCommandBar propertyData type
userId
Required
userIdString
context.traits + traits
Default: {}
traitsObject
context.traits.hmacId
traits.hmacId
Commandbar.hmacString

hmacId is used to identify users with an HMAC of their user ID, helping secure user-related features like customizable shortcuts. See CommandBar identity verification for more information.

Track

You can use the event names in your track calls to trigger surveys in CommandBar. RudderStack maps this event to CommandBar SDK’s trackEvent method.

A sample track call is shown:

rudderanalytics.track("User Signed Up", {});

FAQ

Where can I find the CommandBar organization ID?

  1. Log in to your CommandBar dashboard.
  2. In the left navigation bar, click your organization name at the bottom and copy the Org ID.
CommandBar organization ID

Questions? Contact us by email or on Slack