# Can't get trigger conditions to work for the whole element

**URL:** <https://community.piwik.pro/t/cant-get-trigger-conditions-to-work-for-the-whole-element/3824>\
**Category:** Data collection and tags\
**Created:** [March 21, 2024, 7:32am UTC](https://community.piwik.pro/t/cant-get-trigger-conditions-to-work-for-the-whole-element/3824 "2024-03-21T07:32:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertValoa](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@robertValoa](https://community.piwik.pro/u/robertValoa)\
**Post date:** [March 21, 2024, 7:32am UTC](https://community.piwik.pro/t/cant-get-trigger-conditions-to-work-for-the-whole-element/3824/1 "2024-03-21T07:32:18Z")

</div>

Hi all! I’m working with a site that has been built with Elementor. I would like to collect specific click events from the site. For some elements like buttons I got it right. If the user clicks anywhere inside the button tag will be fired.

My problem is that with some elements for example expandable textbox, it is not working. I’ve tried different combination for trigger conditions. Closest I can get with:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/a/a4c9d9b1d4ea813f9fb3d790ad2a7616d137c4ac.png) . It’s still not fire tag from clicking the arrow. Can someone explains why?

Here is screenshot from Chrome:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/d/da2488ca4c4d97b47bc33fcd566de376b281c05e.png)

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Adam](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/adam/32/1494_2.png) [@Adam](https://community.piwik.pro/u/Adam)\
**Post date:** [March 21, 2024, 8:21am UTC](https://community.piwik.pro/t/cant-get-trigger-conditions-to-work-for-the-whole-element/3824/2 "2024-03-21T08:21:45Z")

</div>

Hi Robert,

Could you please share link to website here or in DM?

---

<div class="post-metadata">

**Author:** ![robertValoa](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@robertValoa](https://community.piwik.pro/u/robertValoa)\
**Post date:** [March 21, 2024, 8:24am UTC](https://community.piwik.pro/t/cant-get-trigger-conditions-to-work-for-the-whole-element/3824/3 "2024-03-21T08:24:45Z")

</div>

Thanks for the reply! Here’s the link: [https://valueinsights.fi/](https://valueinsights.fi/)

---

<div class="post-metadata">

**Author:** ![robertValoa](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@robertValoa](https://community.piwik.pro/u/robertValoa)\
**Post date:** [March 22, 2024, 10:15am UTC](https://community.piwik.pro/t/cant-get-trigger-conditions-to-work-for-the-whole-element/3824/4 "2024-03-22T10:15:42Z")

</div>

I wondered is some how possible to add multiple class name in to event conditions? I think another way would be possibility to add conditions with `OR` operator. Currently it seems that only `AND` operator is possible.

---

<div class="post-metadata">

**Author:** ![gonerator](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/gonerator/32/3549_2.png) [@gonerator](https://community.piwik.pro/u/gonerator)\
**Post date:** [March 23, 2024, 12:25am UTC](https://community.piwik.pro/t/cant-get-trigger-conditions-to-work-for-the-whole-element/3824/5 "2024-03-23T00:25:34Z")

</div>

Hey @robertValoa, I run into this type of issue myself quite often. The practice I ended up with is using:

Click Element → Matches → .elementor-tab-title, .elementor-tab-title \*

Such selector basically means “.elementor-tab-title OR anything within it”.

To achieve this effect with single-selectors, you would need two triggers in the tag manager, and in such a way you need to create just one.

 ![CleanShot 2024-03-23 at 01.22.38](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/6/650f2aef3d19c6659e089c145129a0acb0f7cfb5.png)
