jgp / tracking
Forward tracking source on Microsites.
v1.1.0
2016-07-05 11:12 UTC
Requires
- cupoftea/package: ^1.2
- jakeasmith/http_build_url: ^1.0
This package is auto-updated.
Last update: 2025-01-16 06:02:02 UTC
README
Add the Tracking Source to a url.
Install
Install the dependency with composer.
composer require jgp/tracking ^1.1
Register the Package in the Microsite Application by editing your config/app.php
.
<?php
return [
'aliases' => [
...
'Track' => 'JGP\Tracking\Facades\Track',
],
'providers' => [
...
'JGP\Tracking\TrackingServiceProvider',
],
];
Usage
Just pass any url you want to track through the Track::url()
method.
<a href="{{ Track::url($url) }}">Tracked link</a>