jeffersongoncalves/laravel-pixel

This Laravel package offers a straightforward way to integrate Meta (Facebook) Pixel into your application. By configuring your Pixel ID, you can effortlessly track user interactions, page views, conversions, and other valuable events on your website. This helps you gather insights into your audienc

1.0.0 2025-05-02 02:28 UTC

This package is auto-updated.

Last update: 2025-05-02 02:30:48 UTC


README

Laravel Pixel

Laravel Pixel

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

This Laravel package offers a straightforward way to integrate Meta (Facebook) Pixel into your application. By configuring your Pixel ID, you can effortlessly track user interactions, page views, conversions, and other valuable events on your website. This helps you gather insights into your audience behavior and optimize your advertising campaigns. The package simplifies the process of adding the Pixel script to your Blade templates, enabling seamless analytics collection with minimal setup.

Installation

You can install the package via composer:

composer require jeffersongoncalves/laravel-pixel

Usage

Publish config file.

php artisan vendor:publish --tag=pixel-config

Add head template.

@include('pixel::script')

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.