A Scrivito widget to capture leads and submit to Salesforce
Install the package in your scrivito app:
$ npm install scrivito-salesforce-widgetImport the widget in your javascript (e.g. in src/Widgets/index.js):
import "scrivito-salesforce-widget";This widget is designed to be used with Salesforce web-to-lead. To use this widget setup a web-to-lead form.
In the widget properties you can set:
- Agreement text
- Button Text
- Background color
- Salesforce Organization ID
- Return URL
$ npm run eslintand
$ npm run es-check