GoogleChromeLabs/ps-analysis-tool

Support for Aggregated CSV format for downloaded PSAT CLI Report

Opened this issue · 2 comments

Feature Request

Description:
After generating an aggregated report using PSAT CLI, the option to download the report should also provide and aggregated .csv file containing the top level cookie count data for each URL in the aggregate report

Motivation:
When downloading a PSAT report, an copy of the Aggregated HTML and URL specific .csv's are provided in the zip folder. This is useful, but to compare the cookie data across all the URLs the user must open each CSV file individually. Having a way to view all of the high level URL data in a single view would be helpful for analysis

User Story:
As a frequent PSAT CLI user, I want a complete high level view so that I can compare the 3P cookies blockage frequencies across a number of sites

Acceptance Criteria:

  • Downloaded zip folder contains report.html as well as a report.csv containing the Total, 1P and 3P cookie counts in a single top level csv file

Additional Information:

Thanks for the feature request @Dbrown910. This enhancement has been included into our priorities for an upcoming release. Will keep this issue open while we proceed with the implementation.

Hi @Dbrown910,

Thanks for the feature request!

This is now live in PSAT v0.11.0.

Update your CLI with

npm update -g @google-psat/cli

to access it.

When you generate an aggregated report and download the zip file, you'll find a new report.csv alongside the report.html. This CSV provides a single, top-level view of total, 1P, and 3P cookie counts for each URL in your report.

Let us know what you think!