Good day.
I have a website using Google Tag Manager successfully implemented following the official guidelines ( https://developers.google.com/tag-manager/quickstart ), including the fragment suggested in step 2 :
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXX"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
Close to the end of the <body> element of the main template, as it should be.
Now, I've been suggested by a consulting agency to add a sandbox attribute to that iframe element to strengthen the overall website security, among a set of other recommandations.
Although I think I get the point of the iframe sandbox attribute values and their consequences, I'd like somebody to enlighten me about what the benefits of it are in the context of a fixed, trusted iframe source and in the context of the noscript element (where no script is technically to be executed), in terms of security in particular. Please also explain what values, if any, you think might be apropriate in this particular context.
Ref for the sandbox attribute values : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox
I've searched for this, and found no reference for this particular problem showing up.
Thank you in advance.