Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider applying filtering before prioritization during attribution step #523

Open
johnivdel opened this issue Jul 25, 2022 · 3 comments
Open
Assignees
Labels
possible-future-enhancement Feature request with no current decision on adoption

Comments

@johnivdel
Copy link
Contributor

Related to #491

The browser first finds the highest priority impression, then checks if it matches filters before attributing it. This means, if there are two impression with the same priority, where the first matches and the latter does not, the adtech will not receive a report.

@apasel422
Copy link
Collaborator

Would a source whose destination and reporting origin match those of the trigger but whose filter data does not match the trigger's filters be deleted?

In other words, would the criteria for matchingSources be changed to include the filter matching under this proposal? Or just the subsequent steps for finding the highest-priority element of matchingSources whose filter data matches?

@csharrison csharrison added the possible-future-enhancement Feature request with no current decision on adoption label Jun 26, 2023
@alois-bissuel
Copy link
Contributor

Digging up this old issue, we would be quite interested to have the filtering step done before the attribution.
I am not sure to fully understand @apasel422 's two proposals though.

@vikassahu29
Copy link
Collaborator

We have recently proposed a new feature where developers can set scopes on sources and triggers to perform pre-attribution filtering. 

https://github.com/WICG/attribution-reporting-api/blob/main/attribution_scopes.md

Please let us know if this meets your needs and any other feedback you might have!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible-future-enhancement Feature request with no current decision on adoption
Projects
None yet
Development

No branches or pull requests

5 participants