Support Forum Support Forum GDPR Cookie Compliance GDPR is not blocking the twitter iframe

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • January 05, 2021 @ 5:16 pm

    We have configured the iframe blocker to block frames if the user disables the additional cookies. It work well with Google Maps and Google Docs iframes, also with Archive.org ones. But it doesn’t block Twitter’s widget iframe at hompage.

    Moove Agency
    January 07, 2021 @ 1:15 pm

    Hi Asier,

    Thanks for using our plugins.

    The Twitter’s widget couldn’t be blocked as it’s generated via a JavaScript from Twitter, so our plugin can’t catch find the iframe in your source code.
    The Twitter iframe script looks:

    <a class="twitter-timeline" href="https://twitter.com/REScoopEU">Tweets by REScoopEU</a>
    <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

    In order the make the Twitter widget GDPR compliant, you can remove the <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> part from the widget code, and add to the GDPR Cookie Compliance -> Third-party / Advanced Scripts -> Footer Scripts section. By this, the users without cookies can see the link to your Twitter profile, but the iframe is not loaded. Once they accept the cookies, the Twitter iframe appears.

    Hope this helps.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘GDPR is not blocking the twitter iframe’ is closed to new replies.