Skip to Content
0

Import of Interaction Data Using OData Services

Jun 27, 2017 at 01:31 PM

126

avatar image

Dear Community,

what is the correct way to create interactions coming from yCommerce (anonymous user) in yMkt. According to this guideline the ID_ORIGIN should be 'ANONYMOUS' and IS_ANONYMOUS_USER indicator should be 'X'. We are struggling a bit, why ID_ORIGIN has to be 'ANONYMOUS' and not 'SAP_HYBRIS_CONSUMER' because the origin is known, but not the ID.

If we do so --> ID_ORIGIN = 'SAP_HYBRIS_CONSUMER'; IS_ANONYMOUS_USER = 'X' we get the following error

Does yCommerce has always to use ID_ORIGIN = 'ANONYMOUS' in case the customer is unknown?

BR,

Frank

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Komur Akil Jun 28, 2017 at 03:03 AM
1

Dear Frank,

When defining Origins of Contact ID, typically SAP_HYBRIS_CONSUMER will not have an anonymous flag set. This way for anonymous users, you cannot use this Origin ID.

Depending on your Hybris Commerce integration method (we use Data Hub for web actions for anonymous users) the data you receive for anonymous users might differ. The source system could be used to determine where an interaction originates from using the following fields:

SOURCE_SYSTEM_TYPE, SOURCE_SYSTEM_ID

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi Komur,

thanks for your reply. We are integrating yMkt and yCommerce via Expressway. The JSON request we are receiving from yCommerce looks as following:

{
 "Id" : "B17096FE1FDB8507FA9F2E2FB69D17C0",
 "SourceSystemType" : "COM",
 "SourceSystemId" : "SAP_MERCH_SHOP",
 "Interactions" : [
 {
 "Key" : "admin apparel-de",
 "CommunicationMedium" : "ONLINE_SHOP",
 "ContactId" : "anonymous",
 "ContactIdOrigin" : "SAP_HYBRIS_CONSUMER",
 "ContentTitle" : "admin apparel-de",
 "InteractionType" : "SHOP_CART_ABANDONED",
 "IsAnonymous" : true,
 "SourceObjectId" : "admin apparel-de",
 "SourceSystemId" : "SAP_MERCH_SHOP",
 "SourceSystemType" : "COM",
 "Timestamp" : "/Date(1498722790525)/",
 "Amount" : "0.0",
 "Currency" : "EUR",
 "Products" : [
] }, ...

Would you know how I can get the Expressway integration to pass "ContactIdOrigin" = "ANONYMOUS" in that case?

Regards Christopher.

0
Christopher Günther

Dear Christopher,

We are using the DataHub for the connection between yMKT and yCOM, so I don't have expereince with Expressway.

WR,

Akil

0

Hi Akil,

I contacted the developers from Expressway and they informed me that this is currently a bug that will be fixed. I assume a new Expressway release will eventually be found here.

Regards,

Christopher.

1
Yue Wang
Jul 04, 2017 at 01:50 PM
0

Hi Frank,

Maybe you already know this, Jonathan Schlotz writes a good overview of ID Origin fields.

https://blogs.sap.com/2016/10/17/main-id-origin-customizing-settings-contacts-sap-s4hana-marketing-sap-hybris-marketing/

Regards,

Yue

Share
10 |10000 characters needed characters left characters exceeded