You can add actions to your search result snippet that allow users to act on your content directly from the search result page. For example, this snippet lets users directly download a title without having to go to the page itself.

A Programmable Search Engine rich snippet featuring two actions

To add actions, you’ll need to add a PageMap (a block of code) to the <head> section of your page. Then create an "action" DataObject for each action, like this:

<DataObject type="action">
   <Attribute name="label" value="Download"/>
   <Attribute name="url" value=""/>
   <Attribute name="class" value="download"/>

(You can also use PageMaps to add custom attributes.)

Clear search
Close search
Google apps
Main menu
Search Help Center