About BentoHook
A FormIt hook for Bento email marketing.
Information
Released
December 19, 2024
Supported Database
MySQL, SQL Server
License
MIT
Supported Versions
3.0 - Current
Downloads
3
Instructions
System Settings
- bentohook.secret-key: Secret Key from Bento
- bentohook.publishable-key: Publishable Key from Bento
- bentohook.site-uuid: Site UUID from Bento
Usage
FormIt
To add a Bento subscription to a FormIt form, add the BentoHook
hook to the form.
[[!FormIt?
&hooks=`BentoHook`
Additional parameters can be passed to the hook to customize the subscription.
[[!FormIt?
&hooks=`BentoHook`
&bentoEmail=`email` // The email field name
&bentoOptin=`optin` // An optin field name
&bentoOptout=`optout` // An optout field name
&bentoFields=`beno_field_label==formit_field_name` // Custom fields to send to Bento
Profiles
To check if use logged in user is subscribed to Bento, use the BentoHook
snippet.
[[!BentoCheckList
&email=`[email protected]` // The email to check
&inListTpl=`inListTpl` // Chunk to display if user is subscribed
¬InListTpl=`notInListTpl` // Chunk to display if user is not subscribed
]]
New in 1.0.0-pl
Initial release