Lovable, v0, Bolt & AI-Built Sites
Building your site with an AI code generator like Lovable, v0 (Vercel), Bolt, or Replit? Here’s how to integrate SEOJuice into your AI-generated project and get automated SEO from day one.
How It Works
AI code generators typically produce React, Next.js, or vanilla web projects. SEOJuice works with all of them — you just need to add one script tag.
Quick Integration
Add this line before the closing </body> tag in your main layout file:
<script type="text/javascript" src="https://cdn.seojuice.io/suggestions.v1.js" defer></script>Where to Put It
| Tool | Generated Framework | Where to Add the Script |
|---|---|---|
| Lovable | React (Vite) | index.html before </body> |
| v0 | Next.js | layout.tsx — see example below |
| Bolt | Various (React, Next.js, etc.) | Main layout or index.html |
| Replit | Various | Main HTML file or layout component |
| Cursor / Windsurf | Whatever you’re building | Your layout file |
Next.js Projects (v0, Bolt)
If your AI tool generated a Next.js project, add the script in your root layout:
export default function RootLayout({ children }) { return ( <html lang="en"> <body> {children} <script type="text/javascript" src="https://cdn.seojuice.io/suggestions.v1.js" defer /> </body> </html> );}React / Vite Projects (Lovable)
Add the script to your index.html:
<!DOCTYPE html><html lang="en"> <head> <!-- ... --> </head> <body> <div id="root"></div> <script type="module" src="/src/main.tsx"></script> <script type="text/javascript" src="https://cdn.seojuice.io/suggestions.v1.js" defer></script> </body></html>After Integration: What to Do in SEOJuice
- Add your site at seojuice.io/dashboard — enter your deployed domain (not localhost)
- Wait for the crawl — SEOJuice crawls your site within hours
- Set Key Pages — Mark your most important pages (homepage, pricing, features) for link prioritization
- Review your audit — Check the audit report for quick SEO wins
Common Vibe Coder SEO Mistakes (And How SEOJuice Fixes Them)
AI-generated code often misses SEO fundamentals. Here’s what SEOJuice handles automatically:
| Common Issue | SEOJuice Fix |
|---|---|
| No internal links | Auto-generates contextual links between your pages |
| Missing meta descriptions | Generates SEO-optimized descriptions from your content |
| Generic image alt text | Creates descriptive, keyword-aware alt text |
| No structured data | Injects JSON-LD schema markup |
| Missing Open Graph tags | Generates social sharing metadata |
| Accessibility gaps | Adds ARIA labels, focus management, skip navigation |
SEO Basics Your AI Tool Won’t Handle
While SEOJuice automates technical SEO, keep these in mind:
- Write real content — Search engines need substantial text content to rank your pages. A landing page with just a hero section and features list won’t rank well
- Use proper heading hierarchy — H1 for page title, H2 for sections, H3 for subsections. Tell your AI tool to follow this
- Create a sitemap — Most frameworks generate this automatically. If yours doesn’t, add a
sitemap.xml - Set up Google Search Console — Free, and essential for tracking your SEO performance. Connect it to SEOJuice for integrated data
- Get a custom domain — Sites on
*.vercel.appor*.lovable.appsubdomains won’t rank as well as custom domains
Deployment Platforms
Once your AI tool generates the code, you’ll deploy somewhere. SEOJuice works with all major platforms:
- Vercel — Where v0 projects typically deploy
- Netlify — Popular alternative
- Cloudflare Pages — With optional SSR via Workers
Client-Side Routing (SPA)
AI tools often generate single-page applications (SPAs) with client-side routing. SEOJuice handles this automatically — it detects history.pushState navigation events and re-applies optimizations when users navigate between pages.
Verify Your Integration
After deploying with the script:
- Visit your deployed site (not localhost)
- Open DevTools (F12) → Network tab → filter for
seojuice - You should see
suggestions.v1.jsloading - Check the SEOJuice dashboard — your site should show as connected
For more details, see Integration Verification.