Add Software Application JSON-LD structured data to a page
seo-in-astro provides the LayoutForSoftwareApp component to easily add Software Application JSON-LD structured data to a page.
Using the LayoutForSoftwareApp component
Section titled “Using the LayoutForSoftwareApp component”-
Import the
LayoutForSoftwareAppcomponent into every page where you want to generate the JSON-LD data.pages/task-manager.astro ---import LayoutForSoftwareApp from "@dlcastillop/seo-in-astro/LayoutForSoftwareApp";---<LayoutForSoftwareApptitle="Task Manager Pro"description="A powerful task management application to organize your work and boost productivity."ogImg="/og-task-manager.png"softwareName="Task Manager Pro"softwareDescription="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,}}scriptId="app-json-ld"><main><h1>Task Manager Pro</h1></main></LayoutForSoftwareApp> -
Check the generated JSON-LD by inspecting the head element of your page.
Related
Section titled “Related”View related API references.
LayoutForSoftwareApp API Reference for the LayoutForSoftwareApp component.