Lead tracking system for October CMS
Lead Tracker plugin
Lead tracking system for October CMS.
Installation
Run the following to install this plugin:
php artisan plugin:install Yamobile.LeadTracker
To uninstall this plugin:
php artisan plugin:remove Yamobile.LeadTracker
Using components
This plugin provides 1 component — Tracker
. Component have no forms and default markup but it provide convenient functions to work with data. Forms and markup must be added by themes.
Tracker component
This component allows frontend to submit lead forms with any information to backend.
Basic usage example:
[Tracker] == <form data-request="Tracker::onSubmitLeadForm"> <input type="text" name="name"> <input type="text" name="phone"> <input type="text" name="email"> <input type="text" name="info:comment"> <button>Submit</button> </form>
This component provides 1 function — onSubmitLeadForm
. onSubmitLeadForm
saves lead from form by using Data Attributes API. For the function to save form data form inputs names should be one of the predetermined types:
- "name" for name
- "phone" for phone
- "email" for email
- "info:*" for any other input
With form data onSubmitLeadForm
function detects and saves user IP, User-Agent and source URL with form.
-
This plugin has not been reviewed yet.
-
0.6.0 |
Added optional phone require for lead Aug 25, 2023 |
---|---|
0.5.3 |
Fix email view compatibility Jun 01, 2023 |
0.5.2 |
Add subject for new lead mail view May 29, 2023 |
0.5.1 |
Fixed output of info fields in the template email May 29, 2023 |
0.5.0 |
Added definition of utm tags Mar 29, 2023 |
0.4.0 |
Added ip address definition Mar 29, 2023 |
0.3.0 |
Add Tracker component Mar 29, 2023 |
0.2.0 |
Create leads Mar 29, 2023 |
0.0.1 |
Initialize plugin Mar 29, 2023 |