承接 shuklajasmin/track 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-06