💜 Lovable · ~10 min · Easiest — just paste the prompt

Make Your Lovable Site Visible in ChatGPT and Perplexity

Lovable builds your site with AI — so adding GEO optimization is as easy as typing a prompt. No manual file editing required. Here are the exact prompts to use.

✨ The fastest way — use our MCP server

If you're using Claude Code or Cursor alongside Lovable, install geo-optimizer-mcp — it auto-generates all GEO assets in one command. Otherwise, follow the prompt-based guide below.

What we'll add:
  • Organization Schema — AI correctly identifies your business
  • FAQ Schema — +41% citation rate in AI responses
  • robots.txt — allow GPTBot, ClaudeBot, PerplexityBot
  • llms.txt — AI agents understand your site instantly
0

Generate your GEO assets first

  1. Go to causabi.com
  2. Enter your Lovable site URL (or lovable.app preview URL)
  3. Copy the generated Schema.org, FAQ Schema, llms.txt, and robots.txt
1

Add Schema.org — paste this prompt in Lovable

Copy the prompt below, replace the schema placeholder with your actual Schema from Causabi, and send it to Lovable's AI chat.

Prompt for Lovable
Add this JSON-LD structured data to the <head> of every page (in index.html or the root layout). This is for GEO optimization — it helps ChatGPT and Perplexity understand and cite the site: <script type="application/ld+json"> [PASTE YOUR ORGANIZATION SCHEMA FROM CAUSABI HERE] </script> Also add this FAQ Schema to the homepage <head>: <script type="application/ld+json"> [PASTE YOUR FAQ SCHEMA FROM CAUSABI HERE] </script>
Where Lovable puts it

Lovable will typically add it to index.html in the <head> section, or to your root layout component if you're using React Router or Next.js. Both work for Schema.org.

2

Update robots.txt

Prompt for Lovable
Update the public/robots.txt file (create it if it doesn't exist) with this content. This allows AI search crawlers to index the site: User-agent: * Allow: / User-agent: GPTBot Allow: / User-agent: ClaudeBot Allow: / User-agent: PerplexityBot Allow: / User-agent: Google-Extended Allow: / User-agent: Bytespider Allow: /
3

Add llms.txt

Prompt for Lovable
Create a file public/llms.txt with this content. This is the llms.txt standard — it helps AI agents understand the site instantly: [PASTE YOUR LLMS.TXT CONTENT FROM CAUSABI HERE]
4

Deploy and verify

  1. Click «Publish» in Lovable to deploy the changes
  2. Check your-site.com/robots.txt and your-site.com/llms.txt
  3. Go to causabi.com → run a new audit — score should reach 70+
  4. Validate Schema: validator.schema.org

Generate your GEO files for free

Causabi creates Schema.org, FAQ Schema, llms.txt, and robots.txt tailored to your specific site — ready to paste into Lovable.

Generate GEO assets →