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/partners/sources.md
+22-3
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Before you begin, you need access to the Developer Portal. To access the Develop
12
12
2. Once approved, you'll receive an invitation to join the Segment Developer Portal.
13
13
3. Log in to Segment, navigate to the User dropdown in the top right of the screen, and click [**Developer Portal**](https://app.segment.com/dev-portal){:target="_blank"}.
14
14
15
-
## Build the Source
15
+
## Build the source
16
16
17
17
1. Once in the Developer Portal, navigate to **Integrations** and click **Build integration** > **Build a source**
18
18
@@ -34,7 +34,26 @@ Building your source will require defining the event data that you send to Segme
34
34
35
35
If you break the spec, you are breaking the promise of Segment, which is grounds for removal from the catalog. To learn about the semantics of the five supported API calls, and the semantic event names and properties Segment recognizes, read the [Segment Spec](/docs/connections/spec).
36
36
37
-
Within the Spec, there are a few requirements for partner Streams worth pointing out.
37
+
Within the Spec, there are a few requirements for partner Streams worth pointing out.
38
+
39
+
### Naming conventions
40
+
41
+
When you're creating events and the properties associated with them, you want to be crystal clear about the casing. This might seem nitpicky, but it's imperative in the long run. Segment recommends `Proper Case` for event names, and `snake_case` for properties. If you have platform-specific requirements that necessitate the use of different casing, it is permissible.
42
+
43
+
Here are the five most common options:
44
+
45
+
-`all lowercase` — account created
46
+
47
+
-`snake_case` — account_created
48
+
49
+
-`Proper Case` — Account Created
50
+
51
+
-`camelCase` — accountCreated
52
+
53
+
-`Sentence case` — Account created
54
+
55
+
You can read more about Segment's recommended naming conventions [here](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/){:target="_blank"}.
56
+
38
57
39
58
### `userId`
40
59
@@ -91,7 +110,7 @@ Segment offers customers the option to lead on data residency by providing [regi
91
110
- Oregon (US Default) — `api.segment.io/v1`
92
111
- Dublin — `events.eu1.segmentapis.com/`
93
112
94
-
## Test your Source
113
+
## Test your source
95
114
96
115
1. From your source's page in the Developer Portal, navigate to **Settings** > **Add to workspace**. From the dropdown, select the Segment workspace you'll use to test your source, and click **Add to workspace**. The selected workspace will open in a new tab.
0 commit comments