Freshpaint
Search
⌃K
Links

Drift

​Drift is a platform that uses conversational marketing and sales to help your company grow revenue. Sales and marketing teams can be further aligned on Drift to create a coordinated customer experience.
Freshpaint allows you to identify users and track their interactions with your site. This can provide you valuable insights on your customers.

Destination Information

Client-side
Server-side
Web
Mobile
Server

Getting Started

  1. 1.
    Navigate to the Drift destination configuration and click "Configure".
  2. 2.
    Configure your Drift token. You can find this by going to Settings > App Settings > Drift Widget > Install > Javascript and selecting the token in quotes in the Drift.load() call:
3. That's it! You should now see the enabled status next to Drift.

Identify

Once your integration is set up correctly, you should set up identify calls. This will help you gather important information about your users such as their phone number and user id.
When you call freshpaint.identify(), Freshpaint will create or update a user by calling Drift's identify method which calls Drift's identify api endpoint at: https://event.api.drift.com/identify. Read more about user identification in Drift here.
Here is an example of an identify call:
freshpaint.identify("[email protected]", {
/* user properties */
"email": "[email protected]",
"name": "Ada Lovelace",
"role": "mathematician",
"specialty": "computer languages"
});
You can find your contacts in Drift under Visitors > Contacts:

Events

When you send an event to Drift, Freshpaint will call their track method which calls their event API endpoint at: https://event.api.drift.com/track in order to create a new event.

Seeing Freshpaint Events in Drift

Once the Drift integration is enabled, you can now set it as an event destination in the event definition in order to start sending events to Drift:
You can view the events associated with each contact by clicking on the contact profile and viewing their Activity Timeline.

Pageview Events

Freshpaint will automatically send all pageview events to Drift by using by calling the same Drift track method for events. You'll see them in the Activity timeline for the identified user.

Configuration Options

Event Transformations

Set up transformations to modify your data before it's sent to your destination. Read more about transformations here.

Connection Mode Settings

Only client-side connection mode is available for this destination. Events originating from the user's web browser will be sent directly to Drift.