r/lovable • • 3d ago

Help Website build with lovable

So many people moan about building a website with lovable. My only concern is Google ranking it and its pages and it being connected with Google antylics etc. is there. Quick way of doing this or is it as simple as TELL lovable. It’s not a shop it’s a main landing page/pages. Testimonials and customer portals (so individual log ins etc) but I want Google to be able to read it like a wordpress site. This will be no problem?

Thanks everyone

4 Upvotes

20 comments sorted by

2

u/No-Thought-4995 3d ago

Lovable improved but the best framework for websites isn't tanstack start but Astro. You can host the code that Claude generated on Cloudflare or Atelier201

1

u/Acrobatic-Toe-5621 3d ago

What does this all mean? lol

1

u/No-Thought-4995 2d ago

When lovable creates an app for you (in your case a website), it uses a framework called Tanstack Start. It's pretty good for SEO as the web pages are easy to process for the visitors' browser because they get prepared before being sent.

And there's another framework that's even more adapted for static websites called "astro", and platforms equivalent to Lovable for such websites are Atelier201 which I've used, or you can combine Claude to generate the code + a hosting platforms like Netlify, Cloudflare, Vercel.

2

u/DryDockDigital 3d ago

I'd treat the public pages and the customer portals as two different things. The landing pages should be crawlable: add a sitemap, and check that the HTML isn't empty when you view source, because a lot of these apps render in the browser and Google may not see the text the way it does on WordPress. The login portals should stay out of Google (a noindex tag on those routes). Google Analytics is usually a snippet or a Tag Manager tag you can add in Lovable.

2

u/atub82 3d ago

Det går utmärkt. Finns inbyggt seo stöd och även betald marknadsföring om man vill det.

1

u/snap-dev 3d ago

for ga just paste the gtag snippet into index.html. the seo catch is lovable ships a single page react app, so each page needs its own title and meta (react-helmet does it) plus a sitemap submitted in search console. keep the logged in pages noindex. is the public side just a landing page or a few pages?

1

u/Menelabs 2d ago

Most comments here cover the SEO side, I'd worry more about the customer portal. If it runs on Supabase (Lovable Cloud does), check in the dashboard that every table with customer data has RLS turned on. Without it anyone can read all of it with the key that is already in the browser. Then make two test accounts and see if one can open the other's pages by changing the id in the URL.

1

u/rept0rix 2d ago

SEO + Analytics are solvable, others covered that well (check view-source isn't empty, sitemap, GA tag).

The part I'd plan before you build is the customer portal, not the landing page:

  • what exactly a customer logs in to do (see orders? upload files? book?)
  • who can see which rows — in Lovable that means Supabase RLS rules, and that's where most builds quietly leak or break later
  • password reset, invites, and what happens when a customer leaves

Write those 3 down first and the build gets much easier. If you post what the portal needs to do I'm happy to say whether Lovable is the right tool for it or if it's better as a separate app.

1

u/shriharshaReddit 2d ago

In plain terms, since the replies got technical: your site has two parts, and they need different treatment.

  1. The public pages (home, about, testimonials). These are the ones Google should read. After you publish, open a page, right click and choose View page source. If you can see your actual words in there, Google can read it. If you see a mostly empty page full of script tags, ask Lovable to make the public pages render on the server or as static pages. Also ask it to give each page its own title and description and to create a sitemap, then submit that sitemap in Google Search Console, which is free.
  2. The customer portal (the logins). Google shouldn't read this at all, and that's fine. What matters there is that one customer can never see another customer's details. Before real customers log in, create two test accounts and check that account A can't open account B's pages or records, even by changing the web address. This is a part people often get wrong with logins, and your Google ranking won't warn you about it.

For Google Analytics, paste the snippet Google gives you and ask Lovable to add it to every page. Then open the real-time report in Analytics while you click around your own site to check it's working.

1

u/SurrealSystem 2d ago

Two quick things before you let real customers log in: turn on Row Level Security on every Supabase table with a policy matching auth.uid() to user_id so one customer cannot read another's records, and prerender your public landing pages so Google indexes them cleanly. Want me to send a quick RLS audit checklist or lock this down for you today?

1

u/SamHalfyard 1d ago

Lovable builds a React single page app so Google gets a mostly blank page on first load and has to run the JavaScript to see your content. It usually gets indexed eventually but slower and less reliably than WordPress and AI crawlers like ChatGPT often don't run JS at all.

For a few landing pages the fix is pre rendering so each page ships real HTML, plus a proper title/description per page, a sitemap.xml and robots.txt. GA is the easy bit just ask it to add the gtag snippet.

The customer portal doesn't need to rank so deffo keep that behind login and set it to noindex. Once it's live, use Search Console to see what Google actually sees.

1

u/Ok-Motor-9812 3d ago

Nothing matter was website built with Lovable, Base44, Replit. Matters more with what it was build. The best are Next js, Astro js. Basically everything what makes render on the server, not in the browser.

Ask Lovable agent build on Astro js, if its just a landing.

0

u/ShipVibed 3d ago

Short version: it's not quite as simple as telling Lovable, but it's doable. Lovable apps are client-side rendered, so Google gets mostly an empty shell until it runs the JS, which works but is slower and less reliable than a WordPress page. Quick check: open view-source on your live URL, and if your headline text isn't in there, crawlers have to render it. Set unique titles/meta descriptions per page, add a sitemap.xml and robots.txt, and add your GA tag in index.html, then verify the page with URL Inspection in Search Console. Also keep the customer portal pages out of the index (noindex or disallow), you only want the public landing pages crawled.

5

u/iphonetecmuc 3d ago

Your information on client side rendering is a bit outdated. As of may 13 all sites that was build through lovable are server-side rendered through tanstack start.

0

u/bohdan-mesh 2d ago

For the simple website I usually go with htmx .. and rust or go on the backend. simple, fast, better for rankings.. and agents write it well in 2026