> English translation of `notes_fr/definitions_sites.md`, made on November 24, 2026 with an AI model (Anthropic's Claude). The French file is the original and prevails wherever the two differ. In the text below, file names and code identifiers are those of the working repository; some differ from the names in this archive.

# Phase A: definitions of the variables read on the websites (written on November 21, 2026 at about 20:50 Paris time, before any analysis)

These rules fix, before looking at the results, how the predictors of H4, H5, H6 and H8 are measured. They make the
text registered on OSF (kyqmh) more precise without changing it, except for the declared departure for H6.

## Which page

- The page read is the "website" address of the Google Maps listing, as it is (for a chain, it is often the page of the
  location), after redirects. A single GET request per address, plus robots.txt.
- Declared crawler: `FoundByNameResearch/1.0 (+https://foundbyname.com/study/ai-local-search)`. A page disallowed by
  robots.txt is not read (missing value).
- An unreachable site (network error, HTTP code ≥ 400, 20 s timeout exceeded, non-HTML response) is "not reachable".
- A social network or directory address (facebook.com, instagram.com, linkedin.com, x.com, twitter.com, yelp.com,
  tiktok.com, youtube.com, linktr.ee, google.com) is not the business's own website: not reachable for H4, H5, H8.
- Visible text: the HTML without `script`, `style`, `noscript`, `template`, `svg`. A page with fewer than 300 characters of
  visible text (often a page rendered entirely in JavaScript) is "empty": H5 and H8 are missing for it, H4 is read all the
  same (the JSON-LD is in the HTML).
- What is kept: the derived values below, the HTTP code, the final address, the length of the text and a SHA-256
  fingerprint of the HTML. The HTML itself is not kept.

## H4: JSON-LD markup

`schema_org = 1` if a `<script type="application/ld+json">` block of the page contains an object (at the top level, in
`@graph` or in a list) one of whose `@type` values is `Organization`, `LocalBusiness` or one of their subtypes in the
schema.org vocabulary (version frozen in `ref/schemaorg-current-https.jsonld`). The types found are kept.

## H5: home page content

`content_ok = 1` if the visible text (lowercased) contains all three:
1. a trade word (list below, "trade words" column);
2. the name of the city of the market (or the city of the listing);
3. at least one service from the trade's list ("services" column).

| trade | trade words | services |
|---|---|---|
| dentist | dentist, dental, dentistry | implant, crown, cleaning, whitening, invisalign, root canal, veneer, filling, extraction, orthodont |
| personal-injury-lawyer | injury, accident lawyer, accident attorney, law firm, attorney, lawyer | car accident, truck accident, slip and fall, wrongful death, motorcycle, dog bite, workers comp, medical malpractice |
| med-spa | med spa, medspa, medical spa, aesthetic, medical aesthetics | botox, filler, laser, hydrafacial, microneedling, coolsculpting, chemical peel, dysport, iv therapy, weight loss |
| plumber | plumber, plumbing | water heater, drain, leak, sewer, pipe, toilet, garbage disposal, faucet, gas line |
| hvac-contractor | hvac, heating, air conditioning, cooling, heating and air | furnace, air conditioner, heat pump, duct, thermostat, ac repair, ac installation, boiler, mini split |
| roofer | roofing, roofer, roof | shingle, roof repair, roof replacement, storm damage, gutter, metal roof, roof inspection, flat roof, hail |
| veterinarian | veterinar, animal hospital, vet clinic, pet hospital | vaccin, spay, neuter, dental, surgery, wellness, exam, microchip, emergency |
| chiropractor | chiropract | adjustment, back pain, neck pain, sciatica, massage, spinal decompression, headache, posture |
| real-estate-agent | real estate, realtor, realty | buy, sell, listing, home valuation, first-time, homes for sale, relocation |
| auto-repair-shop | auto repair, auto service, mechanic, car repair, automotive | brake, oil change, transmission, engine, alignment, tire, diagnostic, suspension, ac repair |

Words are searched for as beginnings of words ("veterinar" finds "veterinary").

## H8: consistency of name, address and phone

- Name: all the distinctive words of the listing's name (rule `seq` of Edition 1, the part before a separator) are in the
  visible text.
- Address: the street number and the first word of the street name of the listing are in the visible text.
- Phone: the 10 digits of the listing's phone number appear in the visible text or in a `tel:` link.
- `nap_consistent = 1` if all three are found; 0 otherwise. A listing without a street address (service area) is judged on
  the name and the phone alone. The three indicators are also kept one by one.

## H6: declared departure

The registration planned to check presence in a directory "where checkable within the sites' terms". Yelp (terms 7.2(10) and
7.2(14), API 5(d), 9 and 13) and the search APIs (Brave, terms of September 1, 2026, §3(b)(i) and §3(b)(xiii)) do not
allow it. Measure adopted, weaker: `links_yelp = 1` if the home page contains a link to `yelp.com/biz/`,
`links_healthgrades = 1` if it contains a link to `healthgrades.com`. It measures "the business itself links to its
directory listing", not presence in the directory. H6 is therefore tested on this measure and the departure is stated in
the article.
