Case study · Website development

A website for SFERO, a real estate agency: custom code instead of WordPress

We wrote the site from scratch, with no templates or site builders. The catalog updates itself from the CRM, every listing has a page in four languages, and there's an area guide, light and dark themes, and analytics of its own.

Client
SFERO Real Estate, Valencia
Solution
Website with a catalog fed from the CRM, area guide, analytics dashboard
Languages
Spanish, English, Russian, Ukrainian
Timeline
One month from kickoff to launch, with work still ongoing

Result The home page is 13 times lighter than on the old WordPress site and fills the screen three times faster. Google impressions grew 85% in a month

+85%
Google impressions in one month compared with the month before
542
municipalities in the area guide, with official statistics
200+
listings from the CRM, each with a page in 4 languages
13×
lighter home page than on the old WordPress site
01 · The challenge

A new website to replace the old WordPress one

SFERO works with foreign and local clients in Valencia, on the Costa Blanca and on the Costa del Azahar. The agency helps people buy, sell and rent out property, and also handles mortgages, renovations and relocation. The agency's old site ran on WordPress: the home page weighed 12 MB and took 8.5 seconds to fill the screen on mobile. We proposed switching to our own code and a modern stack. Now the home page is 13 times lighter, a listing page fills the screen 5 times faster, and the catalog, area guide and analytics are built around how the agency works.

First screen of SFERO's old WordPress site First screen of SFERO's new site with property search Old site New site

Drag the slider to compare. All screenshots on this page show the English version of the site.

The brief

  • The catalog comes from the agency's CRM, so nobody copies listings to the site by hand
  • Four languages, as on the old site, and a separate page for every listing in every language
  • Pages that carried over keep their URLs, and changed ones get redirects, so the site keeps its search traffic
  • Inquiries from the site go straight into the CRM
02 · Custom code

Our own code instead of a template and plugins

A platform like WordPress rebuilds the page on every visit and loads plugins, styles and scripts the page doesn't need. We wrote the site ourselves. Pages are built in advance and served from Cloudflare servers close to the visitor, and the browser gets only what that particular page needs.

  1. 01Pages are ready in advance. About 1,200 pages in four languages are rebuilt with every catalog update. The server doesn't put a page together when someone visits. It serves one that's already finished.
  2. 02Photos are compressed automatically. The site converts every photo from the CRM to a modern format and resizes it for the screen: on a catalog card, a photo weighs 22 KB instead of the original 145 KB.
  3. 03No template limits. The calculators, the area map and the “What's nearby” block were built around the agency's needs. With an off-the-shelf platform you'd be hunting for a plugin for every feature, with no guarantee that one even exists for what you need.

An area map like SFERO's can't be built on WordPress at all. Custom code keeps you flexible: any feature can be added when you need it.

Old WordPress vs. our code

Home pageWordPressOur code
Lighthouse performance score, mobile
61
75
Lighthouse performance score, desktop
78
97
Time to fill the screen (Speed Index), mobile
8.5 s
2.6 s
Time to fill the screen (Speed Index), desktop
2.7 s
0.6 s
Page weight, mobile
12 MB
0.9 MB
Page weight, desktop
17 MB
1 MB
Requests to the server
138
22

Measured with Lighthouse using the mobile profile (slow mobile connection) and the desktop profile, median of three runs, November 17, 2026. Speed Index shows how quickly the page's content fills the screen. The old site is still running on its original server, so both were measured under the same conditions. On a listing page the gap is even wider: 2.4 MB instead of 13 MB, 27 requests instead of 150, and a desktop score of 99 versus 67.

91%
of real visits load fast by Google's standard: the main content of the page is visible in under 2.5 s. These are measurements from real visitors on the live site, not a lab test
5×
faster for a listing page to fill the screen: 2.2 s instead of 11.1 s on WordPress
96 ms
from a tap to the page's response for 75% of visits
146 KB
is what the site's fonts weigh after optimization, down from 648 KB

On a phone

Search, the catalog, the listing page and the area guide were redesigned for a narrow screen rather than simply scaled down.

Home page on a phone in the dark theme: property search
Home
Catalog on a phone: search filters
Catalog
Listing page on a phone
Listing
Area guide on a phone
Areas
03 · Area guide

Statistics for every town right on the agency's website

A buyer from another country usually doesn't know how one coastal town differs from the next, and pieces it together from scattered sources. On SFERO's site it's all in one section: population, the share of foreign residents and where they come from, age, income and safety, by town and district. We haven't come across a section like this on other real estate agency websites.

Area guide: map of the Valencian Community and statistics for the region
A map of 542 municipalities, shaded here by household income. A toggle switches it to SFERO listings, the share of foreign residents or average age, and clicking a town opens its statistics.
542
municipalities in the region on one map, with districts for the larger cities
2
official sources: Spain's National Statistics Institute (INE) and the Ministry of the Interior
171
pages in this section were indexed by Google in the first 9 days after launch
The “About the area” block on a listing page: safety, share of foreign residents, average age and income
The same statistics appear on almost every listing page, in the “About the area” block. The data updates along with the catalog.
04 · Catalog from the CRM

Listings show up on the site by themselves

The agents work in the CRM just as before. Every 2 hours the site pulls the changes from it and rebuilds the listing pages in every language. A new listing appears in the catalog without anyone touching it, and price and status changes come through with the next update.

Every 2 hours

  1. 01Export from the CRMlistings, prices, statuses and photos
  2. 02Listing pagesin 4 languages, with a map and markup for search engines
  3. 03Photosnew photos are compressed and uploaded to storage
  4. 04Areas and “What's nearby”statistics and places around the listing
  5. 05Publishingonly if something has changed
Listing catalog: search by town, type, status, price and filters
The catalog: town or district, type, status, price, and filters for bedrooms, bathrooms and floor area.

Search in any of the four languages

The site runs in Spanish, English, Russian and Ukrainian, and every page and every listing has its own URL in each language. Search finds a town however you spell it: in Cyrillic, in Spanish or in Valencian. Each town has several spellings, checked against the list of every municipality in the region, and search is tested after every catalog update.

200+
listings: resale homes, new builds and rentals
~4,000
listing photos came from the CRM, and nobody uploaded them to the site by hand
111
listings taken off the market: the link to each one leads to the catalog for the same region, not to an error page

If the CRM ever returns an empty list, the site won't publish an empty catalog. It keeps the previous one.

05 · Listing page

Answers to the buyer's questions right on the page

A buyer from abroad usually asks the same things: what the purchase will cost with taxes, what's near the property and what the area is like. Every listing page now answers those questions.

Full purchase cost calculator: transfer tax, agency fee, notary and land registry
The calculator works out the full cost of buying at Valencian Community rates. The tabs next to it cover the mortgage, running costs and rental income.
The “What's nearby” block: schools, healthcare, shops, transport, beach, parks and cafés on a map around the listing
“What's nearby”: 8 categories of places, from schools to the beach. Distances are measured from the listing's real coordinates, while the pin on the map is shifted so it doesn't give away the exact address.
  1. 01Calculators on every listing. Purchase, mortgage, running costs and rental, in 4 languages. We verified the math against an independent calculation, with about 4,300 checks.
  2. 02An inquiry in the CRM and a WhatsApp chat in one tap. All 21 forms on the site have a “Send via WhatsApp” button: the inquiry goes to the CRM, and a chat with an agent opens right away.
  3. 03The right agent on the page. The site decides who to show based on the listing's region and the language of the page.
06 · Two themes

Light and dark themes on every page

A dark theme is rare on real estate agency websites. SFERO has one on every page, alongside the light theme. The Spanish and English versions open in the light theme by default, the Russian and Ukrainian ones in the dark theme. The site remembers each visitor's choice, and analytics tracks which theme people use.

Catalog in the light theme Catalog in the dark theme Light Dark

Drag the slider to compare.

Service pages

Selling, investment, mortgages, relocation, renovation, rental management and the blog.

The “Sell” page
The “Investment” page
The “Mortgages and insurance” page
The “Relocation and residency” page
The “Renovation and construction” page
The “Rental management” page
Blog
07 · Analytics

All of the site's analytics in one place

To see how a website is doing, people usually open Search Console, Google Analytics, Microsoft Clarity and speed reports one at a time, each with its own numbers and its own data retention period. We built SFERO a dashboard of its own. It pulls data from every source on a schedule and keeps the history that the sources delete over time.

SFERO dashboard: key metrics for the selected period
Key metrics for the selected period: Google clicks and impressions, position, visits, visitors and inquiries. In these screenshots, traffic numbers are blurred because they're the client's data.
6
sources: Search Console, GA4, Clarity and three trackers of our own on the site, for speed, color theme and QR code scans
17
panels in 7 sections: visits and sources; search; audience; print materials; speed; behavior; queries and pages
3 days
is how long Clarity keeps data. The dashboard collects it before then and stores it indefinitely
SFERO dashboard: Google clicks, impressions and average position by day
The “Search” section: Google clicks, impressions and average position by day.

What no standard platform shows

  1. 01Our own speed measurement. A small script on the site measures 5 speed metrics on every real visit, with no cookies. It's more accurate than lab tests and doesn't depend on whether the site gets enough traffic for Google's reports.
  2. 02Color theme. A tracker of our own on the site shows which theme people browse in and whether they chose it themselves.
  3. 03Print materials. Scans of the QR codes on property banners and business cards, broken down by banner.
  4. 04Honest numbers. On this site, Clarity showed four times as many sessions as GA4 because it counts bots. The dashboard doesn't mix numbers like these and labels where each one comes from.
SFERO dashboard: speed for real visitors, 5 metrics
The “Speed” section: 5 metrics measured on real visits, at the 75th percentile, the way Google calculates them.
08 · SEO and GEO

The site keeps growing after launch

The work didn't stop at launch: we promote the site on Google and in AI assistants like ChatGPT. Pages carry markup that tells AI models exactly what they're reading: the property, the price, the area, a question and its answer. That lets ChatGPT and other AI assistants pull data from the site and recommend SFERO in their answers. There's also an llms.txt file for them, and the site submits new and updated listings to search engines on its own.

+85%
Google impressions in one month compared with the month before
+38%
clicks from Google in the same month
#1
on Google for “sfero real estate”
160
ready-made answers to common buyer questions across 32 pages. They're marked up so an AI assistant can quote an answer in full and cite SFERO

Articles

Since August the blog has published 54 articles in four languages, on buying costs, residency permits, renting, schools and areas. An AI pipeline produces them: a draft, then three independent checks (editing, fact-checking against primary sources, language proofreading) and a final review. The articles already bring visitors from Google searches about temporary protection, squatters and schools.

We describe how SFERO's AI content pipeline works in detail in a separate case study, “AI marketing team for a real estate agency”.

09 · How it was built

From kickoff to launch in a month

Work started on June 5, and by early July the new site was live at sfero.es. We built the structure around three ways of living in Spain: the city, the coast and the suburbs. After launch, we kept developing the site.

  1. MayA demo of the new site built on SFERO's listings and copy
  2. June 5Development starts
  3. JulyCatalog connected to the CRM, site launched at sfero.es
  4. August–NovemberArea guide, “What's nearby”, calculators, blog, analytics dashboard
  • Analytics and advertising load only after the visitor consents to cookies
  • A Content Security Policy on every page, and two security audits
  • The site is rebuilt with every update and passes automated checks before it's published
  • Redirects are set up for the old site's changed URLs

Tech stack

ViteTailwind CSS 4JavaScriptGSAPLeafletCloudflare PagesCloudflare R2Cloudflare Analytics EngineGitHub ActionsNode.jsPostgreSQL
FAQ

Before you commission a real estate agency website

Questions agencies ask when they replace their website, answered using this project as the example.

How long does it take to build a real estate agency website?
In this project, development took one month from start to launch: work began on June 5, and in early July the site went live on the main domain. The area guide, calculators, blog and analytics dashboard came after launch. The timeline for your project depends on the number of pages, languages and integrations, and we estimate it on a discovery call.
Can the website catalog connect to our CRM?
Yes, if your CRM provides listing data through an API or an export. At SFERO the site pulls changes every 2 hours: new listings, prices, statuses and photos appear on the site by themselves, and the agents keep working in the CRM as before.
What happens to our Google rankings when we move from the old site?
Pages that carry over keep their URLs, and we set up redirects for the ones that change, so links from search keep working. A link to a sold listing leads to the catalog for the same region, not to an error page. Every page has a version in each language, all linked to each other, and the site has a sitemap for search engines.
How many languages can the site have?
As many as your clients need. SFERO has four: Spanish, English, Russian and Ukrainian, and every listing has its own page in each language.
Why not build the site on WordPress or a site builder?
WordPress or a site builder gets you started faster, but every new feature depends on a plugin. Plugins slow the site down, and for an unusual task there may not be one at all. An area map like SFERO's can't be built on WordPress. After the rebuild, SFERO's home page is 13 times lighter and fills the screen three times faster than on the old WordPress site. Custom code lets us build pages in advance and serve them from servers close to the visitor, and make the calculators, the area map and the CRM connection work the way the agency needs. Any new feature can be added when you need it.
Can we see all of the site's analytics in one place?
Yes. For SFERO we built a dashboard that collects data on its own from Search Console, Google Analytics, Microsoft Clarity and three trackers of our own on the site, for speed, color theme and QR code scans. It keeps the history that the sources delete and shows what standard reports don't.
Where does the area data come from, and how often is it updated?
From Spain's official statistics: the National Statistics Institute (INE) and the Ministry of the Interior. The data updates along with the catalog, and safety figures appear next to the average for Spain, so there's something to compare them with.
How do inquiries from the site reach the agents?
Every form sends the inquiry to the CRM. The “Send via WhatsApp” button creates an inquiry in the CRM and opens a chat with an agent in one tap. On a listing page, the site shows the agent who handles that region and language.
Won't hundreds of photos make the site slow?
Photos are compressed and served at the size needed: on a catalog card, a photo weighs about 22 KB instead of the original 145 KB. SFERO's home page weighs 0.9 MB instead of 12 MB on the old WordPress site, and 91% of real visits load fast by Google's standard.
Contact

Book a free 20-minute audit call

Tell us what kind of website your agency needs. We'll show you how to connect the catalog to your CRM and send you a short plan. No strings attached.

Your data is safe. The audit doesn't commit you to anything. By submitting, you agree to our privacy policy.