Holidoodle / Install / React (Vite / CRA)
2 minutes · React (Vite / CRA)

Add Holidoodle to React (Vite / CRA)

Paste one line once. From then on your React (Vite / CRA) site greets each visitor on their own country's holidays, in their language, with your logo.

Requirements: Any

1. Copy your line

Sign in to your Holidoodle dashboard to get your key, or use the line below and replace YOUR_KEY.

<script src="https://holidoodle.dev/embed.js" data-key="YOUR_KEY" async></script>

2. Paste it in React (Vite / CRA)

  1. Open index.html in the project root (Vite) or public/index.html (Create React App).
  2. Paste the script tag right before </body> (or in <head>).
  3. Rebuild and deploy (npm run build).

Where the code goes: right before </body> in index.html.

Good to know

3. Check it works

Open the deployed site, then use DevTools → Network and filter by 'embed.js'.

To see a holiday right now, open your site with ?hd_country=TR&hd_date=2026-10-29 at the end of the address. Any country and date work.

Source: React (Vite / CRA) help

Not on React (Vite / CRA)?

See guides for every other platform, or create your free key.