Step 2: Generate Common Reports

Introduction

Now that you’ve seen how to make synchronous and asynchronous reports, let’s use that knowledge to create a few more reports you may be interested in.

Searches for Listings

In this report we will request the SEARCHES, BING_SEARCHES and GOOGLE_SEARCH_QUERIES metrics broken down by WEEKS.

The SEARCHES metric will return Searches across all our Extended Network Publishers while BING_SEARCHES and GOOGLE_SEARCH_QUERIES will return data for Searches on Bing and Google respectively.

{
  "metrics": [
    "SEARCHES",
    "BING_SEARCHES",
    "GOOGLE_SEARCH_QUERIES"
  ],
  "dimensions": [
    "WEEKS"
  ],
  "filters": {
    "startDate": "2021-01-01",
    "endDate": "2021-04-01"
  }
}

Listings Views by Entity

In this report we will request the PROFILE_VIEWS, YELP_PAGE_VIEWS and GOOGLE_SEARCH_VIEWS broken down by ENTITY_IDS.

The PROFILE_VIEWS metric will return Page Views for your Listings across our Extended Network Publishers while the YELP_PAGE_VIEWS and GOOGLE_SEARCH_VIEWS will return data for Page Views on Yelp and Google respectively.

{
  "metrics": [
    "PROFILE_VIEWS",
    "YELP_PAGE_VIEWS",
    "GOOGLE_SEARCH_VIEWS"
  ],
  "dimensions": [
    "DAYS",
    "ENTITY_IDS"
  ],
  "filters": {
    "startDate": "2021-04-01",
    "endDate": "2021-04-15"
  }
}

Searches and Clicks by Day

In this report we will request the ANSWERS_SEARCHES and ANSWERS_CLICKS broken down by ANSWERS_SEARCH_TERM.

The ANSWERS_SEARCHES metric will return the number of times someone conducted a search on your Search experience while the ANSWERS_CLICKS metric will return how many times a click occurred.

{
  "metrics": [
    "ANSWERS_SEARCHES",
    "ANSWERS_CLICKS"
  ],
  "dimensions": [
    "ANSWERS_SEARCH_TERM"
  ],
  "filters": {
    "startDate": "2021-04-01",
    "endDate": "2021-04-15"
  }
}

As you can tell from these examples, there are a number of reports you can generate using the Analytics API.

Feedback