IntegrationsCDPRudderStack

RudderStack

If you already have a CDP, Signal can be its first-party collector. This integration forwards events from Signal into your existing RudderStack data plane so RudderStack’s destination fan-out continues unchanged, while Signal replaces the browser SDK with a first-party server-side collector on your own domain.

Signal is not a replacement for RudderStack. RudderStack remains your downstream activation and routing layer; Signal sits in front of it as the upstream first-party collector. Use this integration if you already run RudderStack and want first-party collection without disturbing existing destinations.

Why route RudderStack through Datafly Signal

  • Profiles are updated from the server, not the browser. Events reach RudderStack even when a tracker blocker or a failed page unload would have dropped a client-side call, so the profile reflects what actually happened.
  • Client IP and user agent are carried in the payload. Both are taken from the original visitor request rather than your server, which is what RudderStack needs to attribute the event to the right session.
  • One consent decision governs every destination. RudderStack is gated by the same consent state as the rest of your stack, so a withdrawal applies everywhere at once.

Prerequisites

  • A RudderStack workspace.
  • An HTTP source configured in that workspace.
  • The data plane URL for your workspace.
  • A source write key.

Get your credentials

Find your data plane URL

In the RudderStack dashboard, open Sources and select your HTTP source. The setup instructions panel lists the data plane URL — for example https://yourcompany.dataplane.rudderstack.com. Copy it.

Copy your write key

On the same source page, copy the Write Key. This is a secret — treat it like a password.

Confirm the source is enabled

Make sure the source is enabled in the RudderStack dashboard. If the source is paused, RudderStack will accept events at the HTTP API but they will not flow to downstream destinations.

Configure in Signal

Configuration fields

FieldRequiredDescription
data_plane_urlYesYour RudderStack data plane URL (e.g. https://yourcompany.dataplane.rudderstack.com).
write_keyYesThe HTTP source write key. Stored as a secret.

Management UI setup

  1. Go to Integrations > Add Integration > RudderStack.
  2. Enter your data_plane_url and write_key.
  3. Select the General preset.
  4. Choose consent categories (default: analytics).
  5. Save and enable.

Management API setup

curl -X POST https://api.example.com/v1/admin/integrations \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "source_id": "src_abc123",
    "vendor": "rudderstack",
    "name": "RudderStack Production",
    "enabled": true,
    "config": {
      "data_plane_url": "https://yourcompany.dataplane.rudderstack.com",
      "write_key": "your_write_key"
    },
    "consent_categories": ["analytics"]
  }'

API endpoint

Each call type goes to its own path of the HTTP Tracking API, authenticated with HTTP Basic (write_key:):

POST {data_plane_url}/v1/track      track events
POST {data_plane_url}/v1/page       page views
POST {data_plane_url}/v1/screen     mobile screen views (screen_view)
POST {data_plane_url}/v1/identify   identify() calls
POST {data_plane_url}/v1/group      group() calls

Every call carries userId or anonymousId, messageId (the Signal event ID, which RudderStack uses for deduplication) and timestamp; page and screen carry name, group carries groupId. Calls are limited to 32 KB each.

Presets

PresetKeyWhat it sends
GeneralgeneralEvery Signal call forwarded 1:1 to the RudderStack call of the same type, event names and properties unchanged.
RetailecommerceAs General, with Signal’s ecommerce events renamed to the Segment Ecommerce Spec V2 that RudderStack follows, so downstream destinations recognise them.

Retail: event names

Signal eventRudderStack eventNotes
searchProducts Searchedquery from search_term
view_item_listProduct List Viewedlist_id, category, products[]
select_itemProduct Clickedfirst item’s fields flat on properties
view_itemProduct Viewedfirst item’s fields flat, plus value, currency
add_to_cart / remove_from_cartProduct Added / Product Removedfirst item’s fields flat
view_cartCart Viewedproducts[]
begin_checkoutCheckout Startedvalue, currency, coupon, products[]
add_shipping_info / add_payment_infoCheckout Step Completed / Payment Info Enteredshipping_method / payment_method
purchaseOrder Completedorder_id, revenue, tax, shipping, coupon, affiliation, currency, products[]
refundOrder Refundedorder_id, total, currency, products[]
view_promotion / select_promotionPromotion Viewed / Promotion Clickedpromotion_id, name, creative, position
add_to_wishlist / remove_from_wishlistProduct Added to Wishlist / Product Removed from Wishlistfirst item’s fields flat
coupon_applied / coupon_deniedCoupon Applied / Coupon Deniedcoupon_id
product_shared / product_reviewedProduct Shared / Product Reviewed

Products map item_id to product_id and sku, item_name to name, item_category to category, item_brand to brand, item_variant to variant, index to position, with price, quantity and coupon unchanged.

Example: purchase with the Retail preset

Signal call:

datafly.track("purchase", {
  transaction_id: "ORD-001",
  value: 129.99,
  currency: "USD",
  items: [
    { item_id: "SKU-A", item_name: "Widget", price: 49.99, quantity: 2 }
  ]
});

Payload sent to {data_plane_url}/v1/track:

{
  "event": "Order Completed",
  "anonymousId": "anon_a1b2c3",
  "userId": "user_42",
  "messageId": "evt_abc123",
  "timestamp": "2026-05-12T10:00:00.000Z",
  "context": {
    "ip": "203.0.113.50",
    "userAgent": "Mozilla/5.0 ...",
    "page": { "url": "https://example.com/checkout/confirmation" }
  },
  "properties": {
    "order_id": "ORD-001",
    "revenue": 129.99,
    "currency": "USD",
    "products": [
      { "product_id": "SKU-A", "sku": "SKU-A", "name": "Widget", "price": 49.99, "quantity": 2 }
    ]
  }
}

Identity

Signal fieldRudderStack field
anonymous_idanonymousId
user_iduserId
event_idmessageId
context.ipcontext.ip
context.user_agentcontext.userAgent
context.pagecontext.page
context.campaigncontext.campaign
context.librarycontext.library

Signal generates a stable first-party anonymous_id and forwards it to RudderStack as anonymousId. When datafly.identify() is called, the same userId arrives at RudderStack on subsequent events.

identify() traits are sent as traits on the /identify call as the visitor supplied them, including email: RudderStack forwards identity to its own destinations and hashes per destination where a destination needs it. It is the only call that carries personal data; track and page calls carry no traits.

The default consent category for this integration is analytics. Events are only forwarded when the visitor has granted analytics consent.

Override the category list in the integration config if you need to gate delivery on a different category (for example advertising for marketing-focused RudderStack workspaces).

Verify

Trigger an event

Visit a page on your site with Signal and a test integration enabled, or call:

datafly.track("Test Event", { source: "signal-verify" });

Check Live Events in RudderStack

In RudderStack, open Sources > your HTTP source > Live Events. The event should appear within seconds. Confirm:

  • event name matches what Signal sent
  • anonymousId is populated
  • properties contains the expected payload

Confirm downstream delivery

Open one of your downstream destinations connected to the source. Confirm the event reached the destination — this validates that Signal-collected events fan out exactly as RudderStack’s own SDK-collected events do.

Troubleshooting

ProblemSolution
401 from RudderStackWrite key is wrong, revoked, or attached to a different source. Regenerate and update the integration config.
404 from RudderStackThe data_plane_url is wrong. Check the source setup panel in RudderStack and confirm the URL exactly.
Events accepted but not visible in Live EventsThe HTTP source is paused. Re-enable it in the RudderStack dashboard.
Events appear in RudderStack but not in a destinationIssue is downstream of Signal — check the destination configuration and transformation in the RudderStack dashboard.
userId is missingdatafly.identify() has not yet been called for the visitor. Verify identify is wired into your login / form-submit flow.

See also