# Link tracking using Construct URL

**URL:** <https://community.glideapps.com/t/link-tracking-using-construct-url/30153>\
**Category:** Ask for Help\
**Created:** [August 7, 2021, 4:24pm UTC](https://community.glideapps.com/t/link-tracking-using-construct-url/30153 "2021-08-07T16:24:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iftach](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/iftach/32/29848_2.png) [@Iftach](https://community.glideapps.com/u/Iftach)\
**Post date:** [August 7, 2021, 4:24pm UTC](https://community.glideapps.com/t/link-tracking-using-construct-url/30153/1 "2021-08-07T16:24:42Z")

</div>

Hey, I have in my app a URL column and a button linking to it, I am looking for a way to track clicks on this link using maybe a Construct URL and a third party tool to prefix the link. For example, turn “`google.com`” to “`example.com/google.com`” which “`example.com`” will be the service logging the click with current user parameters and then redirect to original link (`google.com`). Any ideas for third party service that do that dynamically? Guess maybe Google Analytics somehow, but I’m not sure.

---

<div class="post-metadata">

**Author:** ![Joe\_Gabriele](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joe_gabriele/32/57595_2.png) [@Joe\_Gabriele](https://community.glideapps.com/u/Joe_Gabriele)\
**Post date:** [August 7, 2021, 5:25pm UTC](https://community.glideapps.com/t/link-tracking-using-construct-url/30153/2 "2021-08-07T17:25:36Z")

</div>

I’m using a Zap to convert a url into a Rebrandly link, which then is added back to a URL column in my Google sheet. This however is used so I can then track clicks that occur outside of my app, not inside.

To track clicks internally you can use a custom action on the button that Increments a # of clicks column + opens external link. That way every time the button is clicked, the # increases by 1.

@Robert_Petitto provided a solution to only track unique clicks somewhere on the forum.

---

<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:** [August 7, 2021, 11:29pm UTC](https://community.glideapps.com/t/link-tracking-using-construct-url/30153/3 "2021-08-07T23:29:50Z")

</div>

Have three columns for this, a “Global clicks” column, a “Unique clicks” column and a “User click” user-specific column.

If user click is empty or user click equals 0, increment all 3 columns by 1.

If user click equals 1, increment just Global clicks and Unique clicks.
