One snippet in your HTML head tag. Works with any framework, static site generator, or hand-coded site.
Under 2 minutesGrona's research and competitive intelligence features work without any code on your site. You can analyze competitors, review traffic data, and get AI-powered recommendations right from the dashboard.
To make live changes on your website, like editing text, swapping images, adjusting styles, or running experiments, Grona needs your permission. Installing this snippet grants that permission and connects your site to Grona's optimization engine.
Live editing
Change text, images, and styles through AI chat.
Experiments
Run A/B tests and track results in real time.
Your choice of scope
Add to specific pages or your entire site.
Copy this and paste it into your website's <head> section.
<link rel="preconnect" href="https://cdn.grona.ai">
<script src="https://cdn.grona.ai/workspaces/YOUR_WORKSPACE_ID/antiflicker.js" data-grona-af-bg="#ffffff"></script>
<script src="https://cdn.grona.ai/workspaces/YOUR_WORKSPACE_ID/main.js" async></script>Preconnect: Speeds up loading by establishing an early connection to Grona's CDN.
Antiflicker script: Loads synchronously to prevent content flash before optimizations apply.
Main script: Powers Grona's optimization engine: live editing, experiments, and tracking.
The snippet loads on every page that includes it. If your site uses a shared layout or template, adding it there covers all pages. For single-page apps, add it to the root HTML file. For multi-page sites, add it to each page's <head> or the shared layout template.
Replace YOUR_WORKSPACE_ID with the ID from your Grona dashboard. The complete snippet with your ID is available in Settings > Installation.
Follow these steps to add the Grona snippet to your Custom Website site.
Open the file that contains your site's <head> section. This varies by framework: in a static HTML site, it's usually index.html. In Next.js, it's your root layout. In Nuxt, it's nuxt.config. In Astro, it's your base layout. In Hugo or Jekyll, it's the base template in your layouts folder.
Find the </head> closing tag in your template file. The Grona snippet should be placed just before this tag to ensure it loads early in the page lifecycle.
Paste the three-line Grona snippet directly above the </head> tag. Make sure all three lines are included: the preconnect link, the antiflicker script, and the main script.
Save the file and deploy your site using your normal process (git push, FTP upload, CI/CD pipeline, etc.). The snippet takes effect once the updated page is live.
If you're using an AI code editor like Cursor, Bolt, or v0, you can ask it to "add this script to the head of every page" and paste the snippet. The AI will handle placing it in the right file for your framework.
Confirm the snippet is loading correctly.
Paste your URL to see what Grona can do. Free to start.