{
    "version" : "https://jsonfeed.org/version/1",
    "content" : "news",
    "type" : "single",
    "title" : "Experimenting with SpecialAnnouncement Markup (Updated June 09, 2020) |Digital.gov",
    "description": "Experimenting with SpecialAnnouncement Markup (Updated June 09, 2020)",
    "home_page_url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/","feed_url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/2020/05/11/experimenting-with-specialannouncement-markup/index.json","item" : [
    {"kicker" : "Findability","title" :"Experimenting with SpecialAnnouncement Markup (Updated June 09, 2020)","deck" : "What USA.gov learned during its pilot with SpecialAnnouncement markup to make COVID-19 information easier to find in search results.","summary" : "What USA.gov learned during its pilot with SpecialAnnouncement markup to make COVID-19 information easier to find in search results, now updated to reflect changes by major search engines.","date" : "2020-05-11T12:00:00-05:00","date_modified" : "2025-01-27T19:42:55-05:00","authors" : {"david-kaufmann" : "David Kaufmann"},"topics" : {
        
            "communication" : "Communication",
            "content-strategy" : "Content strategy",
            "customer-experience" : "Customer experience",
            "search-engine-optimization" : "Search engine optimization"
            },"primary_image" : { "uid" : "usagov-specialannouncement", "alt" :
  "", "width" :
  "1656", "height" :
  "734", "credit" :
  "", "caption" :
  "", "format" :
  "png" },"branch" : "bc-archive-content-3",
      "filename" :"2020-05-11-experimenting-with-specialannouncement-markup.md",
      
      "filepath" :"news/2020/05/2020-05-11-experimenting-with-specialannouncement-markup.md",
      "filepathURL" :"https://github.com/GSA/digitalgov.gov/blob/bc-archive-content-3/content/news/2020/05/2020-05-11-experimenting-with-specialannouncement-markup.md",
      "editpathURL" :"https://github.com/GSA/digitalgov.gov/edit/bc-archive-content-3/content/news/2020/05/2020-05-11-experimenting-with-specialannouncement-markup.md","slug" : "experimenting-with-specialannouncement-markup","url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/2020/05/11/experimenting-with-specialannouncement-markup/","weight" : "1","content" :"\u003ch2 id=\"introduction\"\u003eIntroduction\u003c/h2\u003e\n\u003cp\u003ePlease note that we’ve updated this article since its original publication. Key changes include:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eSpecialAnnouncement markup is now being used to \u003ca href=\"#what-might-search-engines-do-with-specialannouncement-markup\"\u003edisplay rich results\u003c/a\u003e in search engines.\u003c/li\u003e\n\u003cli\u003eYou can now \u003ca href=\"#how-do-i-know-if-my-markup-is-valid\"\u003epreview what results look like\u003c/a\u003e using Google’s rich results tester.\u003c/li\u003e\n\u003cli\u003eGoogle Search Console is now reporting on impressions and clicks for SpecialAnnouncement rich results.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eThe American people need access to the most up-to-date, trusted information on coronavirus.\u003c/p\u003e\n\u003cp\u003eOn April 15, 2020, \u003ca href=\"https://www.whitehouse.gov/articles/connecting-americans-coronavirus-information-online/\"\u003ea blog post from the White House\u003c/a\u003e directed that federal government websites add “SpecialAnnouncement” schema.org tags on web pages with information pertaining to the coronavirus pandemic to help ensure these critical resources appear in search engine results.\u003c/p\u003e\n\u003cp\u003eBelow, based on our experience with schema.org tags on USA.gov, we explain how to do it, and what to expect. Please note that all aspects of this will be changing over time, including how search engines present information from web pages with these tags, and which tags they look for. We’ll update this content as we learn new information.\u003c/p\u003e\n\u003ch2 id=\"what-are-schemaorg-tags\"\u003eWhat are schema.org tags\u003c/h2\u003e\n\u003cp\u003eSearch engines try to learn about our web pages to provide good matches for their users’ searches. To do this, they gather more information than just the visible content on a page. There are lots of other types of data that search engines can use about a page, which website managers can share in the code of their sites.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://schema.org/docs/gs.html\"\u003eSchema.org is an example\u003c/a\u003e. Created together by major search engines, the schema.org tags let you tell search engines about your content, so that they can better understand it. The tags create structure within unstructured web page data. For example, websites might use the schema.org tags to tell search engines that the breadcrumbs on their webpages are breadcrumbs, and then search engines can show these breadcrumbs in search results.\u003c/p\u003e\n\u003cp\u003eSimilarly, search engines won’t be able to interpret different paragraphs of text appropriately without signals as to the type of content. USA.gov uses \u003ca href=\"https://schema.org/FAQPage\"\u003eFAQPage\u003c/a\u003e, a type of schema.org markup, to tell them that some of the headings on our pages are questions and the text that follows are answers; search engines use these to create special results that show full question and answer content from that website within search results pages. SpecialAnnouncement is one of the many Schema.org types.\u003c/p\u003e\n\u003ch2 id=\"what-is-specialannouncement\"\u003eWhat is SpecialAnnouncement\u003c/h2\u003e\n\u003cp\u003eThe \u003ca href=\"https://schema.org/SpecialAnnouncement\"\u003eSpecialAnnouncement\u003c/a\u003e markup allows web pages to identify themselves as containing new and important information for the public concerning the coronavirus response. It also lets search engines provide a category for that type of information. Because these are announcements, they’re expected to apply for a limited amount of time, so expiration dates can be set. All of this data about the page can be used by search engines to present the page as a special or “rich” result to their users. These rich results are eye-catching to readers through modified layout, symbol and color.\u003c/p\u003e\n\u003cp\u003eThe major search engines have published guidance on how they will interpret your use of SpecialAnnouncement. They also shared information about how they actually support the data by using it in search results.\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://developers.google.com/search/docs/data-types/special-announcements\"\u003eGoogle’s SpecialAnnouncement documentation\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.bing.com/webmaster/help/special-announcement-specifications-5cbd6249\"\u003eBing’s SpecialAnnouncement documentation\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eSchema.org also has lots of detailed \u003ca href=\"https://schema.org/SpecialAnnouncement\"\u003einformation about SpecialAnnouncement\u003c/a\u003e. In most cases, the search engine documentation should be sufficient to get you going.\u003c/p\u003e\n\u003ch2 id=\"what-might-search-engines-do-with-specialannouncement-markup\"\u003eWhat might search engines do with SpecialAnnouncement markup\u003c/h2\u003e\n\u003cp\u003eAt the minimum, using SpecialAnnouncement can help search engines learn about important information that we disseminate to the public. In some circumstances, search engines are using the markup to generate rich results that display the tagged information in an eye-catching way. Search engines may replace a page’s standard listing in a results page with a rich result. Or, if a page ranks very highly for a certain query, a search engine may place the rich result in a prominent place. As discussed below, SpecialAnnouncement markup does not improve the ranking of a page, but it can trigger a rich result that can both draw user attention and feature the text included in the markup. Here is a recent example of a SpecialAnnouncement rich result with the accordioned content open and visible:\u003c/p\u003e\n\n\n\n\n\n\n\n\u003cdiv class=\"image\"\u003e\n  \u003cimg\n        src=\"https://s3.amazonaws.com/digitalgov/rich-results-in-serp.png\"alt=\"SpecialAnnouncement rich result for the CDC\u0026#39;s \u0026#34;Cases in the U.S.\u0026#34; webpage\"/\u003e\u003c/div\u003e\n\n\n\u003ch2 id=\"does-my-page-need-this-markup\"\u003eDoes my page need this markup\u003c/h2\u003e\n\u003cp\u003eYes, any web page your agency publishes about coronavirus needs this markup.\u003c/p\u003e\n\u003cp\u003eIn \u003ca href=\"https://www.whitehouse.gov/articles/connecting-americans-coronavirus-information-online/\"\u003eConnecting Americans to Coronavirus Information Online\u003c/a\u003e, “The White House Office of Science and Technology Policy (OSTP) and Office of Management and Budget (OMB) directed Federal Chief Information Officers to incorporate these new Schema.org standard tags into all federally maintained web pages related to COVID-19.” When a government web page that announces information about our coronavirus pandemic response includes SpecialAnnouncement markup, it will help search engines fine-tune their support for our information. And, having markup on your pages now means that they are ready for special treatment in results pages.\u003c/p\u003e\n\u003cp\u003eIn the event that it is not possible to add the markup to every page that might be appropriate, here are some considerations USA.gov has used to prioritize.\u003c/p\u003e\n\u003ch3 id=\"learn-about-your-pages-position-in-search-results\"\u003eLearn about your page’s position in search results\u003c/h3\u003e\n\u003cp\u003ePeople who use search engines have questions. Our websites often have answers, but to be visible, we have to beat out other websites. When dealing with whether or not a rich result appears for your page, you enter the often murky world of search engine optimization (SEO). As confusing as it can be, there are some clear basic steps that we can take to make our pages friendly to search engines. A good place to start is with \u003ca href=\"https://support.google.com/webmasters/answer/9781983?hl=en\"\u003ethis advice from Google for government agencies and health organizations\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eThe major search engine companies also provide tools that let you see how your pages rank in results for individual search terms. These tools in \u003ca href=\"https://search.google.com/search-console/about\"\u003eGoogle Search Console\u003c/a\u003e and \u003ca href=\"https://www.bing.com/webmaster/help/help-center-661b2d18\"\u003eBing Webmaster Tools\u003c/a\u003e can help you get the data you need to make choices about a page and improve its ranking. If a page is not appearing in a high position for any query, no rich results will ever be triggered.\u003c/p\u003e\n\u003ch3 id=\"start-with-pages-that-already-rank-high\"\u003eStart with pages that already rank high\u003c/h3\u003e\n\u003cp\u003eAdding the markup will not improve the results ranking for any given page. A page won’t be listed higher in search results pages than it normally would by adding the markup. But while using schema.org tags like this does not improve position in search results, if a page already ranks highly for a certain query and that page has supported schema.org markup on it, the special treatment for that page’s listing may be triggered.\u003c/p\u003e\n\u003ch2 id=\"what-information-do-you-need-to-create-the-markup\"\u003eWhat information do you need to create the markup\u003c/h2\u003e\n\u003cp\u003eUSA.gov found we actually do not need much more information to create the markup. Because it is based on content we already have within the web page, it is pretty easy to create each field required by the markup.\u003c/p\u003e\n\u003cp\u003eAs with all markup formats, SpecialAnnouncement creates structure within unstructured web page data. That means it applies signals to certain information in the page, as if assigning that information to fields in a database. Choosing the values for the categories it wants is sort of like filling out a form. It’s best to explore those categories using the documentation from the major search engines. For example, here is \u003ca href=\"https://developers.google.com/search/docs/data-types/special-announcements#data-type-definitions\"\u003ethe list from Google\u003c/a\u003e. The list of mandatory fields you need to provide values for is very short; there are also options to choose fields depending on the topic of your page.\u003c/p\u003e\n\u003cp\u003eThe main categories to answer are:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eThe name of your announcement, which is basically a very short headline version.\u003c/li\u003e\n\u003cli\u003eThe category of your announcement, from a list or freeform text if none are applicable.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eDepending on the category you choose, there may be more choices for extra information you can provide. Also consider the expiration date field.\u003c/p\u003e\n\u003cp\u003eIf you still have questions, there is a \u003ca href=\"https://developers.google.com/search/docs/data-types/special-announcements#troubleshooting\"\u003eGoogle SpecialAnnouncement support group\u003c/a\u003e you can join. You can also join Digital.gov’s \u003ca href=\"https://digital.gov/communities/web-content-managers/\"\u003eweb content managers community\u003c/a\u003e to ask and answer questions of your federal government peers.\u003c/p\u003e\n\u003ch2 id=\"how-do-i-get-the-markup-on-the-page\"\u003eHow do I get the markup on the page\u003c/h2\u003e\n\u003cp\u003eUSA.gov’s preferred method for putting SpecialAnnouncement information onto pages is by coding it using JSON-LD, and then putting this code into the “head” section of the web page’s code. JSON-LD is a computer language that is just for data. It allows for simple pairs of categories and a value, and it allows for hierarchies. We prefer this method for several reasons. It is supported by multiple search engines, it’s easy for them to read, and it’s separate from the other parts of your code so it can be inserted and adjusted without breaking things.\u003c/p\u003e\n\u003cp\u003eIf you are unable to get developer support to add JSON-LD to your web page, Google provides a form within your Search Console account to submit SpecialAnnouncements. There are some limitations to this approach, however - you have to have a Google Search Console account, the announcements have early expiration dates, and Bing and other search engines do not get the information.\u003c/p\u003e\n\u003ch3 id=\"managing-specialannouncement-pages-over-time\"\u003eManaging SpecialAnnouncement pages over time\u003c/h3\u003e\n\u003cp\u003eAdding new markup code with original content to individual web pages in this manner may be outside of your normal workflow, so you’ll need to add some new steps. You will need a way to keep track of this “hidden” content that you add to each web page. If possible, define a strategy for which markup you’ll add to which types of pages, and assign those pages to particular content types. You can then add the markup fields to the page template for that content type, which will allow you to make global changes as needed, and target items for regular review.\u003c/p\u003e\n\u003cp\u003eIf the markup can’t be managed holistically, the expiration date field can be of some service, because once the announcement has expired in the search engines, it won’t have any impact.\u003c/p\u003e\n\u003ch2 id=\"how-do-i-know-if-my-markup-is-valid\"\u003eHow do I know if my markup is valid\u003c/h2\u003e\n\u003cp\u003eSearch engines provide validation tools for structured data. These tools allow you to submit a url for a web page, and then test to see if the code is correct for the types of structured data that the search engine supports. If there’s a problem, they can give you some clues on how to fix it. The Bing tool requires a \u003ca href=\"https://www.bing.com/toolbox/webmaster\"\u003eBing Webmaster Tools\u003c/a\u003e account. The \u003ca href=\"https://search.google.com/test/rich-results\"\u003eGoogle rich results tester\u003c/a\u003e does not have such a requirement. Both tools know to look for and check SpecialAnnouncement. Google’s rich results tester now provides a preview of the rich result too. The style does not match what we are seeing in actual search results, but the structure, interactivity, and text are the same.\u003c/p\u003e\n\u003cp\u003eHere is an example of a preview of the rich result from above, but with the accordion closed:\u003c/p\u003e\n\n\n\n\n\n\n\n\u003cdiv class=\"image\"\u003e\n  \u003cimg\n        src=\"https://s3.amazonaws.com/digitalgov/rich-results-test.png\"alt=\"Screen capture shows the preview of SpecialAnnouncement for the Cases in the U.S. CDC webpage with the accordion closed in Google Rich Results Test.\"/\u003e\u003c/div\u003e\n\n\n\u003cp\u003eUSA.gov tests its code before we put it on a page. The rich results tester allows us to test pasted-in code, as well. It expects full page html, not just a block of JSON-LD, so to perfectly recreate what our page will be like with the code, we copy the page’s code into the tester, then we paste the new JSON-LD \u003ccode\u003e\u0026lt;script\u0026gt;\u003c/code\u003e block into the head section of the page html already in the tester. Then, we run the test. (Tip: Remember to surround the JSON-LD with a \u003ccode\u003e\u0026lt;script\u0026gt;\u003c/code\u003e tag as shown in the documentation.)\u003c/p\u003e\n\u003cp\u003eIf you’re not a developer, but you’re writing the JSON-LD yourself, another tip is to copy a sample piece of code from the search engine documentation. Then, open a simple text editor like NotePad or TextEdit and turn off formatting so that it is only plain text. Paste in the sample code. Then, just change the parts you need to. Avoid using formatted text from a word processing program. Also, remember to put a backslash (\u003ccode\u003e\\\u003c/code\u003e) in front of quotation marks in href code if you provide hyperlinks within the “Text” field.\u003c/p\u003e\n\u003cp\u003eIf your code is on a page and working, and you have access to Google Search Console or Bing Webmaster Tools, they provide forms so you can let them know that your page has been updated and therefore should be re-indexed soon.\u003c/p\u003e\n\u003cp\u003eThese tools also list the pages from your website that they have discovered to contain the markup and whether or not they are  valid.  If your markup is not valid, and you make a change to try to fix it, you can request that the search engine re-index your page in order to evaluate the change.\u003c/p\u003e\n\u003ch2 id=\"how-do-i-know-if-my-markup-is-being-used-by-search-engines\"\u003eHow do I know if my markup is being used by search engines\u003c/h2\u003e\n\u003cp\u003eIn addition to revealing what marked up pages have been discovered, Google Search Console now reveals whether rich results based on SpecialAnnouncement markup have been shown to users (a metric called Impressions) and resulted in a referral to your page (called a Click). Here is an example of this data from the USA.gov Search Console account:\u003c/p\u003e\n\n\n\n\n\n\n\n\u003cdiv class=\"image\"\u003e\n  \u003cimg\n        src=\"https://s3.amazonaws.com/digitalgov/search-console-data.png\"alt=\"Data from the USA.gov Search Console account showing clicks and impressions over the past week\"/\u003e\u003c/div\u003e\n\n\n\u003cp\u003eWe will update this page as things change and as we learn more.\u003c/p\u003e\n\u003cp\u003ePlease \u003ca href=\"https://digital.gov/communities/web-content-managers/\"\u003ejoin the web content managers community\u003c/a\u003e to ask your questions and share news, findings, and results on this and other issues related to managing government digital content. If you have screenshots of SpecialAnnouncement rich results for any of your web pages, or Search Console data demonstrating their use by a search engine, please share.\u003c/p\u003e\n"}
  ]
}
