Attestation check for Topics on https://example.com/ failed
gaurav-1302 opened this issue · 1 comments
gaurav-1302 commented
Hi,
I am trying to access the topics on my production website using the following javascript code.
async function fetchIntrest(){
const topics = await document.browsingTopics();
console.log(topics)
}
fetchIntrest();
I have also included the
<meta http-equiv="Feature-Policy" content="browsing-topics *">
Header in my page but getting the following error
Attestation check for Topics on https://www.atirun.com/ failed. (index):506
[]
And an empty array is returned.
Guide me to resolve this error and access users browsingTopics through my website.
xyaoinum commented
Hi @gaurav-1302,
The Topics caller (in your case, https://www.atirun.com
) needs to be enrolled for Privacy Sandbox.