Skip to content

Commit 7d190e6

Browse files
Merge pull request #7049 from recombee/recombee-actions
Add documentation for Recombee destination
2 parents 6719141 + a53dc06 commit 7d190e6

File tree

2 files changed

+73
-17
lines changed

2 files changed

+73
-17
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
title: Recombee Destination
3+
hidden: true
4+
id: 66f2aea175bae98028d5185a
5+
versions:
6+
- name: Recombee AI
7+
link: /docs/connections/destinations/catalog/recombee-ai
8+
---
9+
10+
{% include content/plan-grid.md name="actions" %}
11+
12+
[Recombee](https://recombee.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="_blank”} is a Recommender as a Service, offering precise content or product recommendations and personalized search based on user behavior.
13+
14+
Use this Segment destination to send your interaction data (for example, views, purchases, or plays) to Recombee.
15+
16+
This destination is maintained by Recombee. For any issues with the destination, [contact the Recombee Support team](mailto:[email protected]).
17+
18+
## Benefits of Recombee (Actions) vs Recombee AI Classic
19+
20+
The new Recombee destination built on the Segment Actions framework provides the following benefits over the classic Recombee AI destination:
21+
22+
- **Streamlined Configuration**: You can now create mappings in a dedicated tab in the Segment web app, as opposed to needing to edit this in the destination's settings. This allows you to configure the mappings on a per-event basis and makes it easier to verify that your mappings work as intended.
23+
- **Removable Bookmarks**: You can now use the [Delete Bookmark Action](#delete-bookmark) to remove the bookmark interaction from the Recombee database.
24+
25+
## Migration from the classic Recombee AI destination
26+
27+
Recombee recommends ensuring that a Recombee (Actions) destination and a classic Recombee AI destination connected to the same source are not enabled at the same time in order to prevent errors.
28+
29+
### Configuration changes
30+
31+
Recombee made the following configuration changes when setting up the new destination:
32+
33+
- Renamed the API Key setting to Private Token: This better reflects the type of token required.
34+
- **Removed the Track Events Mapping setting**: If you want to map custom events to Recombee interactions, create your own mappings on the Mappings tab in the Segment app.
35+
- **Removed the Item ID Property Name setting**: This functionality is now available in Segment's native Mappings tab. Ensure that your mappings use the desired property for the **Item ID** action field.
36+
- **In presets, the **Item ID** property is determined differently**: In the default settings, the `asset_id` property (or `sku` for Ecommerce events) is now the fallback property, instead of `name`. The `name` property is never used by default, as it may not conform to the required **Item ID** format. The property `content_asset_id` (or the first ID in `content_asset_ids`,) is now the default **Item ID** only in Video events, where they are always present.
37+
38+
## Getting started
39+
40+
1. If you don't already have one, set up a [Recombee account](https://recombee.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="_blank"}.
41+
2. From the Segment web app, navigate to **Connections > Destinations** and click **Add Destination**.
42+
3. Select **Recombee** and click **Add Destination**.
43+
4. Select an existing Source to connect to Recombee.
44+
5. Navigate to the [Recombee Admin UI](https://admin.recombee.com){:target="_blank"} and complete the following actions:
45+
- Choose the Recombee Database where you want to send the interactions.
46+
- Click **Settings** in the menu on the left.
47+
- In the **API ID & Tokens** settings section, find the **Database ID** and the **Private Token** of the Database.
48+
6. Back in the Segment app, navigate to the settings page of the Recombee destination you created.
49+
- Copy the **Database ID** from the Recombee Admin UI and paste it into the **Database ID** field in the destination settings.
50+
- Copy the **Private Token** from the Recombee Admin UI and paste it into the **Private Token** field in the destination settings.
51+
52+
Once you send the data from Segment to the Recombee destination, you can:
53+
- Open the KPI console of the [Recombee Admin UI](https://admin.recombee.com){:target="_blank"} to see the numbers of the ingested interactions (updated in realtime).
54+
- Select the ID of an Item (or User) in the Items (or Users) catalog section in the Admin UI to view a specific ingested interaction.
55+
56+
{% include components/actions-fields.html %}
57+
58+
## Reporting successful recommendations
59+
60+
You can inform Recombee that a specific interaction resulted from a successful recommendation (meaning the recommendations were presented to a user and the user clicked on one of the items) by setting the ID of the successful recommendation request in the `Recommendation ID` field of the action (this is the `recomm_id` property by default). You can read more about this setting in Recombee's [Reported Metrics documentation](https://docs.recombee.com/admin_ui.html#reported-metrics){:target="_blank"}
61+
62+
Sending the `Recommendation ID` gives you precise numbers about successful recommendations in the KPI section of the [Recombee Admin UI](https://admin.recombee.com){:target="_blank"}. This explicit feedback also helps improve the output of the recommendation models.

src/connections/destinations/catalog/recombee-ai/index.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,38 @@
11
---
22
title: Recombee AI Destination
33
rewrite: true
4+
maintenance: true
5+
maintenance-content: This destination is no longer available in the Segment catalog, but will remain active in workspaces where it has already been configured. Recombee has developed an updated destination built on the Actions framework. See [Recombee Destination](/docs/connections/destinations/catalog/actions-recombee/) for more information.
46
hide-settings: true
57
hide-personas-partial: true
68
id: 6095391bd839b62fca8a8606
9+
versions:
10+
- name: Recombee (Actions)
11+
link: /docs/connections/destinations/catalog/actions-recombee
712
---
8-
[Recombee](https://recombee.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="_blank”} is a Recommender as a Service, that can use your data to provide the most accurate recommendations of content or products for your users.
913

10-
Use this Segment destination to send your interaction data views, purchases, plays, etc.) to Recombee.
11-
12-
This destination is maintained by Recombee. For any issues with the destination, [contact the Recombee Support team](mailto:[email protected]).
13-
14-
> note "Note:"
15-
> The Recombee Destination is currently in beta, which means that they are still actively developing the destination. If you have any feedback to help improve the Recombee Destination and its documentation, [contact the Recombee support team](mailto:[email protected])!
14+
[Recombee](https://recombee.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="_blank”} is a Recommender as a Service that can use your data to provide the most accurate recommendations of content or products for your users.
1615

16+
Use this Segment destination to send your interaction data, like views, purchases, or plays, to Recombee.
1717

1818
## Getting Started
1919

20-
21-
2220
1. If you don't already have one, set up a [Recombee account](https://recombee.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="_blank"}.
2321
1. From the Destinations catalog page in the Segment App, click **Add Destination**.
2422
2. Search for "Recombee" in the Destinations Catalog, and select the Recombee destination.
2523
3. Choose which Source should send data to the Recombee destination.
2624
4. Go to the [Recombee Admin UI](https://admin.recombee.com){:target="_blank"}:
2725
- Choose the Recombee Database where you want to send the interactions.
2826
- Click **Settings** in the menu on the left.
29-
- In the **Settings** section find the **API Identifier** of the Database and its corresponding **Private Token**
27+
- In the **Settings** section find the **Database ID** and the **Private Token** of the Database.
3028
5. Back in the Segment web app, go to the Recombee destination settings.
31-
- Paste the **API Identifier** you just copied in the **Database ID** field.
29+
- Paste the **Database ID** you just copied in the **Database ID** field.
3230
- Paste the **Private Token** you just copied in the **API Key** field.
3331

3432
Once you send the data from Segment to the Recombee destination you can:
3533
- Go to the KPI console of the [Recombee Admin UI](https://admin.recombee.com){:target="_blank"} to see the numbers of the ingested interactions (updated in Real-time)
3634
- Click the ID of an Item, User in Items, or section in the Users catalog to see a specific ingested interaction.
3735

38-
3936
## Page
4037

4138
If you aren't familiar with the Segment Spec, take a look at the [Page method documentation](/docs/connections/spec/page/) to learn about what it does. An example call would look like:
@@ -46,7 +43,6 @@ analytics.page()
4643

4744
Segment sends Page calls to Recombee as a [Detail View](https://docs.recombee.com/api.html#add-detail-view){:target="_blank"}.
4845

49-
5046
## Track
5147

5248
If you aren't familiar with the Segment Spec, take a look at the [Track method documentation](/docs/connections/spec/track/) to learn about what it does. An example call would look like:
@@ -62,6 +58,7 @@ analytics.track('Video Content Playing', {
6258
```
6359

6460
#### Sending semantic spec events to Recombee
61+
6562
Recombee Destination can process several [Semantic Events](/docs/connections/spec/semantic/):
6663

6764
[Ecommerce](/docs/connections/spec/ecommerce/v2/):
@@ -91,7 +88,6 @@ If you aren't familiar with the Segment Spec, take a look at the [Screen method
9188
9289
Segment sends Screen calls to Recombee as a [Detail View](https://docs.recombee.com/api.html#add-detail-view){:target="_blank"}.
9390
94-
9591
## Alias
9692
9793
If you aren't familiar with the Segment Spec, take a look at the [Alias method documentation](/docs/connections/spec/alias/) to learn about what it does. An example call would look like:
@@ -108,8 +104,8 @@ Segment sends a [Delete User](https://docs.recombee.com/api.html#delete-user){:t
108104
All the data associated with the user (including interactions) are removed from Recombee.
109105

110106
## Reporting successful recommendations
111-
You can tell Recombee that a specific interaction is based on a successful recommendation (meaning that the recommendations were presented to a user, and the user clicked one of the items), by setting the ID of the successful recommendation request on the `recomm_id` property of a Segment event. You can read more about this setting in [Recombee's Reported Metrics documentations](https://docs.recombee.com/admin_ui.html#reported-metrics){:target="_blank"}
112107

108+
You can tell Recombee that a specific interaction is based on a successful recommendation (meaning that the recommendations were presented to a user, and the user clicked one of the items), by setting the ID of the successful recommendation request on the `recomm_id` property of a Segment event. You can read more about this setting in [Recombee's Reported Metrics documentations](https://docs.recombee.com/admin_ui.html#reported-metrics){:target="_blank"}
113109

114110
Recombee recognizes the `recomm_id` property in all the events that send interactions.
115111

@@ -140,7 +136,6 @@ If you don't provide an **Item ID Property Name**:
140136
- `content_asset_id` or `asset_id` is used for [Video Events](/docs/connections/spec/video/).
141137
- `name` property is used if it exists.
142138

143-
144139
### Track Events Mapping (Optional)
145140

146141
Recombee can automatically handle different [Ecommerce Events](/docs/connections/spec/ecommerce/v2/) and [Video Events](/docs/connections/spec/video/) in the *Track* call type (see the [Track section](#track)).
@@ -158,7 +153,6 @@ The value of the mapping is the name of your event, and the key can be one of:
158153
- [View Portion](https://docs.recombee.com/api.html#set-view-portion){:target="_blank"}
159154
- the portion (how much of the content was consumed by the user) is computed from the `position` and `total_length` properties (see [Content Event Object](/docs/connections/spec/video/#content-event-object)), or can be given as the `portion` property (a number between 0 and 1).
160155

161-
162156
### API URI (Optional)
163157

164158
Specify the URI of the Recombee API to use. Omit the protocol. For example, `rapi.recombee.com`.

0 commit comments

Comments
 (0)