I am trying to use FXM to track user activity and trigger events etc on a mobile app using Xamarin.
I have set FXM to the DEBUG log level and using a basic html site I can see the logs being populated with page tracking information so I have validated that FXM works in that scenario. I have also overridden the FXM tracking pipelines and beacon controller to be able to set break points and monitor the "flow" of an FXM request.
What I cannot yet do is see any of these pipelines, controller, logging etc being hit when loading the beacon on the mobile app. I am loading the beacon by adding a WebView to my layout on the android app:
And then in the html itself I have:
What's interesting is that the span with the id fxmHost is displaying the expected output of SCBeacon.fxmHost so I know that the FXM script is being loaded however no call to trackPageVisit?contactId=... or trackEvent is being registered in Sitecore, no requests from the app show up in fiddler either.
So my question(s) are:
- Does FXM need to be loaded differently within a mobile app to work?
- Has anyone managed to get FXM working on a native or otherwise mobile app
- Are there any special configurations withing Sitecore to support this?
Any help much appreciated. Unfortunately upgrading to version 9 and using xConnect is not an option at this time.