Open gaurav-1302 opened 6 months ago
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
<meta http-equiv="Feature-Policy" content="browsing-topics *">
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.
Hi @gaurav-1302,
The Topics caller (in your case, https://www.atirun.com) needs to be enrolled for Privacy Sandbox.
https://www.atirun.com
Hi, I am trying to access the topics on my production website using the following javascript code.
I have also included the
<meta http-equiv="Feature-Policy" content="browsing-topics *">
Header in my page but getting the following errorAnd an empty array is returned. Guide me to resolve this error and access users browsingTopics through my website.