mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 01:33:11 +08:00
Track short URL title as document title when sending visits to matomo
This commit is contained in:
@@ -192,6 +192,11 @@ class ShortUrl extends AbstractEntity
|
||||
return $this->forwardQuery;
|
||||
}
|
||||
|
||||
public function title(): ?string
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
|
||||
public function reachedVisits(int $visitsAmount): bool
|
||||
{
|
||||
return count($this->visits) >= $visitsAmount;
|
||||
|
||||
Reference in New Issue
Block a user