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
+37-5Lines changed: 37 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ rewrite: true
4
4
id: 64c02312ff0ce798cc8d1a7e
5
5
---
6
6
7
-
[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. With an elegant, easy-to-use interface, Rehook is designed to help you run user-promotion campaigns that are flexible, customizable, and scalable.
7
+
[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.
8
8
9
9
10
10
Rehook maintains this destination; for any issues with the destination, [contact the Rehook Support team](mailto:[email protected]).
@@ -29,6 +29,7 @@ Rehook supports the following methods, as specified in the [Segment Spec](/docs/
29
29
30
30
Take a look at the [Identify method documentation](/docs/connections/spec/identify) to learn about what it does.
Every time you make an identify call with userId included:
43
56
1. Rehook verifies that the userId exists.
44
-
2. If the userId doesn’t 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.
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.
45
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.
46
60
47
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.
48
62
63
+
> info "How Rehook handles incoming userId and referral_code in identify call"
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.
67
+
49
68
### Track
50
69
51
70
Take a look at the [Track method documentation](/docs/connections/spec/track) to learn about what it does. An example call looks like:
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.
64
93
65
-
Be sure if you send an Identify or Track call without userId, the call will be dropped.
94
+
> info "How Rehook handles incoming userId and referral_code in track call"
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