18F / analytics.usa.gov

The US federal government's web traffic.

Home Page:https://analytics.usa.gov

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bounce rate dataset is empty

cresharper opened this issue · comments

What kind of issue?

  • Feature Request?
  • [ x] Bug

User story

Please provide us with a description of the issue as a user story
As a , I would like to , so that I can .

I can't/don't know how to access bounce rate dataset for treasury.

per the documentation:

The URL for the API is https://api.gsa.gov/analytics/dap/v2.0.0, and it exposes 3 routes to query data:

/reports/<report name>/data
/agencies/<agency name>/reports/<report name>/data
/domain/<domain>/reports/<report name>/data

I do bounce rate like this:

https://api.gsa.gov/analytics/dap/v2.0.0/agencies/treasury/reports/bounce_rate/data?api_key=MYAPIKEY

I get nothing, just an empty array. Why?

Acceptance Criteria

  • - not applicable

Notes

Tasks (Optional)

Thank you for the report. We have identified a bug in the V2 API around some agency-specific data and are working to address the issue. We'll post updates as they come.

The issue with missing data has been resolved. All documented routes in the API should have data now from August 2024 to the present.

However, there is no documented report for bounce_rate in the DAP API docs. I do see that bounce_rate is incorrectly noted as a field that can be returned, because none of the reports that the API delivers have this field.

If bounce rate is a desired metric for your purposes, please make a feature request by emailing dap@gsa.gov