-
Notifications
You must be signed in to change notification settings - Fork 177
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
indication for OS source as attribution action takes place at the advertiser site #1240
Comments
Thanks for the request. The source, if any, that the trigger is ultimately attributed to is unknown at the time of trigger registration, so there's no way the browser can provide the information you're asking for in a request header. Additionally, even if the browser did know the source in question, it could not use that information to dynamically choose between processing the web trigger or the OS trigger because doing so would leak whether such a source existed for the unchosen platform, which would violate the API's privacy model. That said, an OS trigger can only be attributed to an OS source, and a web trigger can only be attributed to a web source. If you want to be able to register using either platform (independent of whether a corresponding source actually exists), you can have a response like Attribution-Reporting-Register-Trigger: ...
Attribution-Reporting-Register-OS-Trigger: ...
Attribution-Reporting-Info: preferred-platform=<platform> where If you must be able to know ahead of time which type of registration to perform, you could use two reporting origins, e.g. If I'm misunderstanding your request, feel free to clarify. |
@roistaboola Just following up on this. |
Hi @apasel422 Thanks for getting back on this one. Here are the tested scenarios: #1: Attribution-Reporting-Register-Os-Trigger: "https://trc.taboola.com/attribution-reporting/attribution_trigger?sdk_atw=yes" Attribution-Reporting-Register-Trigger: { Attribution-Reporting-Info: preferred-platform=os #2: #3: Attribution-Reporting-Register-Os-Trigger: "https://trc.taboola.com/attribution-reporting/attribution_trigger?sdk_atw=yes" #4: @apasel422 am I missing anything here ? Thanks ! |
What browser version are you using? For Chrome, Also, your |
Hi @apasel422 Thanks for noticing. I've corrected the Attribution-Reporting-Register-Trigger header, repeated test #1 having preferred-platform=os and run test #5 having preferred-platform=web :: test #1: Attribution-Reporting-Register-Os-Trigger: "https://trc.taboola.com/attribution-reporting/attribution_trigger?sdk_atw=yes" test #5: As it goes, it is still required to identify if is OS or Web at handling the action and returning the 'preferred-platform' value. Is there a response headers pattern that provides for both OS & Web registration ? Thanks. |
This is expected, as
No, a single response can register using web or OS, but not both. Could you elaborate on why you need to register both? |
This is the app-to-web case, a user may click an ad at the SDK app, or can click an ad at a web site. |
Can you distinguish the two platforms using something in the URL? For example, on web you could have: <img attributionsrc="https://x.example/register-trigger?platform=web"> and in an app you could have <img attributionsrc="https://x.example/register-trigger?platform=os"> and then vary your response based on the |
@roistaboola Just following up on this. |
Hi, we hopped an indication could be fetched based on the source inventory that is available at the OS & web and have it reported at the action request. can that be considered ? |
Per #1240 (comment), this would violate the API's privacy model. |
Another option here would be to try to register both a web trigger and an OS trigger using a self-redirect, i.e. Attribution-Reporting-Register-Trigger: ...
Location: /register-os-trigger followed by Attribution-Reporting-Register-OS-Trigger: ... |
Thanks technically this might work, however we are not using redirection for the web trigger, and not sure we would like to redirect, we will look into whether the request itself can indicate the headers that need to be returned. |
As an attribution action takes place at the advertiser web page, these header are being sent by chrome browser:
Attribution-Reporting-Eligible: trigger
Attribution-Reporting-Support: os, web
However these headers do not indicate if the source had been OS (android SDK) and thus the action target server receiving those
headers cannot indicate whether it should respond with an app-to-web attribution OS header
(Attribution-Reporting-Register-OS-Trigger).
Please provide an indication the click source is OS by either a new header or new header value.
reference: https://developer.android.com/design-for-safety/privacy-sandbox/attribution-app-to-web
The text was updated successfully, but these errors were encountered: