cancel
Showing results for 
Search instead for 
Did you mean: 

Import of Interaction Data Using OData Services

0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member

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

chrigu1
Participant
0 Kudos

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.

Former Member
0 Kudos

Dear Christopher,

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

WR,

Akil

chrigu1
Participant

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.

0 Kudos

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-s...

Regards,

Yue