Download the PHP package vismutx/laravel-utm-forwarder without Composer
On this page you can find all versions of the php package vismutx/laravel-utm-forwarder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vismutx/laravel-utm-forwarder
More information about vismutx/laravel-utm-forwarder
Files in vismutx/laravel-utm-forwarder
Package laravel-utm-forwarder
Short Description Keeps track of the original UTM parameters
License MIT
Homepage https://github.com/spatie/laravel-utm-forwarder
Informations about the package laravel-utm-forwarder
UNFINISHED & NOT ON PACKAGIST!
Keeps track of the original UTM (or other analytics) parameters
Cross domain analytics is hard. This package helps you to keep track of the visitor's original UTM parameters, referer header and other analytics parameters. You can then submit these parameters along with a form submission or add them to a link to another domain you track.
Support us
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Installation
You can install the package via composer:
The package works via a middleware that needs to be added to the web
stack in your kernel.php
file. Make sure to register this middleware after the StartSession
middleware.
To configure the tracked parameters or how they're mapped on the URL parameters, you can publish the config file using:
This is the contents of the published config file:
Usage
The easiest way to retrieve the tracked parameters is by resolving the TrackedAnalyticsParameters
class:
You can also decorate an existing URL with the tracked parameters. This is useful to forward analytics to another domain you're running analytics on.
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
- Alex Vanderbist
- All Contributors
License
The MIT License (MIT). Please see License File for more information.