Search
Clear search
Close search
Google apps
Main menu

Enhance your organization's website even more with Google Site Search.

Actions

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 Google Custom Search 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="http://www.scribd.com/document_downloads/20258723?extension=pdf"/>
   <Attribute name="class" value="download"/>
</DataObject>
-->

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