BlogAnalyticsService
Corex\Config\Blog\BlogAnalyticsService · class · Config layer
First-party, consent-aware Blog analytics counters.
Corex\Config\Blog\BlogAnalyticsService · class · Config layer
First-party, consent-aware Blog analytics counters.
__construct(ReadingEventStore $events, string $hashSalt)recordView(int $postId, string $visitorKey, string $ipAddress, string $userAgent, bool $consented, DateTimeImmutable $occurredAt): ?ReadingEventrecordRead(int $postId, string $visitorKey, string $ipAddress, string $userAgent, int $readingSeconds, bool $consented, DateTimeImmutable $occurredAt): ?ReadingEventrecordShareClick(int $postId, string $visitorKey, string $ipAddress, string $userAgent, string $target, bool $consented, DateTimeImmutable $occurredAt): ?ReadingEventaggregate(int $postId, DateTimeImmutable $since, DateTimeImmutable $until): BlogAnalyticsAggregate