Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Can I retrieve User Agent on Login from Vuforia View which Device logged in something like this in Thingworx or is there some other way to get device information on Login and other cookies too?
// Get device info (User-Agent)
var userAgent = me.GetIncomingRequestHeader({name: "User-Agent"});
Hi @SS_11298241,
Not sure if this is what you want but check out this article and community post - Define functions to check the different mobile platforms
navigator.userAgent and navigator.userAgentData seem to contain the device information you want.
You can capture the data through script in Studio project and send it to ThingWorx if needed.
Best,