Reputation: 21
I am trying to embed a Google Data Studio report in an iframe for a static site. When opening that static site, in Edge Chromium 83.0.478.37 I recieve this error and the data studio report does not appear. It is a clean default install of Edge Chromium, with no settings modified.
Tracking Prevention blocked access to storage for https://datastudio.google.com/embed/reporting/<urlofreport>.
error:
datastudio__en.js?cb=312620414:3587 ERROR DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
I've found this information, but in my Edge Chromium, that setting is disabled: Disabled block third-party cookies. The thing that seems to work is to add an Exception in the "Privacy and services" tab in Edge Settings for the domain embedding the iframe. This seems unneccessary, especially when the same static site works on newest versions on both Chrome, Safari, Opera and Firefox. It also seems unnecessary when Data Studio support suggests to use newest Edge. I don't recieve this error when opening the Data Studio report directly in a tab
Upvotes: 2
Views: 7253
Reputation: 16
Thanks for the attempt
However:
For a short period it was working again, but now has returned to the same erroring state.
Upvotes: 0
Reputation: 21546
I have tested the simple example on my side using Microsoft Edge Chromium 83.0.478.37 version. If we use F12 developer tools to check it, we can see in the Console tab, it contains multiple Tracking prevention blocked Warning and the error message.
After adding the url "https://storage.googleapis.com" in the Edge Tracking Prevention Exception, the warning and the error message will disappear.
So, the issue might be related to the Google Data Studio or Edge Tracking Prevention, I suggest you could feedback this issue to the Google Data Studio and Edge browser (click the Send feedback button on the right corner of the Edge browser).
As a workaround, you could add the domain or URL in Edge Tracking Prevention Exception to prevent tracking prevention for that site
Upvotes: 0