Toggle menu

Embedding Content from Other Sites

Embedding content like videos and social media feeds from other sites is a great way to enhance your own site. However, those third party sites are likely to set cookies that will track your users. Fortunately most embedded content can be set up not to use cookies.

How to Embed Content

You can add content to your articles using the Scripts Inline.

Script Inline

Enter the embed script from the third party and publish your article to see the results.

Third Party Cookies

Companies like Twitter, Facebook and YouTube use cookies for things like advertising. They can even set these cookies via embedded videos and feeds published on other people's sites.

The best way to block these cookies is to modify the scripts you use to embed content before you add it to your own site. How to do this is usually hidden away in documentation, but the links below will hopefully get you started.

This documentation was last updated September 2021. Please check the third party documentation carefully


Twitter provide (opens new window) to generate embed scripts. Once you have generated the script, look for "customization options", then "Opt-out of tailoring Twitter". This will add their "do not track" property (data-dnt) to the embed script, like this:

<a class="twitter-share-button" href="" data-dnt="true">Tweet</a>

Twitter's documentation can be found at (opens new window)


Facebook have a range of social plugins you can embed in your site and have made a number of changes to better comply with EU cookie law. We recommend reading their documentation (opens new window)


YouTube have a "privacy-enhanced mode" which (at the time of writing) involves changing the URL used in your embed script. See (opens new window) for Google's documentation. 

Last modified on January 25, 2022

Share this page

Facebook icon Twitter icon email icon


print icon