I can’t seem to get the opt-out iFrame to work properly. When I add the code to my page only an empty frame renders, but when I try the source directly, the opt-out content shows just fine
I looked at all the other forum posts, but couldn’t find any solution.
I think I have found the solution to your problem:
When I access the source URL I notice that your server is sending a x-frame-option: SAMEORIGIN header.
This header tells browsers to allow no one to iframe your website apart from URLs on the same domain,
As your website is reachable from a different URL (different TLD) it isn’t allowed to display the iframe.
The easiest solution would be not sending the x-frame-options: header. If you want to go the secure way and keep others from embedding your website, fine-tuned a Content Security Policy will be the best solution.