Поділитися через


GSA Analytics (Independent Publisher) (Preview)

This program helps government agencies understand how people find, access, and use government services online. The program does not track individuals and anonymizes the IP addresses of visitors.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Richard Wilson
URL https://www.richardawilson.com/
Email richard.a.wilson@microsoft.com
Connector Metadata
Publisher Richard Wilson
Website https://open.gsa.gov/api/site-scanning-api
Privacy policy https://www.gsa.gov/technology/government-it-initiatives/digital-strategy/terms-of-service-for-developer-resources
Categories IT Operations

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
GSA API Key securestring The GSA API key which can be obtained from https://open.gsa.gov/api/dap True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Get agency report data

Retrieves data from a specific report for a specific agency in the DAP.

Get domain report data

Retrieves data from a specific report for a specific domain in the DAP.

Get report data

Retrieves data from a specific report in the DAP.

Get agency report data

Retrieves data from a specific report for a specific agency in the DAP.

Parameters

Name Key Required Type Description
Agency name
agency_name True string

Name of the agency.

Report name
report_name True string

Name of the report.

Limit
limit integer

Limit the number of data points that are rendered. The default is 1000 and the max is 10,000.

Page
page integer

Pages through the results. If the limit is set to 1000, using page=2 will render the 1001st through 2000th data point.

After
after date

Limit the results to dates on or after the date specified. Expects YYYY-MM-DD.

Before
before date

Limit the results to dates on or before the date specified. Expects YYYY-MM-DD.

Returns

response
array of Reports

Get domain report data

Retrieves data from a specific report for a specific domain in the DAP.

Parameters

Name Key Required Type Description
Domain
domain True string

Name of the domain.

Report name
report_name True string

Name of the report.

Limit
limit integer

Limit the number of data points that are rendered. The default is 1000 and the max is 10,000.

Page
page integer

Pages through the results. If the limit is set to 1000, using page=2 will render the 1001st through 2000th data point.

After
after date

Limit the results to dates on or after the date specified. Expects YYYY-MM-DD.

Before
before date

Limit the results to dates on or before the date specified. Expects YYYY-MM-DD.

Returns

response
array of Reports

Get report data

Retrieves data from a specific report in the DAP.

Parameters

Name Key Required Type Description
Report name
report_name True string

Name of the report.

Limit
limit integer

Limit the number of data points that are rendered. The default is 1000 and the max is 10,000.

Page
page integer

Pages through the results. If the limit is set to 1000, using page=2 will render the 1001st through 2000th data point.

After
after date

Limit the results to dates on or after the date specified. Expects YYYY-MM-DD.

Before
before date

Limit the results to dates on or before the date specified. Expects YYYY-MM-DD.

Returns

response
array of Reports

Definitions

Reports

Name Path Type Description
ID
id integer

Generated unique identifier.

Report Name
report_name string

The name of the data point’s report.

Report Agency
report_agency string

The name of the data point’s agency.

Date
date string

The date the data in the data point corresponds to.

Active Visitors
active_visitors integer

The number of active visitors.

Average Session Duration
avg_session_duration number

The average duration of sessions.

Bounce Rate
bounce_rate number

The percentage of visitors who leave after viewing one page.

Browser
browser string

The browser used by the visitor.

City
city string

The city from which the visitor accessed the service.

Country
country string

The country from which the visitor accessed the service.

Device
device string

The type of device used by the visitor.

Domain
domain string

The domain accessed by the visitor.

Event Label
event_label string

The label for the event.

File Name
file_name string

The name of the downloaded file.

Hour
hour string

The hour of the day the data point corresponds to.

Landing Page
landing_page string

The landing page visited by the user.

Language
language string

The language setting of the user’s browser.

Language Code
language_code string

The ISO639 language code of the user’s device.

Mobile Device
mobile_device string

The type of mobile device used by the visitor.

Operating System
os string

The operating system of the visitor, e.g., Windows.

Operating System Version
os_version string

The version of the operating system of the visitor, e.g., Vista.

Page
page string

The path of the page visited.

Page Title
page_title string

The title of the page visited.

Pageviews
pageviews integer

The number of page views.

Pageviews per Session
pageviews_per_session integer

The number of page views per session.

Screen Resolution
screen_resolution string

The screen resolution of the visitor's device.

Session Default Channel Group
session_default_channel_group string

The default channel group for the session.

Source
source string

The source of the traffic.

Total Events
total_events integer

The total number of events.

Users
users integer

The number of users.

Visits
visits integer

The number of visits.