Version: 2.3.0
PelcroModalController
A composition component that controls the modals appearance and initializes core services.
Usage#
Reference#
Props#
options#
Setup config for Pelcro core features initialization.
loadPaymentSDKsEnables loading 3rd party scripts for the supported payment vendors.enableURLTriggersEnables Pelcro URL triggers.enableThemeEnables the color theme configured on your Pelcro's site design settings.enablePaywallsEnables the paywall feature.enableGoogleAnalyticsEnables Google Analytics on all tracked actions. (needs react-ga installed as a dependency)
Default values#
| Option | Default |
|---|---|
| loadPaymentSDKs | true |
| enableURLTriggers | true |
| enableTheme | true |
| enablePaywalls | true |
| enableGoogleAnalytics | false |