Improve the searchability of Service Portal pages by adding meta tags. You can add the meta name and description attributes to a page, define the robots attribute, or create dynamic meta tags for pages that load record data based on a URL parameter.

Before you begin

Role required: admin or sp_admin

Procedure

  1. Navigate to All > Service Portal > Pages.
  2. Open a page.
  3. Check that Public is selected.
    Pages that are not public are not indexed by external search engines.
  4. Click the Meta tags related list tab.
  5. Click New to create a new meta tag.
  6. Complete the form.
    A competed meta tag form for the sc_home page.
  7. Click Submit.
    The meta information is added to the page header. For example:
    <meta name="description" content="Order something from the Service Catalog">
  8. (Optional) Create a content variable to populate the content tag with record data.
    If the page loads record data based on one or more URL parameters, you can add meta tags generated from the record data.
    1. Open a meta tag record and check that the Content field contains a variable, or add a variable.
      Depending on the available URL parameters and the meta tag you would like to define, you can add the following types of values:
      Value types Description Example value
      One URL parameter variable Populates the content tag with the value defined in the associated content variables record. %description
      More than one URL parameter variable Populates the content tag with the values defined in the associated content variables records. %description %price
      Static value and a URL parameter variable Populates the content tag with a static value and the associated content variables record. Catalog item: %description

      A Meta Tag form that uses a variable in the Content field.

    2. In the Content variables related list, click New.
      The Content variables related list is only available after saving the meta tag record.
    3. Complete the form.
      Associate a field with a URL query parameter. When the value of the query parameter is used to display content, a field from the same record is used to generate the content tag. You can define the field to generate the content tag through the Table field field.

      If more than one content variables match a variable defined in the Content field of the meta tag record, the record with the earliest Created date is used.

    4. Click Submit.
      A competed content variable form that populates the description tag with the value of a sys_id parameter.
    The content tag loads record data. For example:
    <meta name="description" content="Apple iPad 3">