davoodjavadi/cta-records
Composer 安装命令:
composer require davoodjavadi/cta-records
包简介
records clicks of cta buttons
README 文档
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.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-12-06