# Identify which user clicked on a page button

**URL:** <https://community.stackerhq.com/t/identify-which-user-clicked-on-a-page-button/532>\
**Category:** Ask the Community\
**Created:** [November 21, 2022, 8:21pm UTC](https://community.stackerhq.com/t/identify-which-user-clicked-on-a-page-button/532 "2022-11-21T20:21:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex0](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@Alex0](https://community.stackerhq.com/u/Alex0)\
**Post date:** [November 21, 2022, 8:21pm UTC](https://community.stackerhq.com/t/identify-which-user-clicked-on-a-page-button/532/1 "2022-11-21T20:21:22Z")

</div>

Context:  
I’m building a directory where users can look at other user profiles.

I want to add the functionality to connect a user with another if a user requests it.

My first approach is adding a page button named Request Intro

Issue: I can’t identify who clicks the button

Any ideas on how to identify which is the user that clicks a page button?

---

<div class="post-metadata">

**Author:** ![oli](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/oli/32/389_2.png) [@oli](https://community.stackerhq.com/u/oli)\
**Post date:** [November 22, 2022, 9:03am UTC](https://community.stackerhq.com/t/identify-which-user-clicked-on-a-page-button/532/2 "2022-11-22T09:03:26Z")

</div>

Hey @Alex0, welcome to the community!

This isn’t possible out of the box with Stacker right now, but you can add it to this feature request [here](https://stacker.canny.io/feature-requests/p/get-the-user-name-that-clicked-the-button).

What you’re trying to do may be possible with the help of PostHog, but would take a bit of work to implement. You can see a video of Ambroise demonstrating it in this [thread](https://community.stackerhq.com/t/adding-tailor-made-analytics-to-your-stacker-apps-using-posthog/501).

---

<div class="post-metadata">

**Author:** ![Ambroise](https://dub1.discourse-cdn.com/flex017/user_avatar/community.stackerhq.com/ambroise/32/431_2.png) [@Ambroise](https://community.stackerhq.com/u/Ambroise)\
**Post date:** [November 22, 2022, 10:01am UTC](https://community.stackerhq.com/t/identify-which-user-clicked-on-a-page-button/532/3 "2022-11-22T10:01:16Z")

</div>

Depending on how you want to exploit the information, PostHog might, or might not be the right solution.

For instance, if you just want analytics (who clicked on it, when, etc.), then PostHog is great.  
But, if you want to trigger another workflow then it won’t help.

But, it’s still possible to achieve workflow automation using custom JS. I would typically invoke a zapier/make/airtable webhook whenever someone clicks on the button.
