Appearance Queries

An overview of the available site appearance queries

Types of Appearance Queries

Appearance Queries can further be divided into two categories:

  • Channel Appearances (Require lookup by company hash)

  • Content Appearances (Require lookup by content ID)

Channel Appearances

Channel Appearances identify how the company and related content were accessed on a particular channel (such as Website, Print and Newsletter). Channel Appearances are queried using the company hash and a date range using the format of { start: "YYYY-MM", end: "YYYY-MM" }. It will return the following data for each:

Website Channel Appearances

Includes content metadata and website metrics -- notably the following:

  • Views: The number of times the company was viewed, including the profile page and related content.

  • Users : The total number of users that viewed the company (and related content).

  • Rows: A breakout of the above data by each distinct content item.

chevron-rightExample queryhashtag
GraphQL query
query { 
  websiteAppearances(input: {
    companyHash: "COMPANY_HASH_GOES_HERE",
    monthRange: { start: "2022-01", end: "2022-12" }
  }) { 
    views
    users
    rows { 
      views 
      uniqueUsers
      content {
        id
        name
        type 
        published 
        primarySite { 
          id
          name
          title
          shortName
          host
        } 
      } 
    } 
  } 
}
JSON response
{
  "data": {
    "websiteAppearances": {
      "views": 323,
      "users": 235,
      "rows": [
        {
          "views": 64,
          "uniqueUsers": 54,
          "content": {
            "id": 22131807,
            "name": "Content name",
            "type": "Product",
            "published": "2022-03-24T14:59:31.000Z",
            "primarySite": {
              "id": "5f179a9900d6f47b4c98ddec",
              "name": "Website Name",
              "title": "Website Name (WSN)",
              "shortName": "WSN",
              "host": "www.website.com"
            }
          }
        }
        // ...
      ]
    }
  }
}

Includes content and print issue metadata.

chevron-rightExample queryhashtag

Newsletter Channel appearances

Includes content and newsletter deployment metadata.

chevron-rightExample queryhashtag

Content Appearances

Content Appearances identify where the individual content item appeared in the channel. Like Channel Appearances, this query identifies where the content item appeared within a channel, and supports a date range using the same format as above.

Content Website Appearances

The contentWebsiteAppearances query returns website section metadata for each location where the content was scheduled.

chevron-rightExample queryhashtag

Content Print Appearances

The contentPrintAppearances query returns magazine issue metadata for each location where the content was scheduled.

chevron-rightExample queryhashtag

Content Newsletter Appearances

The contentNewsletterAppearances query returns newsletter deployment metadata for each location where the content was scheduled.

chevron-rightExample queryhashtag

Last updated