Skip to content

Commit ea497b1

Browse files
committed
Add Rehook Destination Docs
1 parent 2bde87a commit ea497b1

File tree

1 file changed

+17
-19
lines changed
  • src/connections/destinations/catalog/rehook

1 file changed

+17
-19
lines changed

src/connections/destinations/catalog/rehook/index.md

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,10 @@ id: 64c02312ff0ce798cc8d1a7e
88

99
[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.
1010

11-
1211
Rehook maintains this destination; for any issues with the destination, [contact the Rehook Support team](mailto:[email protected]).
1312

1413

15-
## Getting Started
16-
17-
14+
## Getting started
1815

1916
1. From the Destinations catalog page in the Segment App, click **Add Destination**.
2017
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
2522

2623
## Supported methods
2724

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.
2926

3027
### Identify
3128

@@ -54,18 +51,19 @@ analytics.identify('userId12345', {
5451
});
5552
```
5653

57-
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.
6260

6361
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.
6462

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.
6967
7068
### Track
7169

@@ -91,11 +89,11 @@ analytics.track('signup', {
9189
});
9290
```
9391

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.
9593

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.
10098
10199
{% include components/actions-fields.html %}

0 commit comments

Comments
 (0)