I am working on a mobile application (Sitecore 9.1, JSS React Native) with a couple of pages. A page event is assigned to each of the mobile application pages. I have enabled indexing anonymous contacts and I am sending back and forth all the cookies that I receive from the layout service endpoint.

When closing the application I call abandonsession.aspx pages as described here to flush the interaction(s) to xConnect and xDB

but when I open Experience Profile the only one interaction that I see is the page visit of abandonsession.aspx, no other page visits, no page events or goals.

(I am sending the cookies to the abandonsession.aspx as well)

Am I missing something?

How should I flush my contact data to xConnect and xDB?

I assume that assigning goals and page events with JSS is the same as in a normal case scenario. Is that a correct assumption?

  • 3
    Can you try using a web browser (incognito is recommended) to directly request one of the mobile app pages via Layout Service? Then browse to the abandonsession.aspx page. Then check Experience Profile to ensure that the interaction/contact is displaying and the page event is triggered. e.g. http://my-react-native-host.com/sitecore/api/layout/render/jss?item=[page path here]&sc_apikey=[jss api key here] This will verify that requests to Layout Service are being tracked properly and help eliminate something on the Sitecore side as a potential issue.
    – Adam Weber
    Dec 14, 2018 at 17:56

1 Answer 1


Very likely this is an issue with Robot Detection. In React Native I assume you are unabvle to trigger Visitor Identification. You would either need to find a way to simulate that script in a mobile app, or potentially look at Universal Tracker as an alternative.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.