Download the PHP package marshmallow/marketing-data-tracker without Composer
On this page you can find all versions of the php package marshmallow/marketing-data-tracker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marshmallow/marketing-data-tracker
More information about marshmallow/marketing-data-tracker
Files in marshmallow/marketing-data-tracker
Package marketing-data-tracker
Short Description Parse and store marketing parameters like gclid, utm_*, and adid, and automatically attach them to user conversions or models in Laravel.
License MIT
Homepage https://github.com/marshmallow-packages/marketing-data-tracker
Informations about the package marketing-data-tracker
Parse and store marketing parameters like gclid, utm_*, and adid, and automatically attach them to user conversions or models in Laravel.
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
After add the HasMarketingParameters trait to your model. And add the midleware \Marshmallow\MarketingData\Middleware\ParseMarketingParameters::class,
to your web
middleware group within your app/Http/Kernel.php
file.
For a Nova resource add the MarketingDataFields trait to your resource and add the functino to your fields array:
Google Ads
On campaign level set the 'custom parameter' to 'campaign' and the value to the campaign Name without spaces.
After, add the following to the addon url on the account level;
Usage
Add the trait and add the function to your model to save the marketing parameters:
Testing
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
- Marshmallow
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of marketing-data-tracker with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0