Case Study · Local Trades · Suffolk County, Long Island

Case Study: Cavanagh Electric — from brochure site to lead engine

Cavanagh Electric had a website that looked fine and did nothing. We rebuilt it on AWS as a fast, search-first conversion engine, folded seven scattered domains into one property that ranks, and put the customer reviews on autopilot. Family-owned electrical contractor serving Suffolk County, Long Island since 1998; client since 2024.

Static rebuild Local SEO 7→1 domain consolidation AWS hosting Live Google reviews Spec-driven development
2024 Site rebuilt & launched
~$40/mo Total AWS bill — down from ~$270 after a cost audit
7→1 Domains consolidated, every one on HTTPS
2×/week Newest Google reviews published automatically

The brochureware trap

Most small-business websites are brochureware — a printed flyer turned into a web page. They establish that you exist, and that is the end of the ambition. Cavanagh's old site was exactly this: a digital business card, slow to load, invisible in local search, and unable to do a single thing while the owner was on a job.

Before · Brochureware

A flyer that happens to be online

  • –Static. The same few pages for years — "About", services, a phone number.
  • –No transactions. Visitors can't book, schedule, or get a real estimate request through.
  • –Invisible. Thin content and no local SEO means competitors win the search.
  • –Dated. In a phone-first market, an old site reads as an out-of-business risk.
After · Conversion engine

A site that books work for you

  • ✓Found. Service-area and service-type pages built to rank for "electrician near me" across Suffolk County.
  • ✓Action-ready. Tap-to-call, lead forms, scheduling, and a monthly offer that drives the call.
  • ✓Fast & modern. Static build on AWS — loads instantly, looks like a company you'd trust with your panel.
  • ✓Self-running. The newest Google reviews publish themselves twice a week, and the monthly offer rotates on its own, without the owner touching anything.

What we built

A custom static site, with no page-builder and no monthly subscription rent, hosted on AWS for speed and near-zero cost. It has service and service-area content for the towns Cavanagh actually serves across Suffolk County, dedicated content for the high-value work — panel upgrades, EV chargers, pool and spa wiring — an FAQ targeted at real search queries, a loyalty program, a rotating monthly promotion, and TCPA-compliant lead and scheduling forms.

Since launch, the site has kept getting better:

  • →Leads that arrive ready to dispatch. Both forms now capture the job's street address, and the office email links straight to the address on Google Maps. Emergency requests get a red banner and an [EMERGENCY] subject line, so they stand out in a phone notification.
  • →Reviews that are actually current. The testimonials section pulls the five newest Google reviews straight from the business's own Google Business Profile, twice a week, with the live star rating and review count. If Google's side ever fails, the site falls back automatically and we get an alert.
  • →A private preview site. A password-protected dev. copy of the site, on its own infrastructure, where a full black-and-gold rebrand is being built and reviewed without touching the live site.
  • →Infrastructure as code. Everything — hosting, firewall, forms, reviews, redirects — is defined in Terraform and deployed through a GitLab pipeline. Every production change is a reviewed plan, not a click in a console.
cavanaghelectrician.com
Cavanagh Electric homepage redesign, live at cavanaghelectrician.com
Homepage redesign, live at cavanaghelectrician.com

Seven domains, one authority

Over the years the business had accumulated a drawer full of domains — legacy brand names, "24/7" variants, alternate spellings. Scattered, they split traffic and link equity and confused search engines about which site was real. We pointed all of them to a single canonical property with permanent (301) redirects, so every bit of brand recognition, old link, and mistyped URL now lands on — and strengthens — one site.

Legacy brand-name domains "24/7" service variants Alternate spellings & typos Old corporate registrations
cavanaghelectrician.com

One canonical site. All redirects 301'd, so link equity, brand searches, and direct-type traffic consolidate into a single ranking authority.

The first version of the consolidation used basic storage redirects. That worked for typed addresses, but https:// links to the old domains failed outright, one www address had no DNS record at all, and several redirects took an extra insecure hop. We rebuilt every redirect on CloudFront with its own certificate. Now all 24 combinations — 12 addresses, over HTTP and HTTPS — land on the main site in a single permanent redirect.

How we build: spec-driven development

Small-business sites don't usually get engineering discipline. This one does — and it's why a one-person team can safely change a live site that brings in real customers.

Every non-trivial change to the Cavanagh site starts as a spec: three short documents written and agreed before any code is touched.

DocumentAnswersWhat's in it
RequirementsWhat must be true when we're done?User stories and numbered acceptance criteria in a strict "WHEN… THEN the system SHALL…" form, plus the questions only the owner can answer
DesignHow will we do it, and why this way?Architecture, the options we rejected and why, exact data formats, a test plan, and a rollback plan
TasksIn what order, and who does each step?Small, numbered steps, each traced back to the requirements it satisfies, with owner tasks clearly marked

The specs live in the code repository, next to the code they describe. When reality changes the plan, the spec changes first.

Worked example: "show our newest reviews"

The problem. Customers were leaving great reviews every week, but the site kept showing the same handful from months ago. Google's standard Places API only returns the five reviews Google considers "most relevant", and it can't be sorted.

Options, evaluated in the design:

OptionVerdict
Google's legacy Places API (has a "newest" sort)Tested: Google no longer enables it on newer projects
Scrape Google's review pagesRejected: against Google's terms, blocked from cloud servers, and it breaks silently whenever Google changes its layout
Third-party review widgetPossible, but adds monthly fees and outside code, and won't match the brand
Google Business Profile APIChosen: official, free, returns every review newest first. It needs Google's approval and a one-time sign-in by a profile manager.

Requirements, in practice. A few of the acceptance criteria:

  • ·THE site SHALL show the 5 newest reviews with text and 4+ stars, by the date written.
  • ·Ratings without text SHALL count in the rating summary but SHALL NOT be shown as reviews.
  • ·IF the Business Profile API fails THEN the site SHALL fall back to Google's standard reviews, AND an email alert SHALL be sent.
  • ·Credentials SHALL NOT appear in git, logs or error messages.
  • ·The website SHALL NOT need to change.

Design decisions that came out of the spec:

  • ·One known trap was designed out up front. Google expires sign-ins after 7 days for apps left in "testing" mode, which would have quietly stopped the updates a week after launch.
  • ·The new code writes exactly the same data file as the old one, so the website needed no change and no redeploy.
  • ·The original source stays in place as an automatic fallback.

Tasks were ordered so that the slow step — Google's approval (7–10 business days) — started first. The code, tests and infrastructure were built while the application was under review, so the feature went live the day access was granted.

Result. The site now publishes the five newest reviews twice a week, with the correct "5 days ago" labels and the live "5.0 on Google" rating. If Google access ever breaks, it keeps updating from the fallback and emails an alert.

When the plan meets reality

Specs aren't a promise that nothing goes wrong. They make sure that when something does, the fix is permanent. Three examples from this project:

  • ·The wrong listing. The first setup signed in to a duplicate Google listing with no reviews. The fallback did its job, the alert fired, and the site never showed empty reviews. The fix went into the setup tool rather than into memory: it now identifies the listing by its unique Google Place ID and refuses one with no reviews.
  • ·A pop-up that outgrew the screen. Adding the address fields made the quote form taller than a laptop screen, which hid its submit button. The client caught it, and it was fixed and verified at five screen sizes the same day. "Open every pop-up on a small laptop and a phone" is now part of the launch checklist.
  • ·A deploy that shipped stale code. An early pipeline run deployed an old copy of the contact-form code for about four minutes. No inquiries were lost. The pipeline now builds the code once, passes that exact build to the deploy step, and refuses to deploy without it.

Each fix shipped with a test that reproduces the original problem, so it can't quietly come back.

The specs on this project

SpecStatus
Newest Google reviews (Business Profile API, fallback, alerts)Live
Private dev site (password-protected preview, separate infrastructure)Live
Black-and-gold rebrand, matching the fleet of vans customers recognize ("I see your trucks everywhere")In progress on the dev site
Runtime upgrade (move the serverless functions to a supported Node.js version before AWS stops accepting changes)Planned
Launch smoke test (real form submissions, real office email, real booking, every review link clicked)Written into the rebrand spec

Built by an agent, approved by a human

This work was built with Kiro, an AI coding agent that drafts the code, tests and infrastructure changes and runs the checks. A person reviews and approves every production change before it ships, and the agent stops at each one to ask first.

The specs are what make that safe. They give the agent a precise definition of "done", give the human something concrete to approve, and leave a written record of every decision.

Cost: a website shouldn't cost more than the van's insurance

An audit of the AWS bill found that hosting the website itself cost about $13 a month, but the account was billing about $270. Most of it was monitoring and security add-ons nobody needed: a network monitor built for corporate networks ($149/mo), unattached firewall rules, and bot-detection set to "watch only". We removed them, keeping the account's security tools and the firewall that actually protects the site. The bill dropped to about $40 a month, including tax, the new reviews automation and the dev site.

Reimagine what a website is for

A website shouldn't be a place your business is described. It should be a place your business happens — where a homeowner at 9 p.m. finds you, trusts you, and books you before they call three competitors. That's the difference between a cost center and a salesperson who works nights. Here's what becomes possible once you stop thinking "online brochure":

Get found first

Local SEO and service-area pages put you at the top of the searches that actually convert into calls.

Turn visits into calls

Tap-to-call, instant quote forms, and clear offers built to move a visitor to a booking, not a bounce.

Win the trust test

Real, recent reviews, the live star rating, credentials and a modern look answer "are these people legit?" before they dial.

Run on autopilot

The newest Google reviews publish themselves twice a week, and the monthly offer rotates on its own. If anything breaks, we get an email before you notice.

See what's working

Know which towns, services, and pages drive calls — and double down on the ones that pay.

Stop paying rent

Off the page-builder subscription treadmill and onto efficient AWS hosting that costs a fraction to run.

Your website should work like an employee who never sleeps — not a flyer pinned to the internet.

Is your site a flyer or a salesperson?

If it just sits there, you're paying to be invisible. Be Digital builds and runs lead-generating sites for trades and local businesses across NYC, Long Island, and the surrounding metro.

Every change we make is planned, tested and reversible, so your site keeps getting better without ever going dark.

Talk to Be Digital

← Back to Web Presence