GoogleChrome / GoogleChrome/lighthouse

Add URL attribution in LH Report

Open
#15,008 1 comment 0 reactions 1 assignee Assigned to @alexnj View on GitHub
needs-design P2 third-party
Dominant language
JavaScript
Stars
30.8k
Forks
9.8k
Avg merge
1d 14h
Merged PRs (30d)
20

Description

With 10.1, we have all URLs classified against their responsible entities. It's now easy to identify a 1P/3P URL and understand who it belongs to. It would be good to provide further visibility into who "invited" a URL/entity in — essentially bringing in the full dependency information.

I'm visualizing this as a tooltip on any report URL. We could use dependency graph computed audit / `initiator` to find the parent of a URL, and expose it in LHR as a `Record` (or a minimum-prefix Trie structure if the URL payload increase is a concern).

PS: My mental model around this is: In 10.1 we added the answer to "Who are all in my party?". This should help answer better the question, "Who gave _this_ URL/entity the ticket in?". Since this information could benefit attribution of all URLs and not just 3Ps, it might be better implemented as a report-wide implementation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.