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

100
Visualizações
TruConversion heatmap script with Next.js 11 Script

I am trying to install TruConversion's heatmap script on my Next.js 11 website.

On the homepage of TruConversion, they state that I should add their script before the </head> tag.

And the documentation of Next.js says that I shouldn't use the "next/script" in either a next/head component or in pages/_document.js.

So, I am confused. Where should I add that heatmap script?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

To use TruConversion's Heatmap you need to first load the Tracking Code and then start Heatmap Tracking.

You can place the tracking code <script /> either in pages/_document.js using the Head component from this example or in pages/index.js with <Script /> (note uppercase) strategy="beforeInteractive" using the new technique with next/scripts as demonstrated here.

Either approach will load the tracking script early on page load.

With that preloaded, you can now trigger TruConversion to start Heatmap Tracking anywhere in your app.

about 4 years ago · Juan Pablo Isaza Relatório
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