PHP code example of dominservice / laravel-fingerprint-tracking

1. Go to this page and download the library: Download dominservice/laravel-fingerprint-tracking library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

dominservice / laravel-fingerprint-tracking example snippets


$event = $request->attributes->get('fingerprint_tracking_event');
$payload = $request->attributes->get('fingerprint_tracking_payload');
bash
php artisan vendor:publish --provider="Dominservice\\FingerprintTracking\\FingerprintTrackingServiceProvider"
php artisan migrate
javascript
window.DominserviceFingerprintTracking.track('form_view', {
    section: 'checkout'
});