Add Software Application JSON-LD structured data to a page
seo-in-nextjs provides the JsonLdForSoftwareApp component to easily add Breadcrumb JSON-LD structured data to a page.
Using the JsonLdForSoftwareApp component
Section titled “Using the JsonLdForSoftwareApp component”-
Import the
JsonLdForSoftwareAppcomponent into every page where you want to generate the JSON-LD data.app/task-manager/page.tsx import { JsonLdForSoftwareApp } from "@dlcastillop/seo-in-nextjs";export default function TaskManagerPage() {return (<><JsonLdForSoftwareAppname="Task Manager Pro"description="A powerful task management application to organize your work and boost productivity."operatingSystem="Windows, macOS, Linux"category="BusinessApplication"offer={{price: 29.99,currency: "USD",}}rating={{value: 4.5,count: 1250,}}scriptKey="app-json-ld"/><main><h1>Task Manager Pro</h1>{/* Your content */}</main></>);} -
Check the generated JSON-LD by inspecting the body element of your page.
Related
Section titled “Related”View related API references.
JsonLdForSoftwareApp API Reference for the JsonLdForSoftwareApp component.