---
title: "Nuxt Hooks · Nuxt Schema.org · Nuxt SEO"
canonical_url: "https://nuxtseo.com/docs/schema-org/api/nuxt-hooks"
last_updated: "2026-08-16T10:05:27.453Z"
meta:
  description: "Learn how to use Nuxt hooks to modify your Schema.org output."
  "og:description": "Learn how to use Nuxt hooks to modify your Schema.org output."
  "og:title": "Nuxt Hooks · Nuxt Schema.org · Nuxt SEO"
---

Nuxt SEO on GitHub

Switch to Schema.orgSwitch to Nuxt SEOSwitch to RobotsSwitch to SitemapSwitch to OG ImageSwitch to Link CheckerSwitch to SEO UtilsSwitch to Site ConfigSwitch to Skew ProtectionSwitch to AI Ready

**Nuxt API**

# **Nuxt Hooks**

## `**'schema-org:meta'**`

**Type:** `**(meta: MetaInput) => void | Promise<void>**`

You can hook into the generation of the meta-data used to generate the [**~~Schema.org~~**](http://Schema.org) data.

For example, this can be useful for dynamically changing the host.

my-nuxt-plugin.ts

```ts
import { defineNuxtPlugin } from '#app'

export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.hooks.hook('schema-org:meta', (meta) => {
    if (nuxtApp._route.path === '/plugin-override') {
      meta.host = 'https://override-example.com'
      meta.url = `${meta.host}${meta.path}`
    }
  })
})
```

**Was this page helpful?**

[**useSchemaOrg()** Define Schema.org structured data for your pages using the useSchemaOrg composable.](https://nuxtseo.com/docs/schema-org/api/use-schema-org) [**v6.0.0** Release notes for Nuxt Schema.org v6.0.0.](https://nuxtseo.com/docs/schema-org/releases/v6)