0

First.. I'm a newbie about GTM.

I want to track a DIV element that is a container for an IMG and another DIV(text).

By using GTM trigger All Clicks > Specific clicks > Click Classes contains > "image-item" it fire me the IMG element inside the DIV with the class I provided. Problem is that when visitor click on the texte instead of the IMG I do not get informations I want.

That's why I need to get the DIV container fired. Someone can help me?

<div class="image-item thumbnail lien" onclick="openGallery('amalia')" data-name="Amalia">
<img src="assets/works/thumbnails/lucienagasse-amalia.jpg" alt="Amalia" />
<div class="cascade"><b>Amalia</b></div>
</div>

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.