feat: add analytics and unknown useragents

This commit is contained in:
Benjamin Bellamy 2020-06-12 20:41:09 +00:00 committed by Yassine Doghri
commit ec92e65aa4
44 changed files with 3333 additions and 1987 deletions

View file

@ -0,0 +1,21 @@
<?php
/**
* Class class AnalyticsWebsiteByReferer
* Entity for AnalyticsWebsiteByReferer
* @copyright 2020 Podlibre
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
* @link https://castopod.org/
*/
namespace App\Entities;
use CodeIgniter\Entity;
class AnalyticsWebsiteByReferer extends Entity
{
protected $casts = [
'podcast_id' => 'integer',
'referer' => 'string',
'date' => 'datetime',
'hits' => 'integer',
];
}