CINXE.COM

Metadata and tags you should include in your website | Search.gov

<!DOCTYPE html> <html lang="en"> <head> <!-- Basic Page Needs ================================================== --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Mobile Specific Metas ================================================== --> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Favicons ================================================== --> <link rel="apple-touch-icon" sizes="180x180" href="https://search.gov/assets/img/favicons/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="https://search.gov/assets/img/favicons/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="https://search.gov/assets/img/favicon-16x16.png"> <link rel="manifest" href="https://search.gov/assets/img/favicons/site.webmanifest"> <link rel="mask-icon" href="https://search.gov/assets/img/favicons/safari-pinned-tab.svg" color="#5bbad5"> <link rel="shortcut icon" href="https://search.gov/assets/img/favicons/favicon.ico"> <meta name="msapplication-TileColor" content="#da532c"> <meta name="msapplication-config" content="https://search.gov/assets/img/favicons/browserconfig.xml"> <meta name="theme-color" content="#ffffff"> <!-- CSS ================================================== --> <link type="text/css" href="/assets/css/styles.css" rel="stylesheet" /> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-N56JXGD');</script> <!-- End Google Tag Manager --> <!-- Begin Jekyll SEO tag v2.8.0 --> <title>Metadata and tags you should include in your website | Search.gov</title> <meta name="generator" content="Jekyll v4.3.2" /> <meta property="og:title" content="Metadata and tags you should include in your website" /> <meta property="og:locale" content="en_US" /> <meta name="description" content="Search.gov, like other search engines, relies on structured data to help inform how we index your content and how it is presented in search results. You should also read up on the metadata and structured data used by Google and Bing." /> <meta property="og:description" content="Search.gov, like other search engines, relies on structured data to help inform how we index your content and how it is presented in search results. You should also read up on the metadata and structured data used by Google and Bing." /> <link rel="canonical" href="https://search.gov/indexing/metadata.html" /> <meta property="og:url" content="https://search.gov/indexing/metadata.html" /> <meta property="og:site_name" content="Search.gov" /> <meta property="og:type" content="article" /> <meta property="article:published_time" content="2020-09-01T00:00:00+00:00" /> <meta name="twitter:card" content="summary" /> <meta property="twitter:title" content="Metadata and tags you should include in your website" /> <script type="application/ld+json"> {"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2022-12-08T00:00:00+00:00","datePublished":"2020-09-01T00:00:00+00:00","description":"Search.gov, like other search engines, relies on structured data to help inform how we index your content and how it is presented in search results. You should also read up on the metadata and structured data used by Google and Bing.","headline":"Metadata and tags you should include in your website","mainEntityOfPage":{"@type":"WebPage","@id":"https://search.gov/indexing/metadata.html"},"url":"https://search.gov/indexing/metadata.html"}</script> <!-- End Jekyll SEO tag --> <!-- Custom Fields --> <meta name="searchgov_custom1" content='["indexing",,"seo"]'> <meta name="searchgov_custom2" content="admin-center"> <!-- End Custom Fields --> </head> <body> <!-- Google Tag Manager (noscript) --> <noscript><iframe sandbox src="https://www.googletagmanager.com/ns.html?id=GTM-N56JXGD" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <a class="usa-skipnav" href="#main-content">Skip to main content</a> <div class="usa-banner"> <div class="usa-accordion"> <section id="gov-banner-header-section" aria-label="USA Gov banner section header" class="usa-banner__header" > <div class="usa-banner__inner"> <div class="grid-col-auto"> <img src="/assets/uswds/img/us_flag_small.png" class="usa-banner__header-flag" alt="U.S. flag" /> </div> <div class="grid-col-fill tablet:grid-col-auto"> <p class="usa-banner__header-text"> An official website of the United States government </p> <p class="usa-banner__header-action" aria-hidden="true"> Here’s how you know </p> </div> <button class="usa-accordion__button usa-banner__button" aria-expanded="false" aria-controls="gov-banner" > <span class="usa-banner__button-text">Here's how you know</span> </button> </div> <div class="usa-banner__content usa-accordion__content" id="gov-banner"> <div class="grid-row grid-gap-lg"> <div class="usa-banner__guidance tablet:grid-col-6"> <img src="/assets/uswds/img/icon-dot-gov.svg" class="usa-banner__icon usa-media-block__img" alt="Dot gov" /> <div class="usa-media-block__body"> <p> <strong>Official websites use .gov</strong><br />A <strong>.gov</strong> website belongs to an official government organization in the United States. </p> </div> </div> <div class="usa-banner__guidance tablet:grid-col-6"> <img src="/assets/uswds/img/icon-https.svg" class="usa-banner__icon usa-media-block__img" alt="Https" /> <div class="usa-media-block__body"> <p> <strong>Secure .gov websites use HTTPS</strong><br />A <strong>lock</strong> ( <span class="icon-lock" ><svg xmlns="http://www.w3.org/2000/svg" width="52" height="64" viewBox="0 0 52 64" class="usa-banner__lock-image" role="img" aria-labelledby="banner-lock-title-default banner-lock-description-default" focusable="false" > <title id="banner-lock-title-default">Lock</title> <desc id="banner-lock-description-default">A locked padlock</desc> <path fill="#000000" fill-rule="evenodd" d="M26 0c10.493 0 19 8.507 19 19v9h3a4 4 0 0 1 4 4v28a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V32a4 4 0 0 1 4-4h3v-9C7 8.507 15.507 0 26 0zm0 8c-5.979 0-10.843 4.77-10.996 10.712L15 19v9h22v-9c0-6.075-4.925-11-11-11z" /> </svg> </span >) or <strong>https://</strong> means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites. </p> </div> </div> </div> </div> </section> </div> </div> <div class="usa-overlay"></div> <header class="usa-header usa-header--extended" role="banner"> <div class="usa-navbar"> <div class="usa-logo"> <em class="usa-logo__text"> <a href="/" title="Home" aria-label="Home"> <img src="/assets/images/mag-white.svg" class="logo" alt="Search.gov Logo" width="30" height="30" /> <span>search.gov</span> </a> </em> </div> <button class="usa-menu-btn">Menu</button> </div> <nav role="navigation" class="usa-nav"> <div class="usa-nav__inner"> <button class="usa-nav__close"><img src="/assets/uswds/img/close.svg" alt="close" /></button> <ul class="usa-nav__primary usa-accordion"> <li class="usa-nav__primary-item"> <button class="usa-accordion__button usa-nav__link" aria-expanded="false" aria-controls="primary-nav-1"><span>About Us</span></button> <ul id="primary-nav-1" class="usa-nav__submenu"> <li class="usa-nav__submenu-item"> <a href="/about/">About Us</a> </li> <li class="usa-nav__submenu-item"> <a href="/about/why-choose-searchgov.html">Why Choose Search.gov?</a> </li> <li class="usa-nav__submenu-item"> <a href="/about/customers.html">Customers</a> </li> <li class="usa-nav__submenu-item"> <a href="/about/policy/">Search.gov in Policy</a> </li> <li class="usa-nav__submenu-item"> <a href="/about/updates/year-in-review/">Year in Review</a> </li> <li class="usa-nav__submenu-item"> <a href="/about/security.html">Security and Compliance</a> </li> <li class="usa-nav__submenu-item"> <a href="/about/updates/roadmap/">Our Product Roadmap</a> </li> <li class="usa-nav__submenu-item"> <a href="/about/updates/releases/">Release Notes</a> </li> <li class="usa-nav__submenu-item"> <a href="/about/updates/newsletters/">Newsletters</a> </li> <li class="usa-nav__submenu-item"> <a href="/about/feedback.html">Share Your Feedback</a> </li> <li class="usa-nav__submenu-item"> <a href="/developer/">For Developers</a> </li> </ul> </li> <li class="usa-nav__primary-item"> <button class="usa-accordion__button usa-nav__link" aria-expanded="false" aria-controls="primary-nav-2"><span>Get Started</span></button> <ul id="primary-nav-2" class="usa-nav__submenu"> <li class="usa-nav__submenu-item"> <a href="/get-started/">Get Started With Search.gov</a> </li> <li class="usa-nav__submenu-item"> <a href="/get-started/account.html">Sign Up/Create an Account</a> </li> <li class="usa-nav__submenu-item"> <a href="/get-started/site-launch-guide.html">Site Launch Guide</a> </li> <li class="usa-nav__submenu-item"> <a href="/get-started/go-live.html">Going live with Search.gov: Checklist</a> </li> <li class="usa-nav__submenu-item"> <a href="/admin-center/display/hosted-vs-api-results.html">Results Page Feature Comparison</a> </li> <li class="usa-nav__submenu-item"> <a href="/get-started/searchgov-for-cloudgov-pages.html">Cloud.gov Pages Integration</a> </li> <li class="usa-nav__submenu-item"> <a href="/get-started/learn.html">Training and Resources</a> </li> <li class="usa-nav__submenu-item"> <a href="/indexing/redesign.html">Website Redesign Tips</a> </li> </ul> </li> <li class="usa-nav__primary-item"> <button class="usa-accordion__button usa-nav__link" aria-expanded="false" aria-controls="primary-nav-3"><span>Manage Your Search Site</span></button> <ul id="primary-nav-3" class="usa-nav__submenu"> <li class="usa-nav__submenu-item"> <a href="/admin-center/index.html">Full Help Manual</a> </li> <li class="usa-nav__submenu-item"> <a href="/admin-center/dashboard/users.html">Add or Remove Users</a> </li> <li class="usa-nav__submenu-item"> <a href="/admin-center/dashboard/add-site.html">Add a Site</a> </li> <li class="usa-nav__submenu-item"> <a href="/admin-center/content/domains.html">Add Domains</a> </li> <li class="usa-nav__submenu-item"> <a href="/admin-center/analytics/index.html">Manage Your Search Analytics</a> </li> <li class="usa-nav__submenu-item"> <a href="/get-started/site-launch-guide.html#add-features">Add Search Features</a> </li> <li class="usa-nav__submenu-item"> <a href="/indexing/redesign.html">Website Redesign Tips</a> </li> </ul> </li> <li class="usa-nav__primary-item"> <button class="usa-accordion__button usa-nav__link" aria-expanded="false" aria-controls="primary-nav-4"><span>Index With Search.gov</span></button> <ul id="primary-nav-4" class="usa-nav__submenu"> <li class="usa-nav__submenu-item"> <a href="/indexing/indexing-with-searchgov.html">Start Here</a> </li> <li class="usa-nav__submenu-item"> <a href="/indexing/what-searchgov-indexes.html">What We Index</a> </li> <li class="usa-nav__submenu-item"> <a href="/indexing/ranking-factors.html">Relevance Ranking</a> </li> <li class="usa-nav__submenu-item"> <a href="/indexing/sitemaps-to-search-sites.html">How a Page Becomes a Search Result</a> </li> <li class="usa-nav__submenu-item"> <a href="/indexing/indexing-workflow.html">Indexing Step-By-Step</a> </li> <li class="usa-nav__submenu-item"> <a href="/indexing/metadata.html">Metadata and Tags</a> </li> <li class="usa-nav__submenu-item"> <a href="/indexing/pdf-metadata.html">PDF Metadata</a> </li> <li class="usa-nav__submenu-item"> <a href="/indexing/redesign.html">Website Redesign Tips</a> </li> </ul> </li> <li class="usa-nav__primary-item"> <a class="usa-nav__link" href="/support.html"><span>Support</span></a> </li> <li class="usa-nav__primary-item"> <a class="usa-nav__link" href="/developer/"><span>For Developers</span></a> </li> </ul> <div class="usa-nav__secondary"> <ul class="usa-button-group"> <li class="usa-button-group__item"> <a href="/status.html" class="usa-button usa-button--unstyled system-status">System Status</a> </li> <li class="usa-button-group__item"> <a href="https://search.usa.gov/signup" class="usa-button usa-button--unstyled sign-in">Sign up</a> </li> <li class="usa-button-group__item"> <a href="https://search.usa.gov/sites" class="usa-button login">Login</a> </li> </ul> <form id="search_form" class="usa-search usa-search--small" action="https://find.search.gov/search" accept-charset="UTF-8" method="get"> <input name="utf8" type="hidden" value="&#x2713;" /> <input name="affiliate" type="hidden" value="usasearch" /> <label class="usa-sr-only" for="search_form">Search</label> <div role="search"> <label class="usa-sr-only" for="extended-search-field-small">Search suggestions</label> <input class="usa-input usagov-search-autocomplete" id="extended-search-field-small" type="search" name="query" autocomplete="off"> <button class="usa-button" type="submit"> <img src="/assets/uswds/img/usa-icons-bg/search--white.svg" class="usa-search__submit-icon" alt="Search"> </button> </div> </form> </div> </div> </nav> </header> <div class="usa-layout-docs usa-section"> <div id="main-container" class="grid-container"> <div class="grid-row grid-gap"> <aside class="sidenav" id="page-side-navigation" aria-label="Section navigation"> <ul class="site-sidenav usa-sidenav"> <li class="usa-sidenav__item"> <a href="/about/"> About </a> </li> <li class="usa-sidenav__item"> <a href="/get-started/"> Get Started </a> </li> <li class="usa-sidenav__item"> <a href="/admin-center/"> Admin Center </a> </li> <li class="usa-sidenav__item is-current"> <a href="/indexing/"> Manage your index </a> <ul class="usa-sidenav__sublist"> <li class="usa-sidenav__item is-current"> <a href="/indexing/what-searchgov-indexes.html"> What Search.gov Indexes From Your Website </a> </li> <li class="usa-sidenav__item is-current"> <a href="/indexing/ranking-factors.html"> How Search.gov Ranks Your Search Results </a> </li> <li class="usa-sidenav__item is-current"> <a href="/indexing/sitemaps-to-search-sites.html"> How a Page on a Sitemap Becomes a Search Result </a> </li> <li class="usa-sidenav__item is-current"> <a href="/indexing/indexing-workflow.html"> A Step-By-Step Indexing Workflow </a> </li> <li class="usa-sidenav__item is-current"> <a href="/get-started/training.html#how-engines-index">How Search Engines Index Your Website (Webinar)</a> </li> <li class="usa-sidenav__item is-current"> <a href="/indexing/sitemaps.html"> All About XML Sitemaps </a> </li> <li class="usa-sidenav__item is-current"> <a href="/indexing/robotstxt.html"> /robots.txt Files </a> </li> <li class="usa-sidenav__item is-current"> <a href="/indexing/metadata.html"> Metadata and Tags You Should Include in Your Website </a> </li> <li class="usa-sidenav__item is-current"> <a href="/indexing/pdf-metadata.html"> How to improve PDF discoverability </a> </li> <li class="usa-sidenav__item is-current"> <a href="/indexing/how-search-engines-index-content-better-discoverability.html"> How to Get Search Engines to Index the Right Content for Better Discoverability </a> </li> </ul> </li> <li class="usa-sidenav__item"> <a href="/support.html"> Support </a> </li> <li class="usa-sidenav__item"> <a href="/developer/"> For Developers </a> </li> </ul> </aside> <article class="usa-layout-docs__main desktop:grid-col-9 usa-prose article"> <main id="main-content"> <h1 class="title">Metadata and tags you should include in your website</h1> <p>Search.gov, like other search engines, relies on structured data to help inform how we index your content and how it is presented in search results. You should also read up on the metadata and structured data used by <a href="https://support.google.com/webmasters/answer/79812?hl=en">Google</a> and <a href="https://www.bing.com/webmaster/help/marking-up-your-site-with-structured-data-3a93e731">Bing</a>.</p> <p>Including the following tags and metadata in each of your pages will improve the quality of your content’s indexing, as well as results ranking. We also encourage you to read about more <a href="https://www.semrush.com/blog/semantic-html5-guide/">HTML5 semantic markup</a> you can include in your websites.</p> <p>This page will be updated over time as we add more tag-based indexing functions and ranking factors to our service.</p> <p>Details on what we index for PDFs can be found in our <a href="/indexing/pdf-metadata.html">PDF Metadata documentation</a>.</p> <div class="usa-summary-box" role="region" aria-labelledby="summary-box-key-information"> <div class="usa-summary-box__body"> <h3 class="usa-summary-box__heading" id="summary-box-key-information"> Supported Metadata </h3> <div class="usa-summary-box__text"> <ul class="usa-list"> <li> <a class="usa-summary-box__link" href="#main-page-content">Main Content</a> </li> <li> <a class="usa-summary-box__link" href="#title">Title</a> </li> <li> <a class="usa-summary-box__link" href="#description">Description</a> </li> <li> <a class="usa-summary-box__link" href="#tags--keywords">Tags</a> </li> <li> <a class="usa-summary-box__link" href="#created-date">Created Date</a> </li> <li> <a class="usa-summary-box__link" href="#changed-date">Changed Date</a> </li> <li> <a class="usa-summary-box__link" href="#crawling-metadata">Crawling Metadata</a> </li> <li> <a class="usa-summary-box__link" href="#thumbnail-image">Thumbnail Image</a> </li> <li> <a class="usa-summary-box__link" href="#audience">Audience</a> </li> <li> <a class="usa-summary-box__link" href="#content-type">Content Type</a> </li> <li> <a class="usa-summary-box__link" href="#searchgov-custom-fields">Search.gov Custom Fields</a> </li> </ul> </div> </div> </div> <h3 id="fields-by-type">Fields by Type</h3> <table class="usa-table usa-table--compact"> <thead> <tr> <th style="text-align: left"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name">Standard Fields</a></th> <th style="text-align: left"><a href="https://ogp.me/">OpenGraph Fields</a></th> <th style="text-align: left"><a href="https://www.dublincore.org/">DublinCore Fields</a></th> </tr> </thead> <tbody> <tr> <td style="text-align: left"><a href="#main-page-content"><code class="language-plaintext highlighter-rouge">&lt;main&gt;</code></a></td> <td style="text-align: left"><a href="#title"><code class="language-plaintext highlighter-rouge">og:title</code></a></td> <td style="text-align: left"><a href="#tags--keywords"><code class="language-plaintext highlighter-rouge">dcterms.keywords</code></a></td> </tr> <tr> <td style="text-align: left"><a href="#title"><code class="language-plaintext highlighter-rouge">&lt;title&gt;</code></a></td> <td style="text-align: left"><a href="#description"><code class="language-plaintext highlighter-rouge">og:description</code></a></td> <td style="text-align: left"><a href="#tags--keywords"><code class="language-plaintext highlighter-rouge">dc.subject</code></a></td> </tr> <tr> <td style="text-align: left"><a href="#description"><code class="language-plaintext highlighter-rouge">description</code></a></td> <td style="text-align: left"><a href="#tags--keywords"><code class="language-plaintext highlighter-rouge">article:section</code></a></td> <td style="text-align: left"><a href="#tags--keywords"><code class="language-plaintext highlighter-rouge">dcterms.subject</code></a></td> </tr> <tr> <td style="text-align: left"><a href="#tags--keywords"><code class="language-plaintext highlighter-rouge">keywords</code></a></td> <td style="text-align: left"><a href="#tags--keywords"><code class="language-plaintext highlighter-rouge">article:tag</code></a></td> <td style="text-align: left"><a href="#audience"><code class="language-plaintext highlighter-rouge">dcterms.audience</code></a></td> </tr> <tr> <td style="text-align: left"><a href="#crawling-metadata"><code class="language-plaintext highlighter-rouge">robots</code></a></td> <td style="text-align: left"><a href="#created-date"><code class="language-plaintext highlighter-rouge">article:published_time</code></a></td> <td style="text-align: left"><a href="#content-type"><code class="language-plaintext highlighter-rouge">dc.type</code></a></td> </tr> <tr> <td style="text-align: left"> </td> <td style="text-align: left"><a href="#changed-date"><code class="language-plaintext highlighter-rouge">article:modified_time</code></a></td> <td style="text-align: left"><a href="#content-type"><code class="language-plaintext highlighter-rouge">dcterms.type</code></a></td> </tr> <tr> <td style="text-align: left"> </td> <td style="text-align: left"><a href="#thumbnail-image"><code class="language-plaintext highlighter-rouge">og:image</code></a></td> <td style="text-align: left"><a href="#created-date"><code class="language-plaintext highlighter-rouge">dc.date</code></a></td> </tr> <tr> <td style="text-align: left"> </td> <td style="text-align: left"> </td> <td style="text-align: left"><a href="#created-date"><code class="language-plaintext highlighter-rouge">dc.date.created</code></a></td> </tr> <tr> <td style="text-align: left"> </td> <td style="text-align: left"> </td> <td style="text-align: left"><a href="#created-date"><code class="language-plaintext highlighter-rouge">dcterms.created</code></a></td> </tr> </tbody> </table> <h3 id="main-page-content">Main Page Content</h3> <p>We look for the following fields:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;main&gt; &lt;div role="main"&gt; </code></pre></div></div> <ul> <li><strong>Detail:</strong> Allows the search engine to target the actual content of the page and avoid headers, sidebars and other page content not useful to search. Read more about the <a href="/indexing/how-search-engines-index-content-better-discoverability.html#main-element"><code class="language-plaintext highlighter-rouge">&lt;main&gt;</code> element</a>.</li> <li><strong>Data Gathering Logic:</strong> If the <code class="language-plaintext highlighter-rouge">&lt;main&gt;</code> tag is present, we will use that field. If not, we will take the first HTML element with a <code class="language-plaintext highlighter-rouge">role="main"</code>. If neither <code class="language-plaintext highlighter-rouge">&lt;main&gt;</code> nor <code class="language-plaintext highlighter-rouge">role="main"</code> are present, we will capture all content in the <code class="language-plaintext highlighter-rouge">&lt;body&gt;</code> tag. If none of those tags are present, we index everything in the <code class="language-plaintext highlighter-rouge">&lt;html&gt;</code> tag.</li> <li><strong>Used In:</strong> Query matching, term frequency scoring</li> </ul> <h3 id="title">Title</h3> <p>We look for the following fields:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;title&gt; &lt;meta property="og:title" content="Example" /&gt; </code></pre></div></div> <ul> <li><strong>Detail:</strong> Unique title of the page. If you want to include the agency or section name, place that after the actual page title. We use the <code class="language-plaintext highlighter-rouge">og:title</code> property as the result title if it appears to be more substantive than the <code class="language-plaintext highlighter-rouge">&lt;title&gt;</code> tag. Note, Open Graph elements are used to display previews of your content in FaceBook and some other social media platforms.</li> <li><strong>Data Gathering Logic:</strong> We collect both fields, and use whichever is longer in search results. If both are blank, we will use the URL as the title of the document.</li> <li><strong>Used In:</strong> Query matching, term frequency scoring</li> </ul> <h3 id="description">Description</h3> <p>We look for the first instance of the following fields:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;meta property="og:description" content="Example" /&gt; &lt;meta name="description" content="Example" /&gt; &lt;meta name="dc.description" content="Example" /&gt; </code></pre></div></div> <ul> <li><strong>Detail:</strong> Your well crafted, plain language summary of the page content. This will often be used by search engines in place of a page snippet. Be sure to include the keywords you want the page to rank well for. Best to limit to 160 characters, so it will not be truncated. Read more technical <a href="https://moz.com/learn/seo/meta-description">background and guidance</a>. Note, Open Graph elements are used to display previews of your content in FaceBook and some other social media platforms.</li> <li><strong>Used In:</strong> Query matching, term frequency scoring</li> </ul> <h3 id="tags--keywords">Tags &amp; Keywords</h3> <p>We look for the following fields:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;meta name="keywords" content="example, example 2, example 3" /&gt; &lt;meta name="dcterms.keywords" content="example" /&gt; &lt;meta name="dc.subject" content="example" /&gt;` &lt;meta name="dcterms.subject" content="example" /&gt; &lt;meta name="article:tag" content="example" /&gt; &lt;meta name="article:section" content="example" /&gt; </code></pre></div></div> <ul> <li><strong>Detail:</strong> While not often used by commercial search engines due to <a href="https://support.google.com/webmasters/answer/66358?hl=en">keyword stuffing</a>, Search.gov indexes your keywords, if you have added them.</li> <li><strong>Data Gathering Logic:</strong> We pull all fields listed into one “Tags” field for searching and faceted search (metadata-driven results filtering). We also dedupe keywords so that our <code class="language-plaintext highlighter-rouge">Tags</code> field only contains unique terms. Each keyword will be treated as a unique term when searching and filtering content.</li> <li><strong>Used In:</strong> Query matching, term frequency scoring, faceted search (metadata-driven results filtering, currently available via the Results API)</li> </ul> <h3 id="created-date">Created Date</h3> <p>We look for the following fields:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;meta property="article:published_time" content="YYYY-MM-DD" /&gt; &lt;meta name="dc.date" content="YYYY-MM-DD" /&gt; &lt;meta name="dc.date.created" content="YYYY-MM-DD" /&gt;` &lt;meta name="dcterms.created" content="YYYY-MM-DD" /&gt; </code></pre></div></div> <ul> <li><strong>Detail:</strong> The date fields are listed in order of preference. We only accept one <code class="language-plaintext highlighter-rouge">created</code> date, and use this list to determine the fallback options. Exact time is optional; read more technical <a href="https://en.wikipedia.org/wiki/ISO_8601">background and guidance</a>.</li> <li><strong>Used In:</strong> Page freshness scoring, faceted search (metadata-driven results filtering, currently available via the Results API)</li> </ul> <h3 id="changed-date">Changed Date</h3> <p>We look for the following field:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;meta property="article:modified_time" content="YYYY-MM-DD" /&gt; </code></pre></div></div> <ul> <li><strong>Detail:</strong> Exact time is optional; read more technical <a href="https://en.wikipedia.org/wiki/ISO_8601">background and guidance</a>. <!-- The `<lastmod>` field is included in XML sitemaps to signal to search engines when a page was last modified. Search.gov collects this metadata in case there is no `article:modified_time` data included in the page itself. --></li> <li><strong>Used In:</strong> Page freshness scoring, faceted search (metadata-driven results filtering, currently available via the Results API)</li> </ul> <h3 id="robots-meta-tag---crawling-directive">Robots meta tag - Crawling directive</h3> <p>We look for the following field:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;meta name="robots" content="..., ..." /&gt; </code></pre></div></div> <ul> <li><strong>Detail:</strong> Use the <a href="/indexing/how-search-engines-index-content-better-discoverability.html#robots">meta robots tag</a> to block the search engine from indexing a particular page.</li> <li><strong>Used In:</strong> Used during indexing, does not affect relevance ranking.</li> </ul> <h3 id="thumbnail-image">Thumbnail Image</h3> <p>We look for the following field:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;meta property="og:image" content="https://example.gov/my-image-url.jpg" /&gt; </code></pre></div></div> <ul> <li><strong>Detail:</strong> An image associated to the content. Ideally, this image serves well as a thumbnail on both our search results page and on social media platforms.</li> <li><strong>Used In:</strong> Results page display (upcoming feature for hosted results, currently available via the Results API)</li> </ul> <h3 id="audience">Audience</h3> <p>We look for the following field:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;meta name="dcterms.audience" content="example"&gt; </code></pre></div></div> <ul> <li><strong>Detail:</strong> The intended audience of the page.</li> <li><strong>Used In:</strong> Query matching and faceted search (metadata-driven results filtering, currently available via the Results API)</li> </ul> <h3 id="content-type">Content Type</h3> <p>We look for the following fields:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;meta name="dc.type" content="example"&gt; &lt;meta name="dcterms.type" content="example"&gt; &lt;meta name="og:type" content="example"&gt; </code></pre></div></div> <ul> <li><strong>Detail:</strong> The content type of the page. We combine these fields into one “Content Type” field for searching and filtering.</li> <li><strong>Used In:</strong> Faceted search (metadata-driven results filtering, currently available via the Results API)</li> </ul> <h3 id="searchgov-custom-fields">Search.gov Custom Fields</h3> <p>We look for the following fields:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;meta name="searchgov_custom1" content="..., ..., ..."&gt; &lt;meta name="searchgov_custom2" content="..., ..., ..."&gt; &lt;meta name="searchgov_custom3" content="..., ..., ..."&gt; </code></pre></div></div> <ul> <li><strong>Detail:</strong> These fields can support any text content that you want to offer in your faceted search options (metadata-driven results filtering). The fields accept single values or list-type content. Each listed value will be treated as a unique term when searching and filtering content.</li> <li><strong>Used In:</strong> Query matching, faceted search (currently available via the Results API)</li> </ul> </main> </div> </div> </div> </div> <footer> <div id="survey-goes-here"></div> <section class="usa-section site-links"> <div class="grid-container"> <div class="grid-row flex-row flex-justify"> <div class="tablet:grid-col-3"> <h2>Our Service</h2> <ul> <li><a href="/about/">About Us</a></li> <li><a href="/about/customers.html">Customers</a></li> <li><a href="/about/policy/">Search.gov in Policy</a></li> <li><a href="/about/feedback.html">Submit Feature Requests</a></li> </ul> </div> <div class="tablet:grid-col-3"> <h2>Our System</h2> <ul> <li><a href="/about/updates/releases/">Release Notes</a></li> <li><a href="/about/updates/roadmap/">Product Roadmap</a></li> <li><a href="/about/security.html">Security and Compliance</a></li> <li><a href="/developer/">For Developers</a></li> <li><a href="/about/policy/tos.html">Terms of Service</a></li> </ul> </div> <div class="tablet:grid-col-3"> <h2>Contact Us</h2> <ul> <li><a href="mailto:search@gsa.gov">Email</a></li> </ul> </div> <div class="tablet:grid-col-3"> <h2>More TTS Services</h2> <ul> <li><a href="https://digital.gov/guides/dap/">Digital Analytics Program</a></li> <li><a href="https://cloud.gov/pages/">Cloud.gov Pages</a></li> <li><a href="https://cloud.gov/">Cloud.gov</a></li> <li><a href="https://login.gov/">Login.gov</a></li> <li><a href="https://www.gsa.gov/about-us/organization/federal-acquisition-service/technology-transformation-services/tts-solutions">More TTS Solutions</a></li> </ul> </div> </div> </div> </section> <div class="usa-identifier"> <section class="usa-identifier__section usa-identifier__section--masthead" aria-label="Agency identifier"> <div class="usa-identifier__container"> <div class="usa-identifier__logos"> <a href="https://www.gsa.gov" class="usa-identifier__logo"> <img src="/assets/images/gsa-logo.svg" class="usa-identifier__logo-img" alt="GSA logo" role="img" /> <!-- <img class="" src="/assets/images/gsa-logo.svg" alt="GSA logo" role="img"> --> </a> </div> <div class="usa-identifier__identity" aria-label="Agency description"> <p class="usa-identifier__identity-domain">search.gov</p> <p class="usa-identifier__identity-disclaimer"> An official website of the GSA's <a href="https://gsa.gov/tts">Technology Transformation Services</a> </p> </div> </div> </section> <nav class="usa-identifier__section usa-identifier__section--required-links" aria-label="Important links"> <div class="usa-identifier__container"> <ul class="usa-identifier__required-links-list"> <li class="usa-identifier__required-links-item"> <a href="https://www.gsa.gov/about-us" class="usa-identifier__required-link"> About GSA </a> </li> <li class="usa-identifier__required-links-item"> <a href="https://www.gsa.gov/website-information/website-policies#accessibility" class="usa-identifier__required-link"> Accessibility </a> </li> <li class="usa-identifier__required-links-item"> <a href="https://www.gsa.gov/reference/freedom-of-information-act-foia" class="usa-identifier__required-link usa-link"> FOIA requests </a> </li> <li class="usa-identifier__required-links-item"> <a href="https://www.gsa.gov/website-information/website-policies#privacy" class="usa-identifier__required-link usa-link"> Privacy policy </a> </li> <li class="usa-identifier__required-links-item"> <a href="https://www.gsa.gov/website-information/website-policies" class="usa-identifier__required-link usa-link"> Website policies </a> </li> </ul> </div> </nav> <section class="usa-identifier__section usa-identifier__section--usagov" aria-label="Government information and services"> <div class="usa-identifier__container"> <div class="usa-identifier__usagov-description">Have a question about government services?</div> <a href="https://www.usa.gov/" class="usa-link">Contact USA.gov</a> </div> </section> </div> </footer> <!-- Digital Analytics Program roll-up, see https://analytics.usa.gov for data --> <script id="_fed_an_ua_tag" src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=GSA&subagency=TTS" ></script> <script src="/assets/js/app.js"></script> <script src="/assets/js/uswds-init.js"></script> <script src="/assets/js/uswds.js"></script> <script> var usasearch_config = { siteHandle: "usasearch" }; </script> <script async src="https://search.usa.gov/javascripts/remote.loader.js" type="text/javascript"></script> <script src="https://touchpoints.app.cloud.gov/touchpoints/b5daa2ee/js" async></script> <script type="text/javascript" src="//script.crazyegg.com/pages/scripts/0007/9651.js" async="async"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10