Some of the things a scan hands you are code you paste rather than work you do: structured data describing your business, the business details it is missing, share preview tags, a viewport tag, and a contact block for your footer. Every one goes in one of two places, and on every modern platform both places are a box in your settings rather than a file you edit.
The two places
Everything labelled Get the code on a finding belongs in one of these.
The head of your pages. Structured data, the missing business details and the viewport tag go here, inside
<head>and before the closing tag. Platforms call this box header code, custom code, or code injection. Share preview tags go in the head too, but of one page at a time, which the section below explains.Your site footer. The contact block goes here, on every page, as text rather than inside an image. A machine cannot read a phone number in a picture.
Structured data only needs to be on your homepage to count for this check, though putting it on your main service pages as well is better. The viewport tag belongs on every page, and every platform that has a header box applies it site-wide already.
Share previews, one page at a time
When somebody pastes a link to your site into a message, a post or an AI chat, the card that appears is built from share preview tags: og:title, og:description and og:image. Without them the platform guesses, which usually means a cropped logo or no picture at all.
Look for share fields on each page first. Most SEO plugins and site builders have a social or share section in each page’s settings, with a title, a description and an image. Filling those in writes the tags for you, and it survives a redesign.
Otherwise paste each block into its own page. The file holds one block per page, and the comment above each block names the page. Share preview tags describe one page, so a block pasted into a site-wide header box would give every page on your site the same card.
Replace the image slot with a real picture.
YOUR SHARE IMAGE URLneeds the full address of an image at least 1200 by 630 pixels. A photo of your own work beats your logo.
The file only lists the tags each page is missing. A page that already has a share title keeps its own, because two copies leave the platform to pick one.
Business details, added to what you have
The business details file adds the facts your structured data leaves out, from where you work and your phone number to your opening hours and your website address. It joins the business description your site already publishes, so it never replaces anything.
Fill every capitalised slot, or delete that line.
YOUR OPENING DAYSleft in the file is worse than no opening hours, because it is published as your answer.Use the same details everywhere. The phone number and address must match your footer and your Google listing exactly. Two versions of one number make a machine less sure the two are the same business.
Paste it once, in the header box. It has to be on your homepage. A site-wide header box is fine for this one, because the same business is true on every page.
Check it worked
Load your homepage and view source. Search the page for
application/ld+json. If it is there, the structured data is live.Run it through the Rich Results Test. Paste your address into Google's Rich Results Test and it will tell you whether anything is malformed, and list the telephone and opening hours it found.
Preview a shared link. Paste a page address into LinkedIn's Post Inspector, or view that page’s source and search for
og:image. The picture, title and description should be that page’s own.Re-run your scan. These checks are deterministic, so if the code is live the finding changes on the next run rather than eventually.
The commonest mistake is pasting into the body box rather than the header box. If the Rich Results Test finds nothing, that is almost always why.
What it moves
Structured data is the heaviest of these by some distance. The finding itself prints what it is worth on your scan, written as X of Y points, because the total depends on how many checks applied to your site. A check going from a warning to a pass is worth half of one going from a failure to a pass.
All of them sit in Site setup, which is the score you control directly and the one that moves first. Whether the engines then name you more often is a slower question, and nothing here promises it.
If your screens do not look like this, the wording has moved rather than the setting. Search your platform for the words in bold above. If you still cannot find it, send us the scan link and we will tell you where it is on your setup.