How to add JSON-LD to a business website
JSON-LD gives search engines a machine-readable description of information already visible on a page. Complete the generator with the same business name, street address, city, postal code, telephone number, and website shown to visitors. This consistency is the foundation of useful NAP schema markup.
Copy the complete script and paste it into the HTML of the most relevant page. The document head is a convenient location, although JSON-LD can also appear in the body. In WordPress or another CMS, use a theme setting or a reputable code-injection field that preserves script tags. In React, TanStack, or another framework, add the script through the route's head metadata so server-rendered HTML includes it.
Keep one authoritative version per business location. If a company has separate locations with distinct addresses or phone numbers, create location pages and give each page matching markup. Never add ratings, services, opening times, or locations that visitors cannot verify on the page.