And it has pretty negative impact on your site’s performance as measured by Google PageSpeed.
Let me illustrate this with my own website. The home page is pretty bare, it has a bit of text, a few small images in the footer, and one embedded Tweet.
Here’s the PageSpeed score for desktop and mobile side by side.
My site is already pretty optimized for performance, so it’s pretty easy to see what stands out.
A quick look at their privacy page gives you an idea. (Emphasis mine.)
When you view Twitter content or Twitter products integrated into other websites using Twitter for Websites, Twitter may receive information including the web page you visited, your IP address, browser type, operating system, and cookie information.
One alternative is to use Twitter’s API to get the details of embedded Tweets. And my new WordPress plugin does exactly that, you only need to provide your own API keys. (The plugin will still work without them, but some data, like profile pictures, number of likes and retweets, will be missing and media — images, GIFs, videos — will not render.)
Here’s my site’s PageSpeed score after enabling the plugin.
And here’s a few examples of the plugin in use, showing a variety of Tweets. (You can find even more on Botwiki.)
The plugin also handles website previews.
One limitation of Twitter’s API is that it doesn’t provide URLs of attached videos, so for now videos only show a thumbnail with a link to Twitter and I expect to add inline video playing in the future.
And just to drive the point home even more, here’s the PageSpeed score for this very page, without the plugin and with the plugin enabled.
And if you like this project, be sure to also check out my Simple Sharing Buttons Generator.