Open relevance-api-topics opened 1 month ago
Thanks for reporting the issue. To help us investigate further, could you please confirm:
~2. Was the page still open at that time? (The page needs to be closed for the observation to be actually recorded)~
Thanks!
thanks for the information! 2. & 3. are the issue for us, thanks.
HI @xyaoinum, hope to reopen this discussion, once in a while we are facing this issue where the request and response sounds valid but nothing is recorded for topics in internal dashboard.
Would you please help elaborate how do you validate No.3? thanks.
Hi @relevance-api-topics,
To validate if a page is loaded via user, you can follow these steps:
--force-enable-metrics-reporting --metrics-upload-interval=5 --force-msbb-setting-on-for-ukm
chrome://ukm
(may need to click "Refresh"). You should see a row with your page's URL and with Source Type NAVIGATION_ID
. Expand that row, and you should see a row with PageLoadInitiatorForAdTagging
--> FromUser
--> 1
I do want to make a correction to my previous answer: No.2 isn't necessary. The page doesn't need to be closed for the observation to be recorded. However, the Topics API call may race with the "Calculate Now" action. So you should consider adding a brief delay before clicking "Calculate Now".
Hi Topics API experts,
We are having a blocking issue where a successful observation through fetch call cannot be recognized by Chrome:
The context is we are having adtech JS plugin into publishers website, and through the JS plugin we are doing the fetch observation call. However, the observation is not recognized by Chrome.
E.g.
Successful Request:
Successful Response:
No Chrome recognition:
Anything we missed to let Chrome recognize the successful JS Plugin observation call? Thanks.