You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/cloud-apps/dub/index.md
+11-25Lines changed: 11 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,51 +18,37 @@ This source is maintained by Dub. For any issues with the source, [contact their
18
18
19
19
4. Click **Add Source** to save your settings.
20
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".
21
+
6. Go to [Dub Segment integration](https://app.dub.co/settings/integrations/segment) page, paste the key and click **Save changes**.
22
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
23
24
24
## Stream
25
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.
26
+
Dub uses our stream Source component to send Segment event data. It uses a server-side `track` method 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
27
30
28
> (delete after reading) Clarify how your integration includes user identifiers in your event payloads, the example below is from Klaviyo:
31
29
32
30
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
31
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
32
## Events
37
33
38
34
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.
| Link Clicked | Someone clicked your short link |
39
+
| Lead Created | A lead event was created |
40
+
| Sale Created | A sale event was created |
48
41
49
-
## Event Properties
42
+
The event names "Lead Created" and "Sale Created" may differ based on what event name you're sending to Dub.
50
43
51
-
The table below list the properties included in the events listed above.
44
+
## Event Properties
52
45
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 |
46
+
You can refer to Dub's [Event Types](https://dub.co/docs/concepts/webhooks/event-types){:target="\_blank”} documentation to determine which attributes Dub forward to Segment.
59
47
60
48
## Adding Destinations
61
49
62
50
Now that your Source is set up, you can connect it with Destinations.
63
51
64
52
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
53
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.
54
+
If there are any issues with how the events are arriving to Segment, [contact the Dub support team](mailto:[email protected]).
0 commit comments