Last updated 05/11/2023
Before adding the ‘Sign up / Sign in’ tool make sure you have added the initialization script tag.
The ‘Sign up / Sign in’ tool allows you to add a Sign Up / Sign In & Sign Out button anywhere on a webpage, or in your webpage header.
When a user converts and authenticates with their favorite account, the tool changes to display their profile picture from their account, plus the option to sign out.
The ‘Sign up / Sign in’ tool is added by placing a Div Block element where you want it, then adding a Bread & Butter script tag to reference the Div.
Find the initialization script you have added to your webpage (see initialization script if you have not added it already)
In the initialization script, find the line:
BreadButter.configure({app_id: "[APP_ID]"});
Add the following line under BreadButter.configure();
BreadButter.ui.addProfileWidget('bb-profile-widget');
The 'Sign up / Sign in' tool will now appear at the top of all of your pages, and show the user their account information when logged in.
Add authentication & API event tracking to your website/app with a script tag & configuration