# Actions for Choice components?

**URL:** <https://community.glideapps.com/t/actions-for-choice-components/62714>\
**Category:** Ask for Help\
**Created:** [June 13, 2023, 12:12pm UTC](https://community.glideapps.com/t/actions-for-choice-components/62714 "2023-06-13T12:12:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cloudlee](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@cloudlee](https://community.glideapps.com/u/cloudlee)\
**Post date:** [June 13, 2023, 12:12pm UTC](https://community.glideapps.com/t/actions-for-choice-components/62714/1 "2023-06-13T12:12:41Z")

</div>

Is there a way I can add a custom GTM tag to a choice buttons?  
I want to know what button is clicked.

---

<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:** [June 13, 2023, 12:27pm UTC](https://community.glideapps.com/t/actions-for-choice-components/62714/2 "2023-06-13T12:27:42Z")

</div>

No, unfortunately you can’t assign actions to choice components.  
If the choice is part of a form, you might be able to use an onSubmit action to send a GTM event with the state of the choice when the form is submitted. I haven’t tested that, so I’m not 100% sure it would work.

---

<div class="post-metadata">

**Author:** ![cloudlee](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@cloudlee](https://community.glideapps.com/u/cloudlee)\
**Post date:** [June 13, 2023, 12:54pm UTC](https://community.glideapps.com/t/actions-for-choice-components/62714/3 "2023-06-13T12:54:28Z")

</div>

Hi @Darren_Murphy.  
I’m using the choice components as a filter for my search.  
I think that means the tracking is not possible.

---

<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:** [June 13, 2023, 1:20pm UTC](https://community.glideapps.com/t/actions-for-choice-components/62714/4 "2023-06-13T13:20:23Z")

</div>

No, I’m afraid not in that case.
