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

131
Visualizações
How to get Google Analytics & Google Tag Manager to work on website embedded in Iframe?

I am trying to use Google Analytics GA4 and Google Tag Manager on my website.

My website is embedded in an Iframe inside another website. I see that GTM is connected when I look through the network tab but I do not see my tags firing off when expected. When I remove the website from within the Iframe my tags fire as expected. I am using the window object to push to the data layer.

Could using the window object when pushing to the data layer cause issues when the website is embedded in an Iframe? How can I have my tags fire off when my website is embedded in an Iframe?

Any help or guidance would be greatly appreciated. Thanks

How I am pushing to data layer:

window.dataLayer.push({
  event: "virtualPageview",
  pageName: "Page1",
  venueName: window.venueName,
  pageTitle: "Formyoula Page 1", //some arbitrary name for the page/state
});
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