cancel
Showing results for 
Search instead for 
Did you mean: 

ID_ORIGIN is not contains when user clicks from email with SAP_TRACKING_ID

shabakov
Participant
0 Kudos

Hello,

We have Hybris Commerce 6.5 and Hybris Marketing 1709. When we had updated yMKT to SP01, we got problem with email tracking.

When customer clicks on a link from e-mail, he enters the website with SOURCE_OBJECT_TYPE: SAP_TRACKING_ID, and empty ID_ORIGIN. System doesn't save his interactions, because ID_ORIGIN is a mandatory field.

In another scenarios (when user enters not from e-mail) everything is OK with ID_ORIGIN: SAP_HYBRIS_CONSUMER or COOKIE_ID for anonymous users.

What can we do to solve this problem and start receiving data from clicks?
Also which side we need to solve it from: Commerce or Marketing?

Accepted Solutions (0)

Answers (2)

Answers (2)

vervinckt_joyca
Active Contributor

Hi,

I don't know how to make hybris commerce do this, but in an integration with a website we use the following bit of odata to trigger an unsubscribe. The Origin is SAP_TRACKING_ID and the id is the sap-outbound-id from the url.

As the sap-outbound-id is already linked to a unique customer in hybris marketing (and to a campaign), you don't need e.g. SAP_HYBRIS_CONSUMER id, if hybris marketing receives the underneath interaction with the SAP_TRACKING_ID it will know which customer it is and also from which campaign he clicked through.

"Interactions": [{

"CommunicationMedium": "WEB", "ContactId": "739C0A8259C2CF51D723AD2A526A28A28AA2E93B", * comes from the url parameter sap-outbound-id "ContactIdOrigin": "SAP_TRACKING_ID",

"InteractionType": "MKT_PERM_OPTOUT",

"MarketingPermissionCommunicationMedium": "EMAIL",

"Timestamp": "2018-01-05T12:00"

} ]


Hope this can help,

Joyca

shabakov
Participant
0 Kudos

Joyca, thank you!

It looks like we need to solve it by Commerce. But the integration guide has only 2 properties for the connection between Commerce and Marketing and we added them.

It's very strange if there no out of the box solution for sap-outbound-id as Origin_ID.

Kunal_Bansal
Active Contributor

Dear Konstantin,

Capturing Interactions with SAP_TRACKING_ID is not possible in Hybris Marketing as ID_ORIGIN is not mapped.

While SAP_HYBRIS_CONSUMER maps to field ID_ORGIN in yMkt.

Best Regards,

Kunal

shabakov
Participant
0 Kudos

Are you sure?

Without capturing interactions with SAP_TRACKING_ID campaign triggers (like view product after click) can’t work. It doesn’t look like non-default solution because after clicks we lose all the new data.

It seems like problem with ID_Origin by Commerce side (why without SAP_TRACKING_ID it’s work right?) or trouble with Marketing.