Javascript to check if PWA or Mobile Web
If this is for analytical purposes you could set the start URL in the manifest file to include a query string parameter, ex: “start_url”: “./?mode=standalone” Then in your JavaScript you are able to check for this query string parameter. Update (2020-08-19) Pete LePage wrote a blog on how to setup a custom dimension in Google … Read more