Search code examples
google-analyticstriggersgoogle-tag-manager

GTM: Click Element Trigger not firing


I can't understand why my triger is not firing. Click Element Trigger

Does anyone know how to fix it? I have couple elements on pages that contains span.sharing__icon in Click Element so I want to use single trigger for all of them.

Here's the screen on my setup in GTM: gtm trigger settings

Thanks to everyone in advance.


Solution

  • Elements don't "start with". Elements match css selectors.

    Change your condition to be a match rather than starts with.