Skip to Content
Product Information
Author's profile photo Shilpa K.Chakravarthy

[Obsolete] Mobile Engagement using SAP Hybris Marketing

Recommendation: The mobile SDK and Servlet are obsolete as of SAP Marketing Cloud 2011 release. As an alternative, you can use the new integration flows to integrate your mobile app with SAP Marketing Cloud. For more information, see Mobile App Integration with Google Firebase.

 

Starting with release 1708, we are happy to announce the availability of the mobile channel for SAP Hybris Marketing Cloud. A marketer can now create a mobile campaign in SAP Hybris Marketing Cloud system and send marketing offers and notifications to mobile devices.

The graphic below illustrates the end-to-end flow for enabling the mobile channel feature. You can create a mobile campaign in SAP Hybris Marketing Cloud system. To this campaign, you can assign an offer or a notification. The offers and notifications are sent as mobile push notifications to either Android or iOS devices. The mobile push notifications are routed via Google Firebase.

For the mobile device to connect to SAP Hybris Marketing Cloud system, you need to install the servlet and mobile SDK provided by SAP.

The mobile SDK will help you to quickly build and enhance your mobile application. Depending on the type of mobile device you use, Android or iOS, you can download the SDK from here.

Use the servlet to authenticate and transfer calls from your mobile application to SAP Hybris Marketing Cloud system. You can download the servlet from here. You need to deploy this servlet on SAP Cloud Platform. The API calls configured in the mobile application need to point to the deployed servlet.

Once you have installed and setup the Servlet and the Mobile SDK, you need to set up the communication scenarios for inbound and outbound communication. For more information, refer to the Integration guide.

You are now ready to execute the flow:

  1. Create a Mobile Campaign in SAP Hybris Marketing Cloud, using the action Mobile Push Notification. To this action, assign a notification text or an offer. For more information on how to create mobile campaigns, see here.

Note:

  • The target group can be created will all mobile device users. (Use ID_Origin as MOBILE_APP_TOKEN). This will pick all the contacts within SAP Marketing Cloud system that have installed the mobile application and registered their user on the mobile application.
  • Once the user registers on the mobile application, a call is made to SAP Hybris Marketing system to create a contact. The contact will then have the ID_Origin as MOBILE_APP_TOKEN.
  1. Once the campaign is executed, push notifications are sent to the mobile devices of the contacts – via Google Firebase.
  1. Once the users receive the notification, they can click on it to view the offer in the mobile application.

Hope you try the solution and enjoy your mobile endeavor with SAP Hybris Marketing Cloud!

Assigned tags

      24 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Krishnendu Laha
      Krishnendu Laha

       

      Exciting! Thanks for sharing.

      Author's profile photo Susheel Kumar C
      Susheel Kumar C

      Update for 1709 On Premise Release:

      You can now download the mobile SDK (iOS and Android) and servlet for 1709 release from the SAP Document Center.

      Author's profile photo Former Member
      Former Member

      Hello Shilpa, Hello Susheel,

      Does this work for Hybris Marketing 1708/1711 Cloud Edition?

      Is the servlet required? How do Push notifications work on previous versions?

      Best regards,

      Alfredo Barrientos

      Author's profile photo Susheel Kumar C
      Susheel Kumar C

      Hi Alfredo,

      Thank you for your interest in our Mobile Channel solution.

      Yes, the solution does work for both 1708 and 1711 cloud editions. Yes, the servlet is required. If you have any further questions, please feel free to connect with sreejith.govindan@sap.com.

      The 1711 version of the mobile channel solution is available with a few enhancements, more details here: https://blogs.sap.com/2017/11/02/enhancements-in-mobile-channel-with-sap-hybris-marketing-cloud/

      Best Regards,

      Susheel Kumar C

      Author's profile photo Former Member
      Former Member

      Hello,

       

      Please do subscribe to this Chanel

       

      https://www.youtube.com/channel/UCZ8mB9E5EpwxeKkTb8sanxw

      Author's profile photo SRIKAR REDDY
      SRIKAR REDDY

      Hello,

       

      We have a requirement like below

      Visitor visits the web shop which ask for permission for push notification. Than the hybris marketing sends push notifications to the browser with promo messages.

      Web push notification??? - Hybris Marketing

       

      Is it possible in hybris marketing On premise?

      If yes please help me and provide some documents

       

      Regards,

      Sri

       

       

      Author's profile photo Renjith Ramadasan
      Renjith Ramadasan

      Shilpa K.Chakravarthy , Sreejith Govindan , Susheel Kumar C

      Please, would you share the latest URL for downloading the SDK

      Author's profile photo Shilpa K.Chakravarthy
      Shilpa K.Chakravarthy
      Blog Post Author

      Hi Renjith,

      The link (click here) provided in the above blog points to various versions of SDK. You can choose the required folder depending on the release you are on. For example, if you are using SAP Marketing Cloud, the latest version is 1902. If you are using an on prem version, the latest version would be 1809. Each folder contains the Android/iOS files for SDK.

      Hope this helps.

      Thanks,
      Shilpa

       

      Author's profile photo Renjith Ramadasan
      Renjith Ramadasan

      Hi Shilpa (Shilpa K.Chakravarthy)

      Thanks a lot for your response. The link shared points to internal SAP private links which I don’t have access to. But is fine, I managed to get the access to those documents and have downloaded the SDKs and handed over to the Web Dev team.

      We face another issue now as below. Kindly advise.

      Currently, we are working on Hybrid application using Phone gap technology which is highly recommended to access native functionality via cordova/phonegap only. The SDK document shared is for native mobile application. Does Marketing Cloud support Hybrid mobile application using Phonegap/Cordova Technology?

      Thanks again.

      Regards, Renjith

       

      Author's profile photo Susheel Kumar C
      Susheel Kumar C

      Hi Renjith,

       

      Please try this link where I have provided access to "anyone with link" to access the docs folder.

      Also, for your question, I believe, Sreejith Govindan will be able to help you with an answer.

      Thank you!

       

      Regards,

      Susheel

       

      Author's profile photo Vineet Kaul
      Vineet Kaul

      Hi Shilpa K.Chakravarthy Susheel Kumar C ,

       

      We are exploring the options of Push notification in our 1709Sp01 version and the content studio seems to be limited as there is no subject field no links which we can embed the only attributes available are for contact itself, so was wondering how you are sending offers as per your blog?

      Can you please elaborate a bit on how you can do all these features from the content studio itself.

       

      Thanks

      Author's profile photo Susheel Kumar C
      Susheel Kumar C

      Hi Vineet, thank you for reaching out! I guess Sreejith Govindan will be able to help you with your query.

       

      Regards,

      Susheel

      Author's profile photo Vineet Kaul
      Vineet Kaul

      Hi Susheel Kumar C ,

       

      Thanks for your reply, I tried to reach out to Sreejith but no reply. Is it possible if you can answer the query here.

       

      Thanks

      Vineet

      Author's profile photo Sreejith Govindan
      Sreejith Govindan

      Hello Vineet Kaul ,

      Currently the content studio can be used to provide the push notification message along with the contact attributes. The offers in a mobile campaign are created separately using the Manage Offers app and then assigned in a mobile campaign. You can find more details in the below links:

      Mobile Campaigns

      Manage Offers

      Regards

      Sreejith

      Author's profile photo Juan Pisani
      Juan Pisani

      Nice post!

      Is this possible via Firebase only or can be done using third party application?

       

      Regards,

      JC

      Author's profile photo Shilpa K.Chakravarthy
      Shilpa K.Chakravarthy
      Blog Post Author

      Hi JC,

      We would recommend to use Firebase.

      Thanks,
      Shilpa

      Author's profile photo Aditya Krishan Nanda
      Aditya Krishan Nanda

      Hi Shilpa/Sreejith,

      I have a customer who has Marketing 1802 On Premises, they want this functionality. I have the following queries to start with:

      1. Will this work in Marketing On Premises?
      2. The customer already has the app. They might not go with our SDK and Cloud Platform. Will this impact the notification sending? Is it correct to assume that the SDK and the servlet is required to get offers (if required) and send interactions, not for sending notifications.

      Thanks and Regards

      Adi

      Author's profile photo Sreejith Govindan
      Sreejith Govindan

      Hello Aditya Krishan Nanda ,

      The mobile push notification functionality is available in the 1802 OnPremise. The SDK is required to be integrated with the customer mobile app for any inbound notifications (contact or interaction creation) from mobile app to marketing cloud. The SDK has wrapped the required Marketing API calls. The servlet (and hence Cloud Platform to deploy the servlet) is required for security reasons to have a trusted middleware for any calls from mobile app to marketing cloud.

      To use only the outbound notification, the SDK and Servlet is not required. For outbound notifications, the Firebase needs to be configured and integrated with SAP Marketing Cloud for sending push notifications.The document can be accessed using the link.

      Shilpa K.Chakravarthy

      Regards

      Sreejith

      Author's profile photo Aaron Chan
      Aaron Chan

      To create the interaction “Notification Viewed”:

      1. Set up the Comm Arrangement (SAP_COM_0169)
      2. Execute a Mobile Campaign
      3. Tracking URL is sent along with the push notification payload (from MC>Firebase>Mobile App)
      4. Do a GET call to the Tracking URL (with Basic Auth used in the Comm Arrangement 0169)
      5. Notification Viewed is created and is tied to the Contact and Campaign.

      (when standard SDK/servlet is not implemented)

      Author's profile photo Emre Bayiksel
      Emre Bayiksel

      Hi all,

      We have an issue with the Firebase mobile app token. We are on SAP Marketing OnPrem Version 1809 and trying to get the token from Firebase for a test contact but the token ID has a “:” in it. When we try to add this to the contact as an origin it’s not accepted by the service and we get an error. Has anyone seen this problem before?

      Thanks

      Emre

      Author's profile photo Joe Crnkovich
      Joe Crnkovich

      Hello Emre,

      The Firebase token should not include a ":". Is this still an issue for you or has it been resolved?

      Regards,

      Joe

      Author's profile photo Bhaskar Pavuluru
      Bhaskar Pavuluru

      Hi @Shilpa K.Chakravarthy,

       

      I am doing mobile app integration for push notifications and interactions capture from the mobile app.

      It is a little confused for me, in the above blog, there is SDK and servlet to connect from SMC to the mobile app. But in help documents, it is mentioned as 2008_Deprecated.
      Kindly suggest me the latest and best way to connect to the mobile app.

      We are using a hybrid app with extremepush for campaigns without connecting to SMC, do I need to take a different approach in this scenario? Please suggest.

       

      Regards,

      Bhaskar

      Author's profile photo Shilpa K.Chakravarthy
      Shilpa K.Chakravarthy
      Blog Post Author

      Hi Bhaskar,

      The mobile SDK and servlet was deprecated starting 2005. I would recommend you to use the new integration flows instead to integrate your mobile app with SAP Marketing Cloud. For more information, see Mobile App Integration with Google Firebase.

      I would also deprecate the blog shortly.

      Hope this helps.

      Thanks,
      Shilpa

       

      Author's profile photo Hybris Hybris
      Hybris Hybris

      Hi Shilpa K.Chakravarthy / @all,

      Sorry for a dumb question. But can you please help us understand what is the “mobile backend” to be used in integration of mobile apps with 2005? Is it from app codebase OR via an independently hosted service?

       

      https://help.sap.com/viewer/c14b79bd778a414688c98071c213c196/2020.YMKT/en-US/66cb3ce7b8214c119e3ac9726ca3a3b5.html

       

      Regards,

      Anurag