Vai al contenuto
NovitàDomande sul prodotto: i clienti chiedono sulla scheda prodotto e ricevono le tue risposte.Guarda come funziona
IdukkiIdukki
Developers + API

Integrazione su Hydrogen, Next.js, Astro, Remix

Per i framework che non sono Shopify o Woo: come inserire il widget nel modo giusto, senza rompere SSR o hydration.

4 min read · last updated 2026-03
On this page

Il widget di Idukki è un unico <script> autonomo. Si inserisce in un div segnaposto, si avvia al primo scroll e non tocca mai lo stato di React al di fuori di sé stesso.

Next.js (App Router)

import Script from "next/script"

export function IdukkiGallery({ bguid, guid }: { bguid: string; guid: string }) {
  return (
    <>
      <div data-ugc="idukki" data-bguid={bguid} data-guid={guid} data-retarget="false" />
      <Script src="https://idukki-cdn.com/version/script_0" strategy="lazyOnload" />
    </>
  )
}

Hydrogen

Usa un approccio simile con ClientOnly di @shopify/hydrogen. Metti lo script in un componente foglia per evitare errori di mismatch con l'SSR.

Was this page helpful?

Still stuck?

Email us at support@idukki.io or open the in-app chat. We answer within one working day.

Talk to a human

Related guides

Live in minutesDTC + B2B brands79 KB runtimeReal G2 reviews

Stuck?

A real human is faster than a search box.

In-app chat is staffed during EU + US business hours. Status of a ticket? Email support@idukki.io and we’ll surface it.

  • No credit card
  • Cancel anytime
  • GDPR self-certified · SOC 2 (in audit)