> From the [Strife developer docs](https://strife.app/docs/reference/field-reference/fields.serp). Every page is listed in [llms.txt](https://strife.app/docs/llms.txt).

# fields.serp()

SEO metadata block (title, keywords, description).

SEO metadata block. `compile()` maps it to a single `str-serp` editor, so the content index returns one object under the field's property. Output is the canonical `Serp` from `@strifeapp/types` — `{ title, keywords, description }`.

SERP fields are typically per-locale, so `localizable: true` is the common case — each locale gets its own title/description.

## Example

```ts
fields.serp({
  label: 'SEO',
  localizable: true,
})
```

## Options

| Option         | Type      | Required | Description                                                                                     |
| -------------- | --------- | -------- | ----------------------------------------------------------------------------------------------- |
| `label`        | `string`  | Yes      | Label shown to editors in Strife Studio.                                                        |
| `localizable`  | `boolean` | No       | When `true`, output is `Record<string, Serp>` instead of `Serp`. Usually `true` for this field. |
| `propertyName` | `string`  | No       | Override the stored property name.                                                              |

When **Strife Intelligence** is on for the team, Studio suggests a title and a description from the document's content, in a card in the editor panel. Nothing is filled in until an editor accepts a suggestion. There is no DSL option for it: it follows the team's configuration.

## Output type

`Serp` (`{ title, keywords, description }`), or `Record<string, Serp>` when `localizable: true`.

## See also

* [Serp](https://strife.app/docs/reference/fields/serp.md) — the same editor, documented from the Strife Studio UI side.
