The Cookie Consent Bar is a native solution inside the Website Editor that will block all third-party JavaScript until the visitor clicks the button to accept cookies. To add the Cookie Consent Bar click on the Features category in the left Content Sidebar and drag and drop the Cookie Consent Bar into the website. To ensure that it will be visible on all pages it is recommended adding the Cookie Consent Bar to the website's footer on each page.
If you want to exclude specific third-party widgets from being blocked, you can add them to the whitelist by adding the following code to your meta tags under More > SEO:
<script>!function(w,s,b){Array.isArray(w[s])&&w[s].push(b)}(window,'YETT_WHITELIST',/THIRD-PARTY-DOMAIN/)</script>
You need to replace THIRD-PARTY-DOMAIN by the domain name (or file name) of your third-party script.