# Check if the PWA is installed

**URL:** <https://community.glideapps.com/t/check-if-the-pwa-is-installed/61279>\
**Category:** Ask for Help\
**Created:** [May 2, 2023, 8:56pm UTC](https://community.glideapps.com/t/check-if-the-pwa-is-installed/61279 "2023-05-02T20:56:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [May 2, 2023, 9:02pm UTC](https://community.glideapps.com/t/check-if-the-pwa-is-installed/61279/2 "2023-05-02T21:02:44Z")

</div>

> [@Measure PWA installs](https://community.glideapps.com/t/measure-pwa-installs/58073/4):
>
> That post is almost 2 years old. We didn’t have the JavaScript column back then. Yes. In fact, simply copy/pasting that code that you linked to seems to do the trick: function getPWADisplayMode() { const isStandalone = window.matchMedia('(display-mode: standalone)').matches; if (document.referrer.startsWith('android-app://')) { return 'twa'; } else if (navigator.standalone || isStandalone) { return 'standalone'; } return 'browser'; } return getPWADisplayMode();

If you need to see the results for all users, you would need a action that writes the result returned by the JavaScript column into a non-computed column.

---

_[View the full topic](https://community.glideapps.com/t/check-if-the-pwa-is-installed/61279)._
