Data Connections

Connect AdaptiveCX to your existing tools and data sources. Export specific data elements to external platforms and custom systems.

What data connections do

Data connections export specific AdaptiveCX data to external platforms:

  • Audiences - Send audience membership to marketing platforms

  • Predictions - Export prediction scores to CDPs

  • Events - Stream event data to analytics tools

  • Affinities - Share interest scores with personalization engines

  • Attributes - Sync visitor data to CRM systems

Available data elements

When creating an integration, select which data to export:

  • Attribute Categories - Custom attribute groups

  • Predictions - Prediction scores for visitors

  • Audiences - Audience membership data

  • Events - Tracked events and their parameters

  • Affinities - Visitor affinity scores

  • Attributes - Visitor attribute values

Create a data connection

1

Open Data Connections

Go to Activate > Integrations > Data Connections.

2

Click Create New Integration

The integration configuration modal opens.

3

Select Data Element Type

Choose which data to integrate:

  • Attribute Categories

  • Predictions

  • Audiences

  • Events

  • Affinities

  • Attributes

Then select the specific data element from the list.

4

Choose Where to Store

Select the destination for your data:

  • External platform

  • Custom endpoint

  • Data warehouse

Configure the connection details for your destination.

5

Enter Key Name

Provide a key name under which the data will be stored in the external system.

This key identifies the data in your destination system.

6

Create Integration

Click Create Integration to activate the connection.

Custom JS Code

Add custom JavaScript to trigger adaptive functionality on your site.

When to use custom code

  • Integrate with unsupported platforms

  • Add custom event handling

  • Implement complex personalization logic

  • Connect to proprietary systems

Create custom code

1

Open Custom JS Code

In Data Connections, find the Custom JS Code section and click Create New Custom Code.

2

Enter name

Provide a descriptive name for your custom code in the Name field.

3

Configure targeting (Who To Target)

Set who should execute this custom code:

  • Traffic Source: Target visitors from specific traffic sources

  • Device: Target by device type (mobile, desktop, tablet)

  • Audience: Target specific audiences

Click Edit to configure targeting rules.

4

Set when to run (When to Run)

Configure the execution frequency: how often the code runs (e.g., every session, once per visitor)

5

Write your JavaScript

In the Your Custom Code section, add your JavaScript code.

Use AdaptiveCX APIs within your code to:

  • Get prediction scores

  • Retrieve visitor attributes

  • Check audience membership

  • Trigger adaptive features

6

Validate the code

Click Validate Your JS Code to check for syntax errors.

7

Publish

Click Publish Code to activate the custom code on your site.

Last updated

Was this helpful?