XooCode(){

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.

schema.org/TrackAction
<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.

schema.org/TrackAction (minimal)
<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.

  1. 01

    TrackAction without target EntryPoint

    Wrong
    TrackAction with no tracking URL
    Right
    Always include target with urlTemplate

    Gmail's tracking card renders from target.

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...

Leave a comment