Skip to content

Latest commit

 

History

History
95 lines (81 loc) · 2.58 KB

File metadata and controls

95 lines (81 loc) · 2.58 KB

TECHNICAL PREVIEW

Preparation

Checkout and open project with Visual Studio. For Xamarin define __MOBILE__ if not already done by your project.

Setup

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";

Page

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");

Event

When you would like to request a page with dynamic content please use this function.

Statistics.Instance.Action("action", "value");

Ads

To capture ads - correspondingly the shown ad.

Statistics.Instance.Ads("campain");

Move

To capture map shifts - correspondingly the new center.

Statistics.Instance.Move(latitude, longitude);

Open

To capture open websites or documents including the information which page or document has been requested.

Statistics.Instance.Open("urlOrName");

Play

To capture played files including the information which file/action has been played.

Statistics.Instance.Play("urlOrName");

Search

To capture searches including the information for which has been searched.

Statistics.Instance.Search("search");

Shake

To capture when the device has been shaken.

Statistics.Instance.Shake();

Touch

To capture typed/touched actions.

Statistics.Instance.Touch("action");

Compatiblity

Android

iOS

Windows

Known Issues

Windows

  1. 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