[Server] Updated last activity user query
[Client] Added analytics value for plugin