Version: Next
uiSettings
Pelcro.uiSettings#
UiSettings configure properties that enable/disable some features.
Usage#
Properties#
| Property | Description |
|---|---|
| enableNameFieldsInRegister | Enables the Firstname and Lastname fields in the Register modal if enableNameFieldsInRegister is set to true, disables if not. |
| skipPaymentForFreePlans | When a user subscribes to a plan, if skipPaymentForFreePlans is set to true and plan price is 0, then the user will not go through the Payment modal. |
| enableReactGA4 | Enables GA4 instead of regular GA for google analytics if enableReactGA4 is set to true, disables if not. |
| enableLoginWithUsername | Enables logging in by username and updating username in the UserUpdate modal if enableLoginWithUsername is set to true, disables if not. |
| newsletters | Enables you to determine which newsletters you allow your end-users to subscribe to. The newsletters you determine will be synced along into Pelcro and into your ESP of choice. They will also be displayed in the Newsletter Update modal. |