The on-page half of local rankings
When someone searches "dentist near me" or "plumber in Leeds," Google shows a map with three businesses (the local pack) above the normal results. Which businesses appear depends on three things Google names openly: relevance, distance and prominence. Most of that is decided by your Google Business Profile and what the rest of the web says about you, but your website is a major supporting signal. It confirms who you are, where you are, and what you do, and it's where searchers land when they click through.
This analyzer reads one page of your site, usually the homepage, a contact page or a location page, and checks the on-page signals that support local rankings: whether your name, address and phone number (NAP) are visible and machine-readable, whether your LocalBusiness structured data is complete and agrees with what visitors see, whether opening hours are published, whether there's a map and a link to your Business Profile, whether your city appears where it matters, and whether your review markup follows Google's rules. Each check comes with a concrete fix.
NAP: name, address, phone
Consistency is the point. Google cross-references your business details across your website, your Business Profile, and directories such as Yelp, Apple Maps, Bing Places and industry sites. When they match exactly, it's confident they describe the same business. When your site says "Suite 4, 12 High St" and your profile says "12 High Street, Unit 4", that's usually fine, but a different phone number or an old address is not. We extract every phone number on the page, including tel: links, the visible address, and the details in your schema, and flag any that disagree.
Put the address in real text, not only inside an image, and wrap the phone number in a click-to-call link. Most local searches happen on phones, and for many service businesses a call is the conversion.
<address> Riverside Dental<br> 12 High Street, Leeds LS1 4AB<br> <a href="tel:+441130000000">0113 000 0000</a> </address>
LocalBusiness structured data
Structured data states your details in a format machines don't have to guess at. Google requires name and address for local business markup and recommends telephone, geo, openingHoursSpecification, url, image and priceRange. Use the most specific type that fits, such as Dentist, Plumber, Restaurant or AutoRepair, rather than plain LocalBusiness, and don't use Organization alone for a physical business. Put the markup on the page that represents the location: the homepage for a single-location business, and each location page for multi-location brands, each with its own address.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Dentist",
"name": "Riverside Dental",
"url": "https://riversidedental.example",
"telephone": "+44 113 000 0000",
"image": "https://riversidedental.example/clinic.jpg",
"priceRange": "££",
"address": {
"@type": "PostalAddress",
"streetAddress": "12 High Street",
"addressLocality": "Leeds",
"postalCode": "LS1 4AB",
"addressCountry": "GB"
},
"geo": { "@type": "GeoCoordinates", "latitude": 53.7965, "longitude": -1.5478 },
"openingHoursSpecification": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"],
"opens": "08:30", "closes": "17:30"
}],
"sameAs": ["https://www.facebook.com/riversidedental"]
}
</script>Structured data must describe what's visible on the page. If your schema lists hours or a phone number that visitors can't see, or that differ from the page, Google may ignore it. That's why this tool compares the two. Use our LocalBusiness Schema Generator to build the markup and the Schema Markup Tester to validate it.
Why self-published review stars get flagged
Many local sites add aggregateRating to their own LocalBusiness schema, hoping for gold stars in search results. Since 2019 Google doesn't show review rich results for "self-serving" reviews, meaning reviews a LocalBusiness or Organization publishes about itself on its own site, and markup that violates the review guidelines can lead to a manual action. Stars for local businesses come from your Google Business Profile reviews instead. This analyzer flags self-serving rating markup so you can remove it. Showing testimonials on the page is still fine and persuasive; just don't mark them up as ratings of your own business.
Location relevance: title, H1 and content
Searchers combine a service and a place, so pages that rank locally say both clearly. Put your main service and city in the title tag (for example "Emergency Dentist in Leeds | Riverside Dental") and in the main heading, and mention the neighbourhoods or towns you serve naturally in the content. We read your city from the addressLocality in your schema; if it's missing, we can't check this, which is another reason to complete the markup. Avoid stuffing a list of 40 towns into the footer. If you serve several distinct areas, create genuinely useful pages for each, with local details such as directions, parking, staff and photos.
Maps, directions and opening hours
An embedded Google Map of your listing helps visitors find you and reinforces the location. Load it lazily so it doesn't slow the page: the iframe below only loads when scrolled into view. A plain "Get directions" link to your Maps listing works too. Publish opening hours as visible text (and in schema), and keep holiday hours updated on your Business Profile, since wrong hours are one of the most common reasons for bad local reviews.
<iframe src="https://www.google.com/maps/embed?pb=YOUR_EMBED_CODE" width="600" height="400" style="border:0" loading="lazy" referrerpolicy="no-referrer-when-downgrade" title="Map to Riverside Dental"> </iframe>
Your Google Business Profile does the heavy lifting
No on-page fix outranks a neglected Business Profile. Claim and verify it at business.google.com, choose the most accurate primary category (this is one of the strongest local ranking factors), add secondary categories, services, a description, real photos, and accurate hours. Ask every happy customer for a review and reply to all reviews, good and bad. Link from your site to the profile so visitors can read and leave reviews, and use the same NAP everywhere. Then list the business consistently on the major directories and data aggregators for your country.
Multi-location and service-area businesses
If you have several branches, give each one its own page with its own address, phone number, hours, map and LocalBusiness schema, and link each page from the matching Business Profile's website field. That's far stronger than a single "locations" page listing every address, because each page can rank for its own area and each profile points to the most relevant page. Use parentOrganization or a shared brand name to connect them, and make the content genuinely local: staff, opening hours, parking, nearby landmarks and photos of that branch.
{
"@context": "https://schema.org",
"@type": "Dentist",
"@id": "https://riversidedental.example/leeds/#clinic",
"name": "Riverside Dental Leeds",
"parentOrganization": { "@type": "Organization", "name": "Riverside Dental Group" },
"address": { "@type": "PostalAddress", "streetAddress": "12 High Street",
"addressLocality": "Leeds", "postalCode": "LS1 4AB", "addressCountry": "GB" }
}Service-area businesses, such as plumbers, cleaners and mobile mechanics who visit customers, can hide their address on their Business Profile and define the areas they serve instead. On the website, it's still worth showing a business address if you have a real office, and you can describe coverage with areaServed in your schema. Don't create pages for towns you don't actually serve, and don't use virtual offices or PO boxes as addresses, which breach Google's guidelines and risk suspension of the profile.
Finally, remember that local rankings are personal. Results change with the searcher's exact location, so a rank-tracking screenshot from your office tells you little about customers across town. Judge progress with the Business Profile performance report (calls, direction requests, website clicks) and with Search Console queries that include your city or "near me".
Publishing NAP and schema on WordPress, Shopify, Wix and Squarespace
WordPress
SEO plugins such as Yoast Local SEO, Rank Math (Local SEO module) or SEOPress can output LocalBusiness schema, opening hours and multiple locations from a settings page. Check you're not outputting two conflicting business schemas when a theme also adds its own.
Shopify
Shopify themes output Organization schema but rarely LocalBusiness. For a physical shop, add a JSON-LD block to theme.liquid (or a section on the contact page) and put the address and hours in the footer.
Wix and Squarespace
Both have business information settings that feed structured data. Fill in every field, and use the custom code or structured data panel only for what the built-in settings can't express.
How scoring works, and what an HTML-only read misses
The score is the share of applicable checks passed, with partial credit for warnings. Checks that can't apply, such as city placement when your schema has no city, are shown for guidance and left out of the score. We read the HTML as served, so details that only appear after JavaScript runs may be missed; if your footer is rendered client-side, consider server-rendering your NAP so every crawler sees it. For the full strategy, including citations, reviews and Business Profile optimisation, read our local SEO guide.