---
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-08-22T01:54:13.515Z"
---

## Introduction

**Type:** `function useSchemaOrg(input: SchemaOrgInput): ActiveHeadEntry<UseHeadInput> | undefined`{lang="ts"}

Insert [Schema.org](http://Schema.org) structured data into your page.

In development mode your [Schema.org](http://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'
  })
])
```