Multiple IDs in Criteria

Avatar

Avatar
Boost 5
Level 2
moritzh76280848
Level 2

Likes

6 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
View profile

Avatar
Boost 5
Level 2
moritzh76280848
Level 2

Likes

6 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
View profile
moritzh76280848
Level 2

22-09-2020

Good day,

 

I am using a criteria with a custom key. That works fine when passing an ID, e.g. when using "People who bought this, bought that".

 

However, it is not working when passing multiple IDs, whatever the format is. Are the recommendation logics not able to work with more than one ID? Or am I doing something wrong with the formatting of the custom key?

 

Thanks in advance. 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

202 likes

Total Posts

224 posts

Correct reply

90 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

202 likes

Total Posts

224 posts

Correct reply

90 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
ryanr701
Employee

23-09-2020

Hello @moritzh76280848,

Recommendations only supports a single key per request for item based algo types (e.g., viewed this, viewed that; viewed this, bought that; bought this, bought that). However, it has a keyless type that is meant to be based on a visitor's set of behaviors (i.e., user-based recommendations).

You could in theory make multiple requests (each with a single key) to Target to achieve a multi-key recommendation scenario and then use some client-side JS to merge the results.

Hope that helps.

Answers (0)