Mercury Forever Posted December 22, 2022 Posted December 22, 2022 Hello community, I have made a report with Looker Studio (ex Google Studio) with the information from Google Analytics of my website, however, when I want to view this report in an IFRAME context, I get this error message. Refused to frame 'https://datastudio.google.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'". Any idea how to solve this problem in IPS configuration..?? This is my page that displays the report. Greetings and thanks.
Solution Jim M Posted December 22, 2022 Solution Posted December 22, 2022 This is set by the website you're attempting to embed in the iFrame. Their headers on their website have: x-frame-options: DENY Therefore, you can't set it in an iframe.
Mercury Forever Posted December 22, 2022 Author Posted December 22, 2022 Within the report settings, there is the option to enable embedding the report in an iframe.
Marc Posted December 23, 2022 Posted December 23, 2022 Glad to hear you found an answer to your issue
Recommended Posts