Last updated 07/08/2024
You must add the initialization script tag to get started. This script tag will enable analytics, and is required for you to add other Bread & Butter functionality to your Webflow website.
Once the initialization script tag is in place, you can also add the following functionality:
Conversion Tools
Opt-in Tool
Content Gating Tools
‘Contact Us’ Tools
Additional Tools
Bread & Butter code snippets can be added to your Webflow website using Custom Code in the header:
Adding the code snippets to the Custom Code head tag applies them to every page on your website.
As a first step, you’ll need to add the Bread & Butter initialization snippet to the head tag. As part of this, you’ll need your App ID. Don’t have an App yet? See How to Create an App.
Select the Custom Code from the left menu.
In the Head Code field, paste in the following script tag:
<script> window.initBreadButter = function () { // Here is your configuration of the BreadButter App. BreadButter.configure({ app_id: "[APP_ID]" }); }; (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) { return; } js = d.createElement(s); js.id = id; js.src = 'https://cdn.breadbutter.io/dist/breadbutter.7.4.0.1004.min.js'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'breadbutter-js')); </script>
Then, replace [APP_ID] with your App ID from your Bread & Butter App.
Not sure how to get your App ID? Log in to Bread & Butter
Then, click on App Settings in the left menu. Your App ID will be at the top of the page.
Congratulations! Your website is now set up for Bread & Butter Analytics. Head to your Bread & Butter dashboard to see all of the users visiting your website.
Not seeing any activity? Open up your website in a browser, and see if your visit appears in the Dashboard. If you're still not seeing your activity appear, check the following:
Next, check out the rest of Bread & Butter's features and how you can add them to your Webflow website:
Don’t use Bread & Butter? Want to learn more about how Bread & Butter solves the four biggest problems facing marketers today? Book a demo and see how Bread & Butter is helping marketers make the most of their first-party data
Add authentication & API event tracking to your website/app with a script tag & configuration