It depends of what kind of data you want to collect. If you need to send data to your application, you’ll need the SDK JS and Unity. (Unreal is still in developement).
On the server your application has internet access, so you can integrate analytics in your app without any trouble.