Last updated 05/05/2023
Before adding the ‘Continue with’ tool make sure you have added the initialization script tag.
This feature allows you to trigger the ‘Continue with’ when a user clicks a button on a page.
You can use this feature in conjunction with the Content Gating features to have users unlock content on a page via a button click.
Find the button that you want to trigger the 'Continue with'.
Select it by clicking on it on the page, or by finding it in the Navigator in the left menu.
In the right pane, click on the gear icon to go to Element Settings.
Then, set the ID to a unique value of your choice.
Scroll down to the Custom Code section, for the Head tag.
In the Head Code field, paste in the following script tag after the Bread & Butter initialization script tag.
<script> null == window.breadbutterQueue && (window.breadbutterQueue = []), window.injectBreadButter = function (e) { "undefined" != typeof BreadButter && BreadButter.init ? e() : window.breadbutterQueue.push(e) }; injectBreadButter(function () { BreadButter.ui.applyContinueWithTrigger("BUTTON_ID") }); </script>
Replace BUTTON_ID with the ID you set in Step 2.
Repeat the above steps for any other buttons you want to set up. You can add as many as you want into any page using the head code section.
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