Skip to content

Commit 1f525be

Browse files
authored
Add traits section for insider source (#3886)
1 parent 32ee073 commit 1f525be

File tree

1 file changed

+50
-0
lines changed
  • src/connections/sources/catalog/cloud-apps/insider

1 file changed

+50
-0
lines changed

src/connections/sources/catalog/cloud-apps/insider/index.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,56 @@ The table below list the properties included in the events listed above.
7979
> info ""
8080
> Insider sends any custom event parameters you define to Segment for use in downstream tools.
8181
82+
## Traits
83+
84+
Insider is capable of sending traits associated with a user in a `track` call to Segment. The `traits` will be passed along in the [context object](docs/connections/spec/common/#context).
85+
86+
```json
87+
{
88+
"anonymousId": "c1da3de8-b4b7-4cf2-b496-6a271890ff40",
89+
"context": {
90+
"library": {
91+
"name": "Insider",
92+
"version": "1.0.0"
93+
},
94+
"traits": {
95+
"email": "f***.p***@h***.c***",
96+
"phone": "6***"
97+
}
98+
},
99+
"event": "Email Open",
100+
"integrations": {},
101+
"messageId": "api-2HgvQRYmsMWNlgqEuOKQmMWt5Wb",
102+
"originalTimestamp": "2022-11-17T21:12:00.335Z",
103+
"properties": {
104+
"campaign_id": "10305",
105+
"campaign_name": "20221117_midmonthsalethe1_cdsonp... Copy",
106+
"email": "f***.p***@h***.c***",
107+
"ip_address": "1***.2***.7***.1***",
108+
"user_agent": "Mozilla/5.0",
109+
"variation_id": "10305"
110+
},
111+
"receivedAt": "2022-11-17T21:12:03.554Z",
112+
"timestamp": "2022-11-17T21:12:00.335Z",
113+
"type": "track"
114+
}
115+
```
116+
117+
The table below list the traits that can be included in the events listed above.
118+
119+
| Attribute Name | Description |
120+
|----------------|----------------------------|
121+
| Email | User's email address |
122+
| Phone | User's phone number |
123+
| Name | User's name |
124+
| Surname | User's surname |
125+
| Age | User's age |
126+
| Country | User's country information |
127+
| City | User's city information |
128+
129+
:::info
130+
Insider can send any _default or custom user attributes_ as traits defined by user to be utilized in Segment.
131+
:::
82132

83133
## Adding Destinations
84134

0 commit comments

Comments
 (0)