Skip to Content

SAP Hybris Marketing supports out of the box tracking of contact interactions from any channel. This means you can not only track outbound interactions like mail opens or clicks which are send from Hybris Marketing but also other rather inbound interactions coming from e.g. webshop, website, call center, CRM or any other front-end application.

See the picture below to get an idea how the campaign can track and control outbound interactions.

In addition it is also possible to link the Hybris Marketing internal tracking for mails with an external tracking tool e.g. on the website. To enable this we provide for each link within a mail a so-called sap-outbound-ID which can be automatically appended as parameter to the link URL (see picture below).

The sap-outbound-id parameter is a 40 char string and can be fetched by any website, shop or web analytics tool. You can add this parameter value to the session context of your webshop and later pass it back to Hybris Marketing by creating an interaction.

To attribute interactions coming from the website or shop with the campaign identifier you can do the following while creating the interaction in Hybris Marketing:

  1. Fetch the sap-outbound-id parameter (coming from the URL in the mail)
  2. Fill the field IdOrigin of the interaction with the constant ‘SAP_TRACKING_ID’
  3. Fill the ID with the value of the sap-outbound-id.

With this Hybris Marketing will automatically add the campaign information to the newly created interaction.

In summary we support the following capabilities:

  • Automatic tracking of e-mail open and clicking in the mail (no additional software needed)
  • Multiple static parameters like “utm_….” or other. This will be the same for all contacts unless you add personalization attributes
    e.g. &name=|%BO-CUAN_INTERACTION_CONTACT-COUNTRY%|
  • Multiple personal parameters personalized for each contact e.g. “?utm….&gender=male…..”.
  • Generated outbound ID which uniquely identifies the interaction, campaign & contact without disclosing personal data to the outside system.
  • Use the outbound ID to allow external tracking tools to identify contacts and campaigns which created traffic on websites
  • Usage of parameters and outbound ID for Web tracking with any kind of web analytics

Here you find more info on how to connect interaction data from front end systems like webshops.

Here you learn how to use Google Analtics together with Hybris Marketing

 

 

To report this post you need to login first.

17 Comments

You must be Logged on to comment or reply to a post.

  1. Jan Matthes Post author

    Hi Vaibhav,

    you have various options to add parameters to a link in a mail (see the screenshot below):

    1. You can add multiple static parameters like “utm_….” or other. This will be the same for all contacts unless you add personalization attributes
      (e.g. &name=|%BO-CUAN_INTERACTION_CONTACT-NAME_LAST%|)
    2. You can add multiple personal parameters like above but make them personalized for each contact e.g. “?utm….&gender=male…..”. For this you need a personalized attribute for the contact which embodies the whole URL.
    3. You can add a system generated outbound ID which uniquely identifies the interaction, campaign and contact. This can be used for tracking what acontact does after clicking the link
    4. You can also add any other personalization attribute in plain text

    Cheers
    Jan

    (1) 
    1. Vaibhav Shah

      Hi Jan Matthes,

       Thank you very much for showing how to do it. In 1602 We have developed by Enhancement same functionality at that time when we raised OSS message sap said you will see this functionality in upcoming release now we are upgrading to 1611 Verison. We are using this to get captured by Google analytics in that way we can track web visitor activities.

      Thanks a lot

      (0) 
  2. Vaibhav Shah

    Hi Jan Matthes,

    Can we enter Contact Key(GUID) personal parameters Because I m not seeing Contact Key in Parameters.if it is not available how can we enhanced to get it Please suggest

    Like below we need also need to add dynamically Campaign Parameter also how to add it  : 
    https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#google-play-url-builder

    Campaign Source
    Campaign Medium
    Campaign Term
    Campaign Content
    Campaign Name

    As a Google Policy we cannot add name , email address 
    https://support.google.com/analytics/answer/1037445
    Don’t send personally identifiable information.

    Note that the Analytics terms of service, which all Analytics customers must adhere to, prohibits sending personally identifiable information (PII) to Analytics, such as names, social security numbers, email addresses, or any similar data. Learn more about the Analytics privacy principles.

    That why we need to add Contact_Key which is not Personally identifiable by Outside word.

    thank you in advance

     

    (0) 
  3. Jan Matthes Post author

    Hi Vaibhav,

    the outbound ID providing what you are asking for to adhere to the privacy rules – so you do not need the Contact Guid. Outbound ID is uniquely identifing the outbound interaction which is created for each contact during campaign execution and it also provides the reference to the campaign itself. Furthermore you can retrieve mor details via the available interfaces. Parameters like source, medium etc should be set manually in the content.

    Cheers
    Jan
     

    (0) 
  4. Vaibhav Shah

    Hi Jan Matthes,

    Do we have any Badi available to make this parameter to default for each link in Email Content. We trained user but it is very hard for them to remember and do it everytime while preparing the Email Content. that will be more useful for us.

     

    (0) 
  5. Vaibhav Shah

    Hi Jan Matthes,

    Is any badi is available for the same purpose to add multiple personalised Parameter for Email content because it is very difficult for End user to remember this step and do it for every content they develop. if badi is there we can hard code it and system will automatically takecare while anybody click on link it will go and find target url at that time add parameter to the link.

    (0) 
  6. Jan Matthes Post author

    Hi Vaibhav,

    my proposal would be to put the link parameters into the mail template. With this users can copy and paste it in every mail. To my knowledge there is no BADI.

    Cheers

    Jan

     

     

     

     

     

    (0) 
  7. Cristina Colombo

    Dear Jan,

    You claimed that

    “You can add a system generated outbound ID which uniquely identifies the interaction, campaign and contact. This can be used for tracking what a contact does after clicking the link”.

    How can I do that IF I DO NOT HAVE Hybris Commerce?

    Thanks,

    Cristina

     

     

    (0) 
    1. Jan Matthes Post author

      Hi Cristina,

      I’m not the expert for digitial marketing and web analysis but in general I do not see any limitations to use any web analytics tool or commerce solution to analyze the outbound-ID which comes from a Hybris marketing mail (and also the other URL parameters).

      If you use the open interfaces that Hybris marketing offers you might retrieve detail contact information from Hybris Marketing and use it to enrich your web and conversion analysis.

      Cheers

      Jan

       

      (0) 
    2. Michael Rey

      Hi Cristina,

      the system generated outbound ID is a parameter that is added to the urls in emails that are being created with SAP Hybris Marketing. (see above Jan’s screenshot, the box ‘Append Outbound ID’ in the email editor needs to be checked.)

      The parameter is named sap-outbound-id and can be fetched by any commerce or web tool. (Note that we might change the name of the parameter to soid since some web tools don’t support parameters with ‘-‘, so check for soid or sap-outbound-id as parameter name).The parameter value is a 40 char string.

      You can add the parameter value to the session context of your webshop. This can be passed back to Hybris Marketing. See my answer to the question of Maris Sauka to learn how.

      Best regards

      Michael

      (0) 
  8. Maris Sauka

    Adding to what Cristina already asked – how outbound ID can be used to track unique campaign id? We want a web shop to capture the campaign id in a session and send it back with a “CHECKOUT_SUCCESS” interaction. We cannot find a way how to get in a URL dynamically current campaign id. That can be received back.

    Is it covered in hybris marketing versions since 1611?

     

    Regards,

    Maris

    (0) 
    1. Michael Rey

      Hi Maris.

      to attribute interactions in the shop or on a web page with the campaign you can do the following:

      1. Fetch the outbound ID which is a parameter of urls in emails created by Hybris Marketing (see details in my reply above)
      2. when you create an interaction in Hybris Marketing fill the fields IdOrigin with the constant ‘SAP_TRACKING_ID’ and fill the Id with the value of the sap outbound id parameter. Then we internally add to the interaction the campaign information.

      Regards

      Michael

      (1) 
  9. Jan Matthes Post author

    As said I’m not the technical expert but by using the interaction interfaces you should be able to query contact and campaign IDs. The Outbound-ID needs to be used as input to find the right interaction.

     

    (0) 
    1. Cristina Colombo

      Thanks jan. But, how can I use the Outbound Id as input to find the right interactions?  When the user does “the click”, the outbound Id is stored into CUAND_CE_IA_RT.SOURCE_OBJECT_ID. But then i do not see that that id is used in other parts. I could not execute a query in which I get shop checkout success and click through with the same source object id.

      (0) 
      1. Jan Matthes Post author

        It is getting more technical so I might not be the right contact anymore. Nevertheless: Your webshop can create a “check out success” interaction in Hybris Marketing and the interaction can not only provide the reference to the products but also by which outbound-interaction or source object ID it has been triggered

         

        (1) 

Leave a Reply