A Scrivito widget to capture leads and submit to Salesforce
Install the package in your scrivito app:
$ npm install scrivito-salesforce-widget
Import 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 eslint
and
$ npm run es-check