# Can we track who are the logged in user?

**URL:** <https://community.glideapps.com/t/can-we-track-who-are-the-logged-in-user/61541>\
**Category:** Ask for Help\
**Created:** [May 9, 2023, 5:52pm UTC](https://community.glideapps.com/t/can-we-track-who-are-the-logged-in-user/61541 "2023-05-09T17:52:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [May 9, 2023, 11:18pm UTC](https://community.glideapps.com/t/can-we-track-who-are-the-logged-in-user/61541/2 "2023-05-09T23:18:25Z")

</div>

If you can force users to click a button when they open the app, you can apply this:

> [@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();

Set the value of that column to a new “normal/fixed” column so that value is set in stone, and do that only when the “normal” column’s value is not standalone.

> [@Dotstory\_Admin](#):
>
> Users who wo are logged in

You won’t have a count of users who are **currently** logged in, if that’s what you are asking for. Since I see you mention the sheet of logged in details, I think you’re not asking for that log again.

---

_[View the full topic](https://community.glideapps.com/t/can-we-track-who-are-the-logged-in-user/61541)._
