PHP code example of ins0 / zf2-analytics

1. Go to this page and download the library: Download ins0/zf2-analytics 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/ */

    

ins0 / zf2-analytics example snippets


use Racecore\GATracking\GATracking;

$analytics = $serviceLocator->get(GATracking::class);
sh
php composer.phar