---
title: "useSchemaOrg()"
description: "Define Schema.org structured data for your pages using the useSchemaOrg composable."
canonical_url: "https://nuxtseo.com/docs/schema-org/api/use-schema-org"
last_updated: "2026-05-12T08:30:41.121Z"
---

## Introduction

**Type:** `function useSchemaOrg(input: SchemaOrgInput): ActiveHeadEntry<UseHeadInput> | undefined`

Insert Schema.org structured data into your page.

In development mode your Schema.org will be reactive, but once you deploy you'll notice that it's static.

This is because the composable only works in a server-side context by default outside of development for performance reasons.
You'll need to enable the [reactive](/docs/schema-org/api/config#reactive) module configuration if you'd like to use this client-side.

## Usage

```ts
import { useSchemaOrg } from '#imports'

useSchemaOrg([
  defineWebPage({
    name: 'Hello World'
  })
])
```
