Added user-agent to analytics model