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/destinations/catalog/rehook/index.md
+17-19Lines changed: 17 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,10 @@ id: 64c02312ff0ce798cc8d1a7e
8
8
9
9
[Rehook](https://rehook.ai/){:target="_blank"} is a powerful and dedicated user-incentivization solution that enables businesses to reward and engage users without any dependency on tech teams. With an elegant and easy-to-use interface, Rehook is designed to help you run user-promotion campaigns that are flexible, customizable and scalable.
10
10
11
-
12
11
Rehook maintains this destination; for any issues with the destination, [contact the Rehook Support team](mailto:[email protected]).
13
12
14
13
15
-
## Getting Started
16
-
17
-
14
+
## Getting started
18
15
19
16
1. From the Destinations catalog page in the Segment App, click **Add Destination**.
20
17
2. Search for **Rehook** in the Destinations Catalog, and select the **Rehook** destination.
@@ -25,7 +22,7 @@ Rehook maintains this destination; for any issues with the destination, [contact
25
22
26
23
## Supported methods
27
24
28
-
Rehook's destination is designed to support the following methods, as specified in the [Segment Spec](/docs/connections/spec). Note that because this is an Actions Destination, you will also have the capability to map other Segment methods if neccessary.
25
+
Rehook's destination is designed to support the following methods, as specified in the [Segment Spec](/docs/connections/spec). Because this is an Actions Destination, you will also have the capability to map other Segment methods if neccessary.
Every time you make an identify call with userId included:
58
-
1. Rehook verifies that the userId exists.
59
-
2. If the userId does not exist, Rehook adds the user as a Customer to the Rehook database and matches user properties with the Segment `traits` sent in the identify call payload.
60
-
3. If the userId exists, Rehook updates the user properties for the Customer against the Segment `traits` sent in the identify call payload.
61
-
4. If referral_code is unique, Rehook updates the user properties in its database.
54
+
Every time you make an Identify call with `userId` included:
55
+
56
+
1. Rehook verifies that the `userId` exists.
57
+
2. If the `userId` does not exist, Rehook adds the user as a Customer to the Rehook database and matches user properties with the Segment `traits` sent in the Identify call payload.
58
+
3. If the `userId` exists, Rehook updates the user properties for the Customer against the Segment `traits` sent in the Identify call payload.
59
+
4. If `referral_code` is unique, Rehook updates the user properties in its database.
62
60
63
61
All the [special traits](/docs/connections/spec/identify#traits) recognized by Segment are translated and matched with the Rehook user properties for a Customer. These fields are automatically created or mapped for a Customer in Rehook and are available for personalization and advance segmentation.
64
62
65
-
> info "How Rehook handles incoming userId and referral_code in identify call"
66
-
> * The userId field is required. Rehook drops identify calls without a userId.
67
-
> * If a call is made with anonymousID, Rehook drops the identify call.
68
-
> * If referral_code matches with another userId, Rehook drops the identify call.
63
+
> info "How Rehook handles incoming userId and referral_code in Identify calls"
64
+
> * The `userId` field is required. Rehook drops identify calls without a userId.
65
+
> * If a call is made with `anonymousID`, Rehook drops the Identify call.
66
+
> * If `referral_code` matches with another `userId`, Rehook drops the Identify call.
69
67
70
68
### Track
71
69
@@ -91,11 +89,11 @@ analytics.track('signup', {
91
89
});
92
90
```
93
91
94
-
Segment sends `Track` calls to Rehook as a Custom Event. When you call the track, Segment sends the event to Rehook with the event name and all properties that you specified.
92
+
Segment sends Track calls to Rehook as a Custom Event. When you make a Track call, Segment sends the event to Rehook with the event name and all properties that you specified.
95
93
96
-
> info "How Rehook handles incoming userId and referral_code in track call"
97
-
> * The userId field is required. Rehook drops track calls without a userId.
98
-
> * If a call is made with anonymousId, Rehook drops the track call.
99
-
> * The referral_code field is required, if event name is set as a conversion event on Rehook.
94
+
> info "How Rehook handles incoming userId and referral_code in Track calls"
95
+
> * The `userId` field is required. Rehook drops track calls without a `userId`.
96
+
> * If a call is made with `anonymousId`, Rehook drops the track call.
97
+
> * The `referral_code` field is required, if event name is set as a conversion event on Rehook.
0 commit comments