# 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:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dotstory\_Admin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dotstory_admin/32/46941_2.png) [@Dotstory\_Admin](https://community.glideapps.com/u/Dotstory_Admin)
#### Post date: [May 9, 2023, 5:52pm UTC](https://community.glideapps.com/t/can-we-track-who-are-the-logged-in-user/61541/1 "2023-05-09T17:52:31Z")

</div>

Hi, Like i show a shee is created where we see the logged in details. But I want to know:

1 - User’s who have downloaded the app  
2 - Users who wo are logged in

---

<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.

---

<div class="post-metadata">

### Author: ![Dotstory\_Admin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dotstory_admin/32/46941_2.png) [@Dotstory\_Admin](https://community.glideapps.com/u/Dotstory_Admin)
#### Post date: [May 12, 2023, 9:43am UTC](https://community.glideapps.com/t/can-we-track-who-are-the-logged-in-user/61541/3 "2023-05-12T09:43:09Z")

</div>

Thanks for the help mate 🙂
