PHP code example of deimos / analytics
1. Go to this page and download the library: Download deimos/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/ */
deimos / analytics example snippets
use Deimos\Analytics\Analytics;
(new Analytics('UAxxxxxxx', 'project.deimos'))
->setResource('image.png')
->setAction('download')
->setLabel('nginx')
->track();