• Platforms
  • Partners
  • Forums
  • 日本語
  • TLC Tealium Learning Center Tealium Learning
    Community
  • Discussions & Ideas Dicussions & Ideas
  • Product Guides Product Guides
  • Knowledge Base Knowledge Base
  • Developer Docs Developer Docs
  • Education Education
  • TLC Blog TLC Blog
  • Support Desk Support Desk
  • CDH Customer Data Hub Customer Data Hub
  • Partner Integrations
  • Overview
  • Data Sources
  • CMP Plugins
  • CMS Plugins
  • Tags
  • Mobile
  • Connectors
SERVER SIDE

Connectors

Learn how to integrate your server-side API for real-time activation of event and customer data in Tealium.

Do you offer an API for data collection or activation? Do you have a server-side equivalent to your client-side JavaScript tag? If so, this guide explains how API integrations for outbound data work in the Tealium Customer Data Hub.

How Connectors Work

A connector is an integration between Tealium and a vendor for transmitting data. A connector offers actions that represent methods from a vendor’s API. Connectors provide Tealium users a simplified workflow for activating data in real-time and sending it directly to a vendor.

Event and Customer Data

Connectors that send event data, such as web analytics, are used in Tealium EventStream.

Connectors that send customer data, such as email subscription status, are used in Tealium AudienceStream.

Configuration

A connector is managed in the following parts:

  • Connector
    The connector establishes a connection to the vendor, usually with an API key or account ID, or even authentication credentials.
  • Actions
    Actions implement a specific vendor API method. Each action requires a source of data (event or customer), data mappings, and any required vendor settings. Multiple actions are associated with a single connector.
  • Data Mappings
    Data mappings determine which dynamic values from the event or customer are sent to the vendor.

Action Examples

The following examples show common connector actions from various vendor categories:

  • Analytics
    Send an analytics event such as a page view, order purchase, or user registration.
  • Display Ads
    Add or remove from an advertising segment.
  • Email
    Add or remove from a list, trigger email, or add relational data for a subscriber.
  • CRM
    Create a lead or contact, convert a lead, or upsert (insert or update) a record.
  • Mobile
    Send an SMS or a push notification, track an app install, or send in-app events.

Learn more about connectors.

Example: Facebook Audiences Connector

With the Facebook Audiences Connector for Facebook Ads users, Tealium users are able to manage their custom audiences in real-time, based on user behavior collected from one or more data sources.

This connector provides the following actions:

  • Add user to Custom Audience
  • Remove user from Custom Audience
  • Opt-out user from All Custom Audiences

For each action, a list of required and optional fields for Facebook Custom Audiences is available for data mapping.

Authentication

In cases where a vendor API requires authentication, Tealium offers two solutions:

  • Tealium-Provided Credentials
    Tealium creates and manages a server-side app to act on behalf of our users. Tealium maintains the authentication relationship with the vendor.
  • Customer-Provided Credentials
    The Tealium user obtains the necessary API access from the vendor to authenticate the connection.

For both solutions, Tealium supports the following authentication types:

  • Basic Auth (username and password)
  • OAuth 2.0
  • JSON Web Tokens (JWT)

If your API places limits on the number of concurrent tokens, Tealium users may encounter issues since we are globally distributed across dozens of servers at any given time.

Best Practices

Asset Creation

Asset creation is the ability for Tealium users to create resources for use with a connector without leaving the Tealium Customer Data Hub (CDH). For example, in the Facebook Audiences connector, users are able to create a new Facebook custom audience and then select that audience as the target for a new connector action.

This optional feature is provided for all vendors that support API methods to create resources that are related to a connector action. Some common examples of create methods include:

  • Display Ads
    Create advertiser segment or audience.
  • Email
    Create subscriber list or contact list.

Dynamic Vendor Options

Tealium assists users in configuring a connector action by dynamically populating connector options with data retrieved directly from the vendor’s platform.

For example, on the configuration screen of the Facebook Audiences connector, Tealium makes API calls to get the list of custom audiences from the user’s Facebook Ads account. This permits the user to browse their external resources with familiar names and helpful metadata to ensure they are selecting the right resources.

These dynamic configuration options may sometimes need to be executed as sequential calls. In a CRM connector, for example, in order to fetch a CRM object’s primary key field, we must first retrieve the list of CRM objects.

Upsert by Default

For API methods that create or update records in a vendor platform, Tealium prefers native support for upsert in a single request. This will minimize the number of outgoing API calls from Tealium. For example, before creating or updating a record, an API user must first verify whether a record exists. If the record doesn’t exist, the next API call will create the record. If the record does exist, the next API call will update the existing record.

Batching and Rate Limits

While Tealium’s goal is to provide real-time performance, some vendors prefer that data be sent in small batches in order to manage resource costs. This is especially true when dealing with large volumes of data.

Tealium recommends that vendors rate limit individual accounts using their APIs. This prevents a small group of high-volume accounts from impacting your entire system.

Tealium connectors conform to your desired thresholds for the API endpoints used. The following are rate limits examples:

  • 50 events per request with a maximum of 10 requests per second = 500 requests/second
  • 10,000 events per minute with a maximum 10KB per request = ~167 requests/second

Limitations

Tealium connectors do not currently support the following:

  • File transfers
  • Vendor APIs that do not connect within 5000ms
  • Vendor APIs that do not respond to requests within 5000ms (10s for batch requests)

Become a Partner

Contact us to integrate your technology.

"Mobile "
Previous
Mobile

 

Was this article helpful?

This page was last updated: April 29, 2021      

Thank you for your feedback!

Table of Contents

  • How Connectors Work
    • Event and Customer Data
    • Configuration
    • Action Examples
  • Example: Facebook Audiences Connector
  • Authentication
  • Best Practices
    • Asset Creation
    • Dynamic Vendor Options
    • Upsert by Default
    • Batching and Rate Limits
  • Limitations
  • Become a Partner
  • Platforms
  • Partners
  • Forums
  • Mobile
  • Getting Started
  • Remote Commands
  • Android (Java)
  • Android (Kotlin)
  • Cordova 1.x
  • Cordova 2.x
  • Flutter 1.x
  • Flutter 2.x
  • iOS (Objective-C)
  • iOS (Swift) 1.x
  • iOS (Swift) 2.x
  • NativeScript
  • React Native 1.x
  • React Native 2.x
  • Unity 1.x
  • Unity 2.x
  • Xamarin 1.x
  • Xamarin 2.x
  • Web
  • Getting Started
  • Adobe Launch
  • AMP
  • Angular
  • Google Tag Manager
  • JavaScript (Web)
  • Server
  • C#
  • HTTP API
  • Java
  • Node
  • Python
  • Roku
  • Ruby