davoodjavadi / cta-records
records clicks of cta buttons
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/davoodjavadi/cta-records
Requires
- illuminate/support: >=v6.0.0
This package is auto-updated.
Last update: 2026-01-06 17:23:55 UTC
README
#Cta Records In Laravel Project
Dynamically record clicks on call-to-action buttons in Laravel.
By installing this package, all <a> tags that include the href="tel:" attribute will be stored in the database when clicked by the user, with that number and address of the current page.
###Installation
- First by Composer:
$ composer require davoodjavadi/cta-records
- After add the ServiceProvider to the providers array in config/app.php:
davoodjavadi\ctaRecords\CtaRecordsProvider::class,
- And Add this to your aliases:
'CtaRecords' => davoodjavadi\ctaRecords\CtaRecordsFacade::class,
- After to publish use:
php artisan vendor:publish --provider="davoodjavadi\ctaRecords\CtaRecordsProvider"
- Now Run:
$ php artisan migrate
- Finally, place the
views\ctaRecods\scriptcodes next to your own codes.