Webflow is a Content Management System (CMS) that helps marketers publish their sites without intensive engineering resources. With out-of-the-box templates, and easy drag-and-drop page editors, Webflow makes it simple to produce a consistent stream of new content with little to no formal software engineering experience.
You can check out Webflow’s own help documentation about adding custom JavaScript site-wide here.
Billing Plan:
Installing Drift on your Webflow site is available on all Drift plans.
Intended Audience:
In this article we'll go over:
To add custom code to the Head tag, the first step is to navigate to the Project Settings from the main admin dashboard within Webflow.
From there, you can select
Site settings > Custom code to find the editor where we will add the Drift JavaScript snippet.
Locating the Code Snippet within the Drift Platform
To find the Drift code to add to your Webflow Head Code section, you can follow the steps below once logged in to Drift as an Admin user:
- Go to Settings
- Under settings locate App Settings in the side navigation
- Click Drift Widget
- Scroll to Install
- Click JavaScript
- Copy the code snippet
Now that you have the Drift code snippet copied, you can go back to the Webflow code editor and paste in the JavaScript. If there is existing code in your Webflow Header, make sure to place Drift as close to the </head> tag at the bottom of the page as possible to avoid interfering with existing CSS or JavaScript.
Note: Make sure to click “Save Changes” in Webflow before closing your browser tabs.
Congratulations, you have successfully added Drift to your Webflow site!