Drip device mode

Send events to Drip using RudderStack web device mode.

RudderStack lets you send your event data to Drip via device mode, i.e. using the native web SDK.

info
For more information on sending events via device mode, refer to the RudderStack Connection Modes guide.
info
Find the open source JavaScript SDK code for this destination in the GitHub repository.

Identify

The identify method pushes the subscriber data to Drip. If the subscriber is not present in your account, RudderStack will create a new record for them. Otherwise, RudderStack updates the user records with the latest information.

info
To update a subscriber’s email address, use the new_email property.

A sample identify call is as shown:

rudderanalytics.identify(
  "6781206",
  {
    email: "sampleUser@testmail.com",
    tags: ["Customer"],
  },
  {
    externalId: [
      {
        type: "dripCampaignId",
        id: "846616660",
      },
    ],
  }
)

The following table lists the properties that RudderStack transforms and maps to Drip’s standard properties:

RudderStack Property NameDrip Standard Property
emailemail
newEmailnew_email
userId or anonymousIduser_id
tagstags
removeTagsremove_tags
prospectprospect
euConsenteu_consent
euConsentMessageeu_consent_message
info
All other fields in context.traits will be passed as custom fields.

You can subscribe a user to a Email Series Campaign by providing the associated Campaign ID. Doing so will add the subscriber directly to that email series campaign.

If you want to add a subscriber to your account without subscribing them to an email series campaign, use the identify call instead. You can also send some additional properties with the identify call. These are listed in the following table:

RudderStack Property NameDrip Standard Property
doubleOptindouble_optin

Track

When you call the track API, RudderStack sends the event to Drip along with its name and all of the specified properties. If you include revenue as a property, it will get passed to Drip as the conversion value of the event.

A sample track call is as shown:

rudderanalytics.track("randomProduct", {
  email: "sampleUser@rudderstackdrip.com",
  revenue: 100,
})

The following table lists the properties that RudderStack transforms and maps to Drip’s standard properties:

RudderStack Property NameDrip Standard Property
emailemail
revenuevalue
occurred_at or originalTimestampoccurred_at

Questions? Contact us by email or on Slack