# Number of Users for an App

**URL:** <https://community.glideapps.com/t/number-of-users-for-an-app/67322>\
**Category:** Ask for Help\
**Created:** [October 26, 2023, 8:18pm UTC](https://community.glideapps.com/t/number-of-users-for-an-app/67322 "2023-10-26T20:18:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [October 28, 2023, 2:09am UTC](https://community.glideapps.com/t/number-of-users-for-an-app/67322/4 "2023-10-28T02:09:39Z")

</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();

You can try this.

---

_[View the full topic](https://community.glideapps.com/t/number-of-users-for-an-app/67322)._
