Checkout and open project with Visual Studio. For Xamarin define __MOBILE__ if not already done by your project.
Setup your environment with your credentials. Please insert your username, password and url here. For defuscation please follow our best practice documentation.
Statistics.Instance.Username = "sandbox";
Statistics.Instance.Password = "sandbox";
Statistics.Instance.ServerFilePath = "https://sandbox.vxstats.com";
This is the global context, where you are currently on in your application. Just name it easy and with logical app structure to identify where the user stays.
Statistics.Instance.Page("Main");
When you would like to request a page with dynamic content please use this function.
Statistics.Instance.Action("action", "value");
To capture ads - correspondingly the shown ad.
Statistics.Instance.Ads("campain");
To capture map shifts - correspondingly the new center.
Statistics.Instance.Move(latitude, longitude);
To capture open websites or documents including the information which page or document has been requested.
Statistics.Instance.Open("urlOrName");
To capture played files including the information which file/action has been played.
Statistics.Instance.Play("urlOrName");
To capture searches including the information for which has been searched.
Statistics.Instance.Search("search");
To capture when the device has been shaken.
Statistics.Instance.Shake();
To capture typed/touched actions.
Statistics.Instance.Touch("action");
- For applications that have been manifested for Windows 8.1 or Windows 10. Applications not manifested for Windows 8.1 or Windows 10 will return the Windows 8 OS version value (6.2). To manifest your applications for Windows 8.1 or Windows 10, refer to Targeting your application for Windows. - https://docs.microsoft.com/de-de/windows/win32/api/winnt/ns-winnt-osversioninfoexa#remarks