Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

148
Visualizações
How to capture click ID all the times with Google Tag Manger?

I created a trigger which captures clicks on buttons using Google Tag Manager, and my buttons have nested divs and they look like this in dev tools: enter image description here

and they render like this:

enter image description here

I want to capture the ID on the parent div i.e. confirm-09:00:22:00 in the GTM variable. The problem I am facing is that if a user clicks on padding around Confirm Timeslot text, the ID is captured correctly, but if the clicks happens on the Confirm Timeslot text itself, the ID is empty. How can I make sure that the ID is always captured regardless of where user clicked on the button? Thanks

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda