Configuration
Configure Leads via the control panel or a config/leads.php file. Values in the config file override control panel settings.
Config File
<?php
return [
'autoInjectScript' => true,
'defaultButtonColor' => '#F9C723',
'defaultBackgroundColor' => '#ffffff',
'dataRetentionDays' => 365,
'enableHoneypot' => true,
'rateLimitPerMinute' => 5,
];
Settings
| Setting | Default | Description |
|---|---|---|
autoInjectScript | true | Automatically inject active popups on all frontend pages |
defaultButtonColor | '#F9C723' | Default button color applied to new popups |
defaultBackgroundColor | '#ffffff' | Default background color applied to new popups |
enableHoneypot | true | Enable honeypot spam protection on forms |
rateLimitPerMinute | 5 | Maximum form submissions per minute, per visitor |
dataRetentionDays | 365 | How long to keep submission data before pruning |