Building Tag Manager Trigger for element with custom attribute


(Leonid Dolbir) #1

Hello,
I’m attempting to capture event when user clicked on an element with the custom attribute:
<div data-css-custom></div>
I’ve attempted to use “All Elements Click” with following CSS selector “[data-css-custom]”. However, it doesn’t appear to be working. Could you please advise on the strategy.

Thanks,
Leo