Cookie banner on Webflow: the head code
by Advisorn · Checked on 26 October 2026
On Webflow EasyCookie's line goes as the first line of the Head code field, in the site settings (Custom code), with a paid site plan. Custom code runs only on the published site, not in the Designer, and the line must not be loaded with async or defer.
Installation · Step by step
- 1On EasyCookie add the website and copy the banner's line from the “Install and switch on” section.
- 2In Webflow open the Site settings, Custom code tab.
- 3Paste the line as the first line of the Head code field and save.
- 4Publish the site, then switch on the banner on EasyCookie.
Good to know
- do not add
asyncordeferto the banner's line: it must run before the other scripts; - scripts of known services placed in Head code or on individual pages are stopped by automatic blocking; mark the others with
type="text/plain"; - the banner does not appear in the Designer: look at it on the published site.
On EasyLPD
This guide explains the rules in general and how EasyCookie works: it is not advice on your case. Platforms change their menus: if a name does not match, look for the option with a similar name.