XooCode(){

FollowAction

FollowAction is an InteractAction subtype for social graph follows. Property: followee (Person / Organization).

Full example of schema.org/FollowAction json-ld markup

The markup is verified as valid with Rich Results Test from Google.

schema.org/FollowAction
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FollowAction",
  "agent": { "@type": "Person", "name": "Sam Xoo" },
  "followee": { "@type": "Organization", "name": "Dunmore Archive" }
}
</script>

Minimal valid version

The smallest markup that still produces a valid FollowAction 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/FollowAction (minimal)
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FollowAction",
  "followee": { "@type": "Person", "name": "Example user" }
}
</script>

Google rich results this unlocks

FollowAction 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). FollowAction becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.

Common FollowAction 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

    followee on the agent side

    Wrong
    agent = followee
    Right
    agent = follower; followee = followed party

    agent is always the person performing the action.

Also mentioned in 1 other example

FollowAction also appears in ProfilePage. See the full FollowAction schema page for every reference.

About the example data

Sam Xoo following the Dunmore Archive on social media.

Comments

Loading comments...

Leave a comment