Features
- Unique ID for each lead (e.g., lead_1703123456_abc123def)
- Required fields: Email only (marked with *)
- Numeric input for number of business travelers
- Email notification to support@enigami.de
- PRODUCTION MODE: Full functionality active
- DEBUG EMAIL-ONLY: Email-only test without placeholders (active)
- Server storage in leads.csv (production mode)
- Local backup storage
Storage Locations
- Server: leads.csv + leads.log
- Browser: localStorage (backup)
- Email: support@enigami.de (notification)
Required Fields
Required: Only email address needs to be filled.
Debug Email-Only: Leave all fields empty and enter only an email address - the system will send ONLY the email without placeholders to the API.
CSV Functions
Open browser console (F12) and use:
- exportLeadsToCSV() - Download local CSV
- downloadServerCSV() - Download server CSV
- showLeadsList() - Show all stored leads
- showCSVText() - Show CSV text in console
- testNewAPI() - Test API
- toggleDebugMode() - Toggle debug mode
- DEBUG_EMAIL_ONLY_TEST = false - Disable email-only test
Server Files
save-leads.php - Server script for data storage
leads.csv - CSV file with all leads
leads.log - Log file for debugging