indentno/trackable
最新稳定版本:1.0.4
Composer 安装命令:
composer require indentno/trackable
包简介
Blade directive for do not track header
README 文档
README
The easiest way to respect the "do not track" header in Laravel
Installation
composer require s360digital/trackable
API
Trackable will expose the following Blade directives and global helper functions to your Laravel app.
Blade directives
@trackable User allows tracking. Put Google Tag Manager and other tracking scripts here. @endtrackable @untrackable User have enabled "do not track" it their browser @enduntrackable
Global functions
if (trackable()) { // User is trackable } if (untrackable()) { // User have enabled "do not track" it their browser }
统计信息
- 总下载量: 185
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-17