# Tracking a number for non-signed in Users

**URL:** <https://community.glideapps.com/t/tracking-a-number-for-non-signed-in-users/78948>\
**Category:** Ask for Help\
**Created:** [January 4, 2025, 12:32am UTC](https://community.glideapps.com/t/tracking-a-number-for-non-signed-in-users/78948 "2025-01-04T00:32:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Bertha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nick_bertha/32/83335_2.png) [@Nick\_Bertha](https://community.glideapps.com/u/Nick_Bertha)\
**Post date:** [January 4, 2025, 12:32am UTC](https://community.glideapps.com/t/tracking-a-number-for-non-signed-in-users/78948/1 "2025-01-04T00:32:23Z")

</div>

Hey all – first off, Glide is changing the game for me. So yay.

Here is a game I created: [Turf](https://turf-nyc.com/dl/Welcome).

In this game players get 5 chances to guess the location. This works perfect for signed in users but for non-signed in users the guess count starts at 0 and goes to negative infinity.

Any idea on how to solve this?

I have “guesses\_left” in a user-owned column that not part of the users table.

Thanks!

---

<div class="post-metadata">

**Author:** ![Nick\_Bertha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nick_bertha/32/83335_2.png) [@Nick\_Bertha](https://community.glideapps.com/u/Nick_Bertha)\
**Post date:** [January 4, 2025, 12:34am UTC](https://community.glideapps.com/t/tracking-a-number-for-non-signed-in-users/78948/2 "2025-01-04T00:34:09Z")

</div>

Here are some screen shot showing “guesses remaining” for a signed in vs not signed in user.

 ![Screenshot 2025-01-03 at 7.33.05 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/b/eb11114535aec3fa374ded541453620b53c981db.jpeg)h ![Screenshot 2025-01-03 at 7.33.15 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/d/2d81b8f551b69a88d1f2eff9e9233f2aa6eaf4f5.jpeg)

---

<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:** [January 4, 2025, 12:36am UTC](https://community.glideapps.com/t/tracking-a-number-for-non-signed-in-users/78948/3 "2025-01-04T00:36:18Z")

</div>

> [@Nick\_Bertha](#):
>
> In this game players get 5 chances to guess the location. This works perfect for signed in users but for non-signed in users the guess count starts at 0 and goes to negative infinity.

Can you show how you are calculating this?  
It should work for visitors as long as there are no page refreshes.

---

<div class="post-metadata">

**Author:** ![Nick\_Bertha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nick_bertha/32/83335_2.png) [@Nick\_Bertha](https://community.glideapps.com/u/Nick_Bertha)\
**Post date:** [January 4, 2025, 12:42am UTC](https://community.glideapps.com/t/tracking-a-number-for-non-signed-in-users/78948/4 "2025-01-04T00:42:30Z")

</div>

I have a User Column called Guesses Left that I entered 5 into. When users click submit the number is subtracted by 1. Each day the Guesses Let column is reset to 5.

My guess is that I need a different way to set the initial value for Guesses Left other than me inputting it at the start…?

 ![Screenshot 2025-01-03 at 7.40.10 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/2/12fb21c93aae8c11222eaa48443ab7b643d5356b.jpeg)  
 ![Screenshot 2025-01-03 at 7.40.26 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/7/578ec2dff2ff1a0d8bdf5e3aa98b8b42730e93b7.jpeg)  
 ![Screenshot 2025-01-03 at 7.40.33 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/0/807bc05adc548954549b7fbd55892a250c988db3.jpeg)

---

<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:** [January 4, 2025, 12:57am UTC](https://community.glideapps.com/t/tracking-a-number-for-non-signed-in-users/78948/5 "2025-01-04T00:57:04Z")

</div>

> [@Nick\_Bertha](#):
>
> I have a User Column called Guesses Left that I entered 5 into.

That’s only going to be 5 for you viewing it in the builder.  
For anyone else viewing your App it will always be empty, which is why you get a negative number when you subtract from it.

What you could do is add a “Start” button and use that to set the initial value.

However, if you’re trying to track the value per user across multiple days, then it’s still not going to work unless your visitors leave the page open permanently and never refresh it. Because every time they refresh, or close the page and open it again all user specific values will be empty - as if they are a completely new user. Which effectively they are.

---

<div class="post-metadata">

**Author:** ![Nick\_Bertha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nick_bertha/32/83335_2.png) [@Nick\_Bertha](https://community.glideapps.com/u/Nick_Bertha)\
**Post date:** [January 4, 2025, 1:03am UTC](https://community.glideapps.com/t/tracking-a-number-for-non-signed-in-users/78948/6 "2025-01-04T01:03:13Z")

</div>

Just so I’m clear – are you saying that user-specific columns clear for signed-in users whenever they refresh?

---

<div class="post-metadata">

**Author:** ![Nick\_Bertha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nick_bertha/32/83335_2.png) [@Nick\_Bertha](https://community.glideapps.com/u/Nick_Bertha)\
**Post date:** [January 4, 2025, 1:06am UTC](https://community.glideapps.com/t/tracking-a-number-for-non-signed-in-users/78948/7 "2025-01-04T01:06:09Z")

</div>

Also, could I just have everyone start at 0 then track when they get to -5, thus removing the need to set at 5 from the start?

---

<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:** [January 4, 2025, 1:17am UTC](https://community.glideapps.com/t/tracking-a-number-for-non-signed-in-users/78948/8 "2025-01-04T01:17:02Z")

</div>

> [@Nick\_Bertha](#):
>
> are you saying that user-specific columns clear for signed-in users whenever they refresh?

No, not for signed in users. For signed in users they are attached to their profile, so will be persistent - across multiple sessions and multiple devices.

But for visitors - “users” that never sign in, the values only last for a single session, and reloading/refreshing the App causes them to be cleared.

> [@Nick\_Bertha](#):
>
> lso, could I just have everyone start at 0 then track when they get to -5, thus removing the need to set at 5 from the start?

Yes, you could do that. But you’re still going to have a challenge tracking the value for visitors across multiple sessions.

---

<div class="post-metadata">

**Author:** ![Nick\_Bertha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nick_bertha/32/83335_2.png) [@Nick\_Bertha](https://community.glideapps.com/u/Nick_Bertha)\
**Post date:** [January 4, 2025, 1:39am UTC](https://community.glideapps.com/t/tracking-a-number-for-non-signed-in-users/78948/9 "2025-01-04T01:39:00Z")

</div>

Got it.

I was able to figure out a solution using absolute value (image attached).

As for tracking multiple session for non-signed in users – it’s not a priority so all good there. Thank you for your help!

 ![Screenshot 2025-01-03 at 8.38.45 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/a/ea3ae0ec99dc6ab3e40a04db395ab37203170bb3.jpeg)
