Getting StartedAdding Integrations

Adding Integrations

Once your first pipeline is running, you’ll want to add more vendor destinations. This guide covers how to install additional integrations, understand the V2 schema-mapping builder, and customise field mappings.

Installing from the Integration Library

The Integration Library includes 120+ pre-built vendor integrations across six categories:

CategoryExamples
AdvertisingMeta CAPI, Google Ads, TikTok, Pinterest, Snapchat, LinkedIn, The Trade Desk
AnalyticsGoogle Analytics 4, Adobe Analytics, Amplitude, Mixpanel, Heap
AttributionAdjust, AppsFlyer, AWIN, Impact Radius, Kochava
CDPBraze, HubSpot, Salesforce CDP, Iterable, Customer.io
Cloud StorageBigQuery, Snowflake, Redshift, S3, Azure Blob, Kafka
OtherCustom Webhook, Pipeline Router

To install an integration:

  1. Navigate to Integrations in the sidebar, then click Add Integration or switch to the Integration Library tab.
  2. Browse by category or search for a vendor.
  3. Click Install, choose a blueprint if available, fill in credentials, and click Install Integration.
  4. The integration is automatically attached to your pipeline.

Understanding the V2 Schema-Mapping Builder

Every integration’s configuration is managed through the V2 schema-mapping builder. Open it by clicking on an integration from the Integrations page.

The builder has four sections:

Parameters

Connection credentials and shared configuration values. These are typically set during installation and rarely changed:

measurement_id  →  G-XXXXXXXXXX    (static)
api_secret      →  your_secret     (static)

Parameters can also be set at the pipeline level so they’re shared across integrations. Pipeline parameters override integration-level values.

Global Mappings

Fields that are sent with every event to this vendor, regardless of event type. Common examples:

FieldSourceDescription
client_idcontext.anonymous_idThe user’s anonymous ID
user_iduser_idThe identified user ID (when available)
timestamp_microstimestampEvent timestamp in the vendor’s required format
user_propertiesVariousUser traits from identify() calls

Event Mappings

Per-event-type field mappings. This is where most of the configuration lives. For each event type you want to send to this vendor, you define:

  • Source event — which Datafly event triggers this mapping (e.g. purchase, page_view, add_to_cart)
  • Destination event — what the vendor calls this event (e.g. GA4 expects purchase, Meta expects Purchase)
  • Field mappings — how each property maps from your canonical event to the vendor’s format

Example for a GA4 purchase event:

Vendor FieldSourceMode
params.transaction_idproperties.transaction_iddirect
params.valueproperties.valuedirect
params.currencyproperties.currencydirect
params.itemsproperties.itemsdirect (array)

Defaults

Fallback values applied when source data is missing. For example:

  • Default currency to "GBP" if not present in the event
  • Default non_personalized_ads to false

Field Mapping Modes

Each field mapping has a mode that determines how the value is resolved:

ModeDescriptionExample
directMap directly from a source fieldproperties.valueparams.value
staticUse a fixed value"GBP"params.currency
expressionCompute using an expressionconcat(properties.first_name, " ", properties.last_name)
hashSHA-256 hash the source valueHash properties.email for Meta CAPI

Expressions support a SQL-like syntax for concatenation, conditionals, mathematical operations, and more. See Expressions for the full reference.

Adding a Second Integration (Example)

Let’s add Meta Conversions API alongside an existing GA4 integration:

  1. From the Integration Library, search for “Meta” and click Install on Meta Conversions API (CAPI).
  2. Select the Retail blueprint for pre-built e-commerce event mappings.
  3. Enter your Meta credentials:
    • Pixel ID — your Meta Pixel ID
    • Access Token — a Conversions API access token (generated in Meta Events Manager)
  4. Click Install Integration.

The Meta CAPI blueprint pre-maps events like purchase, add_to_cart, and page_view to Meta’s expected format, including SHA-256 hashing of PII fields (email, phone) as required by Meta’s API.

Each integration runs independently. The same event can be sent to GA4, Meta, TikTok, and any number of other vendors simultaneously, each with its own field mappings and transformations.

Customising Mappings After Install

After installing an integration (with or without a blueprint), you can fully customise the mappings:

  • Add new event mappings — map additional event types that aren’t in the default blueprint
  • Edit field mappings — change how fields are mapped, add new fields, or remove ones you don’t need
  • Add expressions — use computed values for fields that need transformation
  • Change defaults — override fallback values

All changes are saved as a new revision of the integration template, so you can review changes before they affect live traffic.

Custom Webhook Integration

For vendors not in the library, or for sending events to your own internal APIs, use the Custom Webhook integration:

  1. Install the Webhook integration from the Other category.
  2. Set the endpoint URL to your target API.
  3. Configure field mappings to match whatever payload format your API expects.
  4. Optionally set authentication headers (API key, Bearer token, etc.).

Next Steps

  • Going Live — Set up your production domain and launch.
  • Processing — Configure the Org Data Layer for consent, PII handling, and bot filtering.
  • Expressions — Learn the expression language for computed field mappings.
  • Event Specs — Industry-standard event schemas for e-commerce, travel, media, and more.