-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get OS and Version #77
Comments
Of course it is, but I assume you want the visitor's user agent? In Express you could use something like this:
|
We are developing an electron app so the user-agent should be always the same or am I wrong? |
I wasn't aware you're talking about an Electron app. I'm not sure if the UA should always be the same. I'm not sure if You should know best how to access Electron's User Agent from within the app. You can directly pass that to the |
Hello, I am facing a similar problem. I want to set the userAgent in a way that GA will extract OS and Browser from it. @SimonHausdorf when I try to use your version all ua traffic is mapped to the browser field. Did you get this working? Thanks |
Is there a solution to get the OS and Version tracked in UA?
Would this be an option?
visitor.set('ua', process.platform +' '+ require('os').release());
The text was updated successfully, but these errors were encountered: