Widgets communicating to a server

I’m sure I could have posted this in a better category, but here’s something i’m working on.

I’m trying to build an app using blueprint widgets.
I would like to have each users app communicate to a central server to simply report if the app is open on the users phone and also report when the app is terminated.

Is there a possible solution to this that would be easy enough to implement.

Thanks in advance for any help.

We use Game Analytics for this kind of thing.