定制 uzzairwebstudio/laravel-fb-pixel 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

uzzairwebstudio/laravel-fb-pixel

Composer 安装命令:

composer require uzzairwebstudio/laravel-fb-pixel

包简介

FB Pixel Laravel component. You can include it in any Blade files.

README 文档

README

This package offers you FB Pixel script as Laravel 7 component. You can include the component in any Blade files.

Once you installed, you can do stuff like this;

<x-uws-fb-pixel pixel-id="123456789" />
<script>
fbq('track', 'Purchase', {currency: "USD", value: 30.00});
</script>

Installation

First and foremost, you need to require the package.

composer require uzzairwebstudio/laravel-fb-pixel 

Then, publish the vendor files. This will publish View/Component file and views file into your app.

php artisan vendor:publish --tag="uws-fb-pixel-views"
php artisan vendor:publish --tag="uws-fb-pixel-view-component"

Finally, you can now place the component in your blade file like this and place your FB Pixel ID in pixel-id parameter;

<x-uws-fb-pixel pixel-id="YOUR_FB_PIXEL_ID"/>

License

The MIT License (MIT).

统计信息

  • 总下载量: 294
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-07-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固