You can use a tool like Segment to track user activity client side. With a few lines of code in your app / front end you can be sending user behavior and events to Segment via their API. No custom server side service is required.
Might be worth digging into if you are interested in better user activity tracking.