Create
This page explains how to create a Website in the CRM system using the available form fields.
Form Fields
When creating a website, fill in the following fields:
| Field | Type | Description |
|---|---|---|
| Title | string | The name of the website (must be unique). |
| Type | string | Type of website (e.g., Ecommerce, Blog, SaaS). |
| Website URL | string | The website’s full URL (e.g., https://example.com). |
| Country | string | Country where the website operates. |
| State | string | State/Region of the website. |
| Description | string | A short description of the website. |
| Geo Code Required? | boolean | Toggle to enable/disable geocoding requirement. |
| Lighthouse Report Required? | boolean | Toggle to enable/disable Lighthouse performance report. |
| Confirmation Email Required? | boolean | Toggle to enable/disable sending confirmation email. |
Save Button
When you click the Save button, the system runs an SQL INSERT query to save the website data into the database.
Example SQL Query
INSERT INTO websites
(title, type, website_url, country, state, description, is_geo_code_required, is_lighthouse_report_required, is_confirmation_email_required, created_at, updated_at)
VALUES
('My Example Website', 'ecommerce', 'https://example.com', 'USA', 'California', 'This is an ecommerce website.', 0, 1, 1, NOW(), NOW());