'GTM Click Element does not fire on click

I want to fire a GTM trigger based on the div the button is in.

The Tag Details show the Click Element condition is not met: Tag Details

But the Variables on the exact same Click show the Click Element does contain 'div.website-notice':

enter image description here

I cannot figure it out. Please help :)



Solution 1:[1]

Updated GTM Debug output is misleading. Click Element value is HTMLElement not a string so you have to use matches CSS selector condition instead of contains in your trigger.

Solution 2:[2]

You can use "match css selector" as contain.

The click element seems not working the same way as other built-in variables.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ?????? ?????
Solution 2 Darrellwan