❌ The script will no longer work.
This is the official source code repository for the funnelbranch.js wrapper module, made suitable for SPA frameworks like React and Angular.
For more information, please visit www.funnelbranch.com.
yarn add @funnelbranch/script
npm install @funnelbranch/script
import Funnelbranch from '@funnelbranch/script';
Funnelbranch.initialize('<PROJECT_ID'>)
.then(funnelbranch => {
console.log('Funnelbranch initialized');
});
For more information on the API and different initialization options, please refer to the Funnelbranch Script source code repository.