mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 02:36:42 +02:00
feat: add analytics and unknown useragents
This commit is contained in:
parent
4651d01a84
commit
ec92e65aa4
44 changed files with 3333 additions and 1987 deletions
21
app/Entities/AnalyticsWebsiteByReferer.php
Normal file
21
app/Entities/AnalyticsWebsiteByReferer.php
Normal 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',
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue