What UserAgent is used by Hosted Web Apps created by Windows App Studio? -
i have created hosted web app using windows app studio. in order track it's usage in google analytics, need know useragent agent hosted web app uses. know?
hosted web apps use webview control (with restictions) in order show web content within app. can track request becoming hosted web app when user agent contains "msapphost" in it:
"mozilla/5.0 (windows nt 10.0; win64; x64; msapphost/3.0) applewebkit/537.36 (khtml, gecko) chrome/46.0.2486.0 safari/537.36 edge/13.10586"
here have more details: https://msdn.microsoft.com/en-us/library/hh869301(v=vs.85).aspx
Comments
Post a Comment