TrackAction
TrackAction is a FindAction subtype for tracking the state of something (usually an Order shipment). Property: deliveryMethod (DeliveryMethod enum).
Full example of schema.org/TrackAction json-ld markup
The markup is verified as valid with Rich Results Test from Google.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "TrackAction",
"agent": { "@type": "Person", "name": "Dr Henrik Lund" },
"object": { "@type": "Order", "orderNumber": "XC-2026-0147" },
"deliveryMethod": "https://schema.org/ParcelService",
"target": { "@type": "EntryPoint", "urlTemplate": "https://xoocode.example/track?order={order}" }
}
</script>Minimal valid version
The smallest markup that still produces a valid TrackAction entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "TrackAction",
"object": { "@type": "Order", "orderNumber": "..." }
}
</script>Google rich results this unlocks
TrackAction is a structural type. It does not produce a rich result on its own.
Its value comes from combining it with a primary type whose markup earns a rich result (Article, Product, Event, and so on). TrackAction becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.
Common TrackAction mistakes
Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.
- 01
TrackAction without target EntryPoint
WrongTrackAction with no tracking URLRightAlways include target with urlTemplateGmail's tracking card renders from target.
Schema properties in this example
Also mentioned in 1 other example
TrackAction also appears in FindAction. See the full TrackAction schema page for every reference.
About the example data
Tracking the Xoo Code handbook package to Copenhagen.
Comments
Loading comments...