IBM Universal Behavior Exchange Destination
IBM UBX quick info
IBM UBX is in beta, and accepts Track, and Page calls. If you reference it in the Integrations object, call it “IbmUbx", or "IBM UBX”.
IBM UBX accepts cloud-mode data from all Segment source types. It does not offer device-mode connections.
IBM’s Universal Behavior Exchange (UBX) is an API that allows users to share customer interactions, behaviors, and target audiences among IBM solutions and applications - including the Watson Marketing Portfolio - without the need for custom software integration. In effect, UBX is the “Segment” of IBM’s ecosystem. Once data is routed to IBM, you can send it to any destination in UBX’s portfolio.
NOTE: IBM UBX is currently in beta and this doc was last updated on May 7, 2018. This means that there may still be some bugs for us to iron out and we’re excited to hear your thoughts. If you are interested in joining or have any feedback to help us improve the IBM UBX Destination and its documentation, let us know!
Getting Started
NOTE: To enable Segment in UBX, navigate to “Endpoints” in the UBX dashboard, select “Register new endpoint”, then select “Segment”. Once you’ve added the Segment endpoint, contact Segment support with your new endpoint’s “endpoint authentication key” for help activating your new endpoint. Note that the endpoint in UBX will not be able to receive Segment data until you have enabled both the destination in the Segment UI *and* requested activation of the endpoint from Segment’s support team.
Before you start, make sure IBM UBX supports the source type and connection mode you’ve chosen to implement. You can learn more about connection modes here.
Web | Mobile | Server | |
---|---|---|---|
📱 Device-mode | ⬜️ | ⬜️ | ⬜️ |
☁️ Cloud-mode | ✅ | ✅ | ✅ |
- From the Segment web app, click Catalog.
- Search for “IBM UBX” in the Catalog, select it, and choose which of your sources to connect the destination to.
- Enter your UBX API URL and your publisher’s endpoint authentication key in the Segment Settings UI. You should have received an email with this URL shortly after setting up your UBX account. If you can’t locate your URL, contact UBX support (the URL is also referred to as a “base URL” in the IBM UBX documentation). To locate your endpoint authentication key, navigate to the “Endpoints” tab in UBX, then look to the far right where you’ll find three vertical dots. Click on them and select “Endpoint details”.
-
Register and provision a Segment endpoint within your UBX dashboard so you can access the appropriate endpoint authentication key. Do this by navigating to “Endpoints”, then “Register a new endpoint” and select “Segment”. Then click “Register” to proceed.
-
Once registered, the new endpoint’s status will remain “Pending” in the “Endpoints” tab until it has been activated. To activate an endpoint, include your UBX account’s API URL and your endpoint authentication key in an email to Segment using our tech support form.
- Segment will activate your endpoint within 24 hours, at which time its status will update to “Active” in the UBX dashboard. Now, you can grab your endpoint authentication key again and paste it into your UBX settings in the Segment UI.
You can read more about defining and activating applications in UBX here in their documentation.
General Tracking Advice
We encourage customers to review UBX’s dynamic event library closely to become familiar with UBX’s specced events and properties. Many UBX consumers only accept specific events; likewise, many consumers function best when specific events include particular properties. Although Segment provides robust out-of-the-box mapping (documented below), we still recommend reviewing the dynamic event library closely to ensure that you are sending events and properties that enable you to get the most out of your UBX consumers.
Page
Page calls will send a ‘Page View Event’ to UBX (code ibmpageView
). The below
mappings may apply:
Segment Property | UBX Attribute Name | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
siteID |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Segment Event Name | UBX Event Code |
Application Backgrounded | appSessionClose |
Application Opened | appSessionOpen |
Application Installed | appInstalled |
Application Uninstalled | appUninstalled |
Application Crashed | appCrashed |
Segment Event Name | UBX Event Code |
Product Added | cartAdd |
Order Completed | ibmcartPurchase |
Product Viewed | ibmproductView |
Product Removed | cartRemove |
Products Searched | ibmsearchedSite |
Product Reviewed | wroteReview |
Segment Property Name | UBX Attribute Name |
order_id |
orderID |
total |
orderTotal |
tax |
orderTax |
discount |
orderDiscount |
coupon |
orderPromo |
products |
productList |
cart_id |
orderID |
product_id |
productID |
name |
productName |
price |
basePrice |
url |
productURL |
image_url |
imageURL |
review_body |
review |
Segment Event Name | UBX Event Code |
Video Content Completed | ibmelementVideoCompleted |
Video Playback Started | ibmelementVideoLaunched |
Video Playback Paused | ibmelementVideoPaused |
Video Playback Resumed | ibmelementVideoPlayed |
Segment Property Name | UBX Attribute Name |
position |
videoTimestamp |
total_length |
videoTotalLength |
Segment Event Name | UBX Event Code |
Email Bounced | emailBounce |
Email Link Clicked | emailClick |
Email Opened | emailOpen |
Unsubscribed | emailOptOut |
Segment Property Name | UBX Attribute Name |
email_subject |
subjectLine |
list_id |
messageGroupId |
list_name |
messageGroupName |
link_url |
clickUrl |
Segment Property | UBX Attribute Name |
context.device.type |
deviceType |
context.ip |
ip |
context.location.latitude |
latitude |
context.locale |
locale |
context.location.city |
locationCity |
context.location.country |
locationCountry |
context.location.longitude |
longitude |
context.device.manufacturer |
manufacturer |
context.campaign.medium |
marketingSource |
context.campaign.source |
mediaSource |
context.device.model |
modelName |
context.os.name |
OS |
context.userAgent |
platform |
context.os.version |
versionOS |
(context.screen.width) * (context.screen.height) |
resolution |
integrations['ibm-ubx'].channel |
channel |
integrations['ibm-ubx'].subChannel |
attributes.subChannel |
integrations['ibm-ubx'].contactConsent |
attributes.contactConsent |
Personas
You can send computed traits and audiences generated using Segment Personas to this destination as a user property. To learn more about Personas, contact us for a demo.
For user-property destinations, an identify call is sent to the destination for each user being added and removed. The property name is the snake_cased version of the audience name, with a true/false value to indicate membership. For example, when a user first completes an order in the last 30 days, Personas sends an Identify call with the property order_completed_last_30days: true
. When the user no longer satisfies this condition (for example, it’s been more than 30 days since their last order), Personas sets that value to false
.
When you first create an audience, Personas sends an Identify call for every user in that audience. Later audience syncs only send updates for users whose membership has changed since the last sync.
Settings
Segment lets you change these destination settings from the Segment app without having to touch any code.
API URL
Enter your UBX account’s base URL endpoint here. This can be found in the email you received from UBX after setting up your UBX account. It shoul have the format https://<subdomain>.ubx.ibmmarketing.cloud/<path>
.
Authentication Key
You can find your endpoint’s Authorization Key by looking at your endpoint details in UBX. It should look something like eff08b68-0000-0000-9a19-8e43dbeeb201:US
.
Adding IBM UBX to the integrations object
To add IBM UBX to the integrations
JSON object (for example, to filter data from a specific source), use one of the following valid names for this integration:
-
IbmUbx
-
IBM UBX
This page was last modified: 20 Oct 2020
Need support?
Questions? Problems? Need more info? Contact us, and we can help!