# Click trigger not working despite datalayer event being fired

**URL:** <https://community.piwik.pro/t/click-trigger-not-working-despite-datalayer-event-being-fired/3016>\
**Category:** Data collection and tags\
**Created:** [October 10, 2023, 9:41am UTC](https://community.piwik.pro/t/click-trigger-not-working-despite-datalayer-event-being-fired/3016 "2023-10-10T09:41:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Waters](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/sam_waters/32/2460_2.png) [@Sam\_Waters](https://community.piwik.pro/u/Sam_Waters)\
**Post date:** [October 10, 2023, 9:41am UTC](https://community.piwik.pro/t/click-trigger-not-working-despite-datalayer-event-being-fired/3016/1 "2023-10-10T09:41:08Z")

</div>

![Screenshot 2023-10-10 at 11.35.48](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/b/bb23d827acc9ff1b1d5a9a1e30b47c086d94bb15.png)

I have a All Clicks trigger, however despite the stg.click event being pushed to the datalayer, this trigger and associated tags have a X status (see screenshot).

Any reasons why this is the case?

---

<div class="post-metadata">

**Author:** ![anthonybartczak](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/anthonybartczak/32/2430_2.png) [@anthonybartczak](https://community.piwik.pro/u/anthonybartczak)\
**Post date:** [October 10, 2023, 9:46am UTC](https://community.piwik.pro/t/click-trigger-not-working-despite-datalayer-event-being-fired/3016/2 "2023-10-10T09:46:56Z")

</div>

Hi @Sam_Waters!

Could you send me the page URL where I can test this? You can either paste it in here or in a private message.

---

<div class="post-metadata">

**Author:** ![Sam\_Waters](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/sam_waters/32/2460_2.png) [@Sam\_Waters](https://community.piwik.pro/u/Sam_Waters)\
**Post date:** [October 10, 2023, 10:10am UTC](https://community.piwik.pro/t/click-trigger-not-working-despite-datalayer-event-being-fired/3016/3 "2023-10-10T10:10:50Z")

</div>

Hey @anthonybartczak sure thing, the page URL is [https://pfsw.com/](https://pfsw.com/)

Thanks,  
Sam

---

<div class="post-metadata">

**Author:** ![anthonybartczak](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/anthonybartczak/32/2430_2.png) [@anthonybartczak](https://community.piwik.pro/u/anthonybartczak)\
**Post date:** [October 10, 2023, 10:16am UTC](https://community.piwik.pro/t/click-trigger-not-working-despite-datalayer-event-being-fired/3016/4 "2023-10-10T10:16:02Z")

</div>

It seems that the tag is being blocked by the missing Analytics consent:  
 ![obraz](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/5/5d87a353e4f00d6b99fcfe8401010ea0c1d7bd33.png)
