on 06-17-2021 7:57 AM
Hello community,
I'm acutally wondering about the Result Scope of a recommendation (hash).
By requesting any Recommendation results via <MarketingCloudURL>/sap/opu/odata/sap/PROD_RECO_RUNTIME_SRV/ I get a scenario hash for optimized recommendations. This hash information also contains the expiry date and a result scope.
Example:
<content type="application/xml">
<m:properties>
<d:ScenarioId>MY_OWN_RECO</d:ScenarioId>
<d:HashId>3C295048B69761E0E4592B69223B4F4A</d:HashId>
<d:ExpiresOn>2021-06-18T06:31:48.8311180</d:ExpiresOn>
<d:ResultScope>G</d:ResultScope>
</m:properties>
</content>
In all my tests the result scope was G for Generic Reco.
In the standard SAP Commerce intergration these generic recommendations are used for every customer and are displayed fo every customer.
But in our use case we using a recommendation based on "Recently Purchased Items". So it's necessary that the recommendation results are only displayed for the correct user. Therfore the result scope must be R for Restricted.
Is there any way to define the result scope of a recommendation scenario in the SAP Marketing Cloud?
I would be grateful for any help.
Best Regards
Torsten
Resolution:
Unfortunately, no further information on this topic can be found. And since it is not clear when a recommendation from the SAP Marketing Cloud is marked as Generic or Restricted, we decided to adapt the source code in SAP Commerce.
When parsing the response from the SAP Marketing Cloud, we check the Recommendation Scenario ID, and as soon as it is an ID that the shop should act as Restricted, we write an 'R' in the Result Scope.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.