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

113
Visualizações
how to implement multiple script tags specific to the user that will inject a widget into their website?

I'm trying to create a service where users can embed a customer feedback widget in their website, similar to https://appzi.com. I'm thinking about using NodeJS for the BE but I'm confused as to how to generate unique script tags for each widget? And how to host those scripts? i searched all over google but couldn't find anything.

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

0

For hosting you could serve the files on an api endpoint and then res.send the files back with a fastify api. You could use a script tag and as a source use your api url and add a id to your script tag to identify. <script src="https://yourapientpoint.something.com" id="widgetId" /> You can then in your widget subtract this id to determine the look of your widget. Alternatively you could check https://www.jsdelivr.com/

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