Skip to content

Commit 22874b6

Browse files
Apply suggestions from code review
1 parent e738e44 commit 22874b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/connections/sources/catalog/libraries/mobile/react-native/destination-plugins/survicate-react-native.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ const segmentClient = createClient({
7272
segmentClient.add({ plugin: new SurvicatePlugin() });
7373
```
7474

75-
### using the Survicate plugin
75+
### Using the Survicate plugin
7676

77-
***identify***
77+
#### Identify
7878

7979
In the SurvicateDestination plugin, the Identify event from Segment is transferred to the setUserTrait method of Survicate. This is achieved within the identify function of the SurvicateDestination class. The traits and userId from the Identify event are extracted and set as user traits in Survicate using the setUserTrait method. The traits are a dictionary where each key-value pair is set as a user trait. The userId is also set as a user trait with the key "userId".
8080

81-
***track***
81+
#### Track
8282

8383
In the SurvicateDestination plugin, the Track method from Segment is used as the invokeEvent method in Survicate. This means that when you track an event in Segment, it will be invoked in Survicate.
8484

0 commit comments

Comments
 (0)