Download the PHP package weblagence/laravel-facebook-pixel without Composer
On this page you can find all versions of the php package weblagence/laravel-facebook-pixel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download weblagence/laravel-facebook-pixel
More information about weblagence/laravel-facebook-pixel
Files in weblagence/laravel-facebook-pixel
Package laravel-facebook-pixel
Short Description Facebook Pixel integration for Laravel
License MIT
Homepage https://github.com/weblagence/laravel-facebook-pixel
Informations about the package laravel-facebook-pixel
this package is no longer updated
Facebook Pixel integration for Laravel
An easy Facebook Pixel implementation for your Laravel application.
Facebook Pixel
The Facebook pixel is a snippet of JavaScript code that allows you to track visitor activity on your website. It works by loading a small library of functions which you can use whenever a site visitor takes an action (called an event) that you want to track (called a conversion). Tracked conversions appear in the Facebook Ads Manager and in the Facebook Analytics dashboard, where they can be used to measure the effectiveness of your ads, to define custom audiences for ad targeting, for dynamic ads campaigns, and to analyze that effectiveness of your website's conversion funnels.
For concrete examples of what you want to send throught the Standard Events
Install
You can install the package via Composer:
In Laravel 5.5 and up, the package will automatically register the service provider and facade
In L5.4 or below start by registering the package's the service provider and facade:
Next, publish the config file:
Configuration
The configuration file is fairly simple.
Usage
Basic Example
First you'll need to include Facebook Pixel's script. Facebook's docs recommend doing this right after the body tag.
Send pixel
At any moment, you can use the next function to create a Standard Event
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.