Answer the question
In order to leave comments, you need to log in
How to track click on all nested classes in tagmanager?
Friends, please advise how to track a click through tagmanager on any nested block in the "page-preview page". Or you will have to create separate triggers for clicking on an image and a link.
<div class="page-preview page">
<a href="/" class="sw-link preview sw-link_styled" target="">
<div class="preview-image" style="background-image: url("///;);">
<img data-v-4ae2140e="" src="///"></div>
</a>
<div class="content">
<a href="/" class="sw-link sw-link_styled" target="">Текст</a>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
if all clicks are considered equal, then why not assign one more additional class to all nested blocks and put 1 trigger on it?
Or try another option to select "matches CSS selector" in the settings and use ".page-preview *":
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question