Skip to content

Commit f18df2d

Browse files
committed
Create index.md
1 parent df7ed7d commit f18df2d

File tree

1 file changed

+68
-0
lines changed
  • src/connections/sources/catalog/cloud-apps/dub

1 file changed

+68
-0
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
title: Dub Source
3+
---
4+
5+
[Dub](https://dub.co/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="\_blank”} is the all-in-one link attribution platform for businesses to understand how their marketing spend are converting to sales.
6+
7+
This is an [Event Cloud Source](/docs/sources/#event-cloud-sources) which can not only export data into your Segment warehouse, but can also federate the exported data into your other enabled Segment Destinations.
8+
9+
This source is maintained by Dub. For any issues with the source, [contact their Support team](mailto:[email protected]).
10+
11+
## Getting started
12+
13+
1. From your workspace's [Sources catalog page](https://app.segment.com/goto-my-workspace/sources/catalog){:target="\_blank”} click **Add Source**.
14+
2. Search for "Dub" in the Sources Catalog, select Dub, and click **Add Source**.
15+
3. On the next screen, give the Source a name configure any other settings.
16+
17+
- The name is used as a label in the Segment app, and Segment creates a related schema name in your warehouse. The name can be anything, but we recommend using something that reflects the source itself and distinguishes amongst your environments (eg. Dub_Prod, Dub_Staging, Dub_Dev).
18+
19+
4. Click **Add Source** to save your settings.
20+
5. Copy the Write key from the Segment UI. You will need to input this key on the Dub.
21+
6. Go to [Dub Segment integration](https://app.dub.co/settings/integrations/segment) page, paste the key and click "Save changes".
22+
7. Go back to Segment and navigate to your Dub source. Click **Add Destinations** to add any destinations that you want to receive Dub data.
23+
24+
## Stream
25+
26+
> (delete after reading) Clarify the type of Segment events your integration will send.
27+
28+
Dub uses our stream Source component to send Segment event data. It uses a server-side (select from `track`, `identify`, `page`, `group`) method(s) to send data to Segment. These events are then available in any destination that accepts server-side events, and available in a schema in your data warehouse, so you can query using SQL.
29+
30+
> (delete after reading) Clarify how your integration includes user identifiers in your event payloads, the example below is from Klaviyo:
31+
32+
The default behavior is for Klaviyo to pass the userId associated with the email recipient as the userId. There are cases in which Klaviyo does not have an associated userId, in which case the email address will be passed in as the anonymousId.
33+
34+
> (delete after reading) For each of the below sections, populate the event and properties that a customer would expect to receive in their downstream tools from your Event Source.
35+
36+
## Events
37+
38+
The table below lists events that Dub sends to Segment. These events appear as tables in your warehouse, and as regular events in other Destinations. Dub includes the `userId` if available.
39+
40+
| Event Name | Description |
41+
| ------------------ | ------------------------------------- |
42+
| Email Sent | Email was sent successfully |
43+
| Email Opened | Prospect opened the email |
44+
| Link Clicked | Prospect clicked the tracking link |
45+
| Email Replied | Prospect replied to email sent |
46+
| Email Bounced | Email servers rejected the email |
47+
| Email Unsubscribed | Prospect clicked the unsubscribe link |
48+
49+
## Event Properties
50+
51+
The table below list the properties included in the events listed above.
52+
53+
| Property Name | Description |
54+
| --------------- | ------------------------- |
55+
| `email_id` | ID of the email |
56+
| `from_id` | Sender email ID |
57+
| `email_subject` | Subject line of the email |
58+
| `link` | URL of the link clicked |
59+
60+
## Adding Destinations
61+
62+
Now that your Source is set up, you can connect it with Destinations.
63+
64+
Log into your downstream tools and check to see that your events appear as expected, and that they contain all of the properties you expect. If your events and properties don’t appear, check the [Event Delivery](/docs/connections/event-delivery/) tool, and refer to the Destination docs for each tool for troubleshooting.
65+
66+
If there are any issues with how the events are arriving to Segment, [contact the Dub support team](mailto:[email protected]).
67+
68+
> (delete after reading) Congratulations! 🎉 You’ve finished the documentation for your Segment integration. If there’s any additional information or nuance which did not fit in the above template and that you want to share with our mutual customers, feel free to include these as a separate section for us to review. If not, you may now submit this doc to our team.

0 commit comments

Comments
 (0)