shuklajasmin/track
最新稳定版本:v0.0.2
Composer 安装命令:
composer require shuklajasmin/track
包简介
Track package helps you track your every URL. Also, the package delivered to you the number of open rates.
README 文档
README
A lightweight Laravel package to track whether your sent emails have been opened by embedding a tracking pixel.
Developed by @shuklajasmin
🚀 Installation
Install the package via Composer:
composer require shuklajasmin/track
Run the install command to publish necessary files (migrations, config, etc.):
php artisan shuklajasmin:install
⚙️ Integration
Step 1: Generate Tracking Link
$data = $this->createTrackingLog($recipient, $subject);
$this->subscriber = $data['campaign'];
$this->tracking = $data['tracking'];
Step 2: Add Tracking Pixel to Email
<img
src="{{ route('email.track', ['id' => $subscriber->id, 'campaign' => $subscriber->id]) }}"
width="1"
height="1"
alt="."
/>
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-06