SEO and Meta

SEO and Meta tags are used to improve the visibility and ranking of your website in search engines.
For more information on sitemaps, take a look at the sitemaps page.

Composables

When you enable the seo option in the module configuration, the module will add the useStatamicSeo composable to your project.

Almost all SEO metadata will be automatically configured based on the data from the Statamic CMS.

app/pages/blogs/[...slug].vue
<script setup lang="ts">
const { data, error } = await useStatamicPage();
useStatamicPageErrorHandler(error);

useStatamicSeo(data);
</script>