-
Notifications
You must be signed in to change notification settings - Fork 393
Add Dub source #7379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add Dub source #7379
Changes from 2 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
f18df2d
Create index.md
devkiran 4a1ae17
Update index.md
devkiran f93242f
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran 65fc302
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran 514ee44
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran fd1e9e4
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran 7cf4ea3
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran 849ab0e
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran 2d5092a
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran ef44971
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran 03c8d88
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran d19fd62
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran a0e09fc
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran 7bd3e2d
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran 796bb8d
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran 416b081
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran 181f3ce
Update src/connections/sources/catalog/cloud-apps/dub/index.md
devkiran 12b14e9
added source id
stayseesong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
title: Dub Source | ||
--- | ||
|
||
[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. | ||
|
||
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. | ||
|
||
This source is maintained by Dub. For any issues with the source, [contact their Support team](mailto:[email protected]). | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
## Getting started | ||
|
||
1. From your workspace's [Sources catalog page](https://app.segment.com/goto-my-workspace/sources/catalog){:target="\_blank”} click **Add Source**. | ||
2. Search for "Dub" in the Sources Catalog, select Dub, and click **Add Source**. | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
3. On the next screen, give the Source a name configure any other settings. | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
- 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). | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
4. Click **Add Source** to save your settings. | ||
5. Copy the Write key from the Segment UI. You will need to input this key on the Dub. | ||
6. Go to [Dub Segment integration](https://app.dub.co/settings/integrations/segment) page, paste the key and click **Save changes**. | ||
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. | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
## Stream | ||
|
||
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. | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
> (delete after reading) Clarify how your integration includes user identifiers in your event payloads, the example below is from Klaviyo: | ||
|
||
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. | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
## Events | ||
|
||
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. | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
| Event Name | Description | | ||
| ------------ | ------------------------------- | | ||
| Link Clicked | Someone clicked your short link | | ||
| Lead Created | A lead event was created | | ||
| Sale Created | A sale event was created | | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
The event names "Lead Created" and "Sale Created" may differ based on what event name you're sending to Dub. | ||
|
||
## Event Properties | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
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. | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
## Adding Destinations | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
Now that your Source is set up, you can connect it with Destinations. | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
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. | ||
devkiran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
If there are any issues with how the events are arriving to Segment, [contact the Dub support team](mailto:[email protected]). |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.