# Get the count of number of clicks

**URL:** <https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204>\
**Category:** Feature Requests\
**Created:** [April 17, 2020, 8:31am UTC](https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204 "2020-04-17T08:31:21Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![chethan\_M](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chethan_m/32/2155_2.png) [@chethan\_M](https://community.glideapps.com/u/chethan_M)\
**Post date:** [April 17, 2020, 8:31am UTC](https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204/1 "2020-04-17T08:31:21Z")

</div>

Hi,

In my app I gave created users profile & users will login singing password to the app.  
There is a share button in each profile page …  
I want to keep the count of number of times the user has clicked the share button in his page.( in separate column)

How this can be achieved using glide…

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [April 17, 2020, 12:46pm UTC](https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204/2 "2020-04-17T12:46:03Z")

</div>

I believe this will work if you enable Pro and leverage Google analytics.

> [@Google Analytics is now available](https://community.glideapps.com/t/google-analytics-is-now-available/4125):
>
> Glide now supports Google Analytics for Pro apps! You can even use the spiffy new app-optimized version of Google Analytics to see where your users come from and how they use your app. Give it a try and let us know what you think. You can find the option in Settings \> General \> Integrations.

---

<div class="post-metadata">

**Author:** ![chethan\_M](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chethan_m/32/2155_2.png) [@chethan\_M](https://community.glideapps.com/u/chethan_M)\
**Post date:** [April 17, 2020, 12:52pm UTC](https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204/3 "2020-04-17T12:52:47Z")

</div>

My app is a pro app…my app contains lot of users profiles … I want tthe count of how many times a user has clicked the share button placed in his profile page as separate column in Google sheet…

---

<div class="post-metadata">

**Author:** ![iamtomgray](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/iamtomgray/32/47662_2.png) [@iamtomgray](https://community.glideapps.com/u/iamtomgray)\
**Post date:** [April 17, 2020, 12:57pm UTC](https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204/4 "2020-04-17T12:57:01Z")

</div>

Hi @chethan_M,

Thanks for writing in. If you have Google Analytics configured for you Pro app, you’ll be able to achieve this by creating “Events”. Here’s some information that might be helpful: [https://support.google.com/analytics/answer/1033068?hl=en](https://support.google.com/analytics/answer/1033068?hl=en)

We’re at your disposal should you have any further questions.

Many thanks,

Tom

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [April 17, 2020, 1:08pm UTC](https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204/5 "2020-04-17T13:08:18Z")

</div>

Not sure if this helps…this add one will let you import your Google analytics data into sheets. I haven’t done anything like this, so I’m not certain whether it would work:

[https://developers.google.com/analytics/solutions/google-analytics-spreadsheet-add-on](https://developers.google.com/analytics/solutions/google-analytics-spreadsheet-add-on)

---

<div class="post-metadata">

**Author:** ![chethan\_M](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chethan_m/32/2155_2.png) [@chethan\_M](https://community.glideapps.com/u/chethan_M)\
**Post date:** [April 17, 2020, 3:09pm UTC](https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204/6 "2020-04-17T15:09:45Z")

</div>

Ok…will try it

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [April 17, 2020, 4:33pm UTC](https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204/7 "2020-04-17T16:33:25Z")

</div>

Then let me know if it works so I can replicate this for gamification purposes! 😁

---

<div class="post-metadata">

**Author:** ![James\_Crowley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/james_crowley/32/6891_2.png) [@James\_Crowley](https://community.glideapps.com/u/James_Crowley)\
**Post date:** [May 7, 2020, 9:33am UTC](https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204/8 "2020-05-07T09:33:05Z")

</div>

@iamtomgray does this actually work though? We can see ‘click’ events being sent by Glide in Google Analytics, but there’s no meta data attached to the event to indicate what was clicked on, or the page it was on. The other events do include this, so not sure if this is a bug or a feature? 😃

---

<div class="post-metadata">

**Author:** ![iamtomgray](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/iamtomgray/32/47662_2.png) [@iamtomgray](https://community.glideapps.com/u/iamtomgray)\
**Post date:** [May 7, 2020, 10:07am UTC](https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204/9 "2020-05-07T10:07:20Z")

</div>

Hi @James_Crowley,

Thanks for writing in. I’m working on a few projects that require something similar so will give this some testing with respect to the Share Button, etc.

Hope you’re keeping healthy and well.

Many thanks!

Tom

---

<div class="post-metadata">

**Author:** ![Manuel\_Rodriguez\_do](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manuel_rodriguez_do/32/16448_2.png) [@Manuel\_Rodriguez\_do](https://community.glideapps.com/u/Manuel_Rodriguez_do)\
**Post date:** [October 18, 2020, 5:04pm UTC](https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204/10 "2020-10-18T17:04:43Z")

</div>

> [@iamtomgray](#):
>
> Share

Hey! Any news on this? Also struggling with counting the number of clicks on a button OR counting the number of time a link is open from a button

---

<div class="post-metadata">

**Author:** ![iamtomgray](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/iamtomgray/32/47662_2.png) [@iamtomgray](https://community.glideapps.com/u/iamtomgray)\
**Post date:** [October 19, 2020, 11:25am UTC](https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204/11 "2020-10-19T11:25:56Z")

</div>

Hi @Manuel_Rodriguez_do,

Hope you’re keeping well.

I am able to track button clicks if the button is a “link to screen” as I see within Google Analytics page/tab views, etc. And I’m looking into using the increment feature more as a means to count clicks (I set the visibility permissions to display components/tabs once an increment has been triggered. It’s a workaround.) Some other experts might have a little more insight on this but, hopefully, [this article](https://blog.google/products/marketingplatform/analytics/new-way-unify-app-and-website-measurement-google-analytics/) might be of some help.

Hope you’re keeping safe and well,

Tom

---

<div class="post-metadata">

**Author:** ![Manuel\_Rodriguez\_do](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manuel_rodriguez_do/32/16448_2.png) [@Manuel\_Rodriguez\_do](https://community.glideapps.com/u/Manuel_Rodriguez_do)\
**Post date:** [October 19, 2020, 3:20pm UTC](https://community.glideapps.com/t/get-the-count-of-number-of-clicks/7204/12 "2020-10-19T15:20:06Z")

</div>

Hi @iamtomgray! Thanks for replying.  
I am actually using “Open Link” and opening an outside link from Firebase storage, so haven’t found a solution that works with Google Analytics.  
I would actually prefer counting clicks directly on glide. This would be easy/easier if a button could have more than one action directly on Glide
