Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Multiple mbox requests on a page sending the same entity.id to Target Recommendations?

Avatar

Avatar
Validate 1
Level 2
Kirill812
Level 2

Likes

6 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
Kirill812
Level 2

Likes

6 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
Kirill812
Level 2

08-05-2020

Hi, community.

We have pages on our site which we consider as "product view" in case of being visited by a user. Those pages may send not only one "global" mbox requests, they can also send several "not global" mbox requests related to AEM target components included on the page. All mbox requests utilize the same "targetPageParams" function returning entity.id and entity.categoryId values.

 

Now the question:

If a page sends, for example, 3 mbox requests having the same entity.* values, will this fact be treated by Target as if a user has viewed this product page 3 times ?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

197 likes

Total Posts

219 posts

Correct Reply

87 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

197 likes

Total Posts

219 posts

Correct Reply

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

08-05-2020

Yes, each request that contains an entity.id will be understood by Recommendations as a view. Are you using the targetPageParams() or the targetPageParamsAll()? One only applies the global mbox request (or pageLoad request). The "all" version should apply to any request from the page including later getOffers(), or trackEvent() requests. So if you only want the entity.id, entity.categories to get passed on the global request consider moving them to the targetPageParams instead of the targetPageParamsAll.

Answers (1)

Answers (1)

Avatar

Avatar
Contributor
Level 7
Eric_Vidana
Level 7

Likes

157 likes

Total Posts

151 posts

Correct Reply

37 solutions
Top badges earned
Contributor
Shape 1
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Contributor
Level 7
Eric_Vidana
Level 7

Likes

157 likes

Total Posts

151 posts

Correct Reply

37 solutions
Top badges earned
Contributor
Shape 1
Give Back 5
Give Back 3
Give Back 25
View profile
Eric_Vidana
Level 7

12-05-2020

Agreed with @ryanr701 

 

You can also look at getOffers and only pass entity to the request that you care about:

 

adobe.target.getOffers({
  request: {
    execute: {
      mboxes: [
        {
          index: 0,
          name: "first-mbox"
        },
        {
          index: 1,
          name: "second-mbox",
          parameters: {
            a: 1
          },
          profileParameters: {
            b: 2
          }
        }
      ]
    }
  }
});

 

however, it will require you updating to the latest version of Adobe Target.