Move google_analytics_counter_cron() logic to a separate service, so it could be overriden in custom modules

Created on 19 June 2023, about 1 year ago
Updated 20 June 2023, about 1 year ago

Problem/Motivation

The module only queries pageviews for URLs right now. If someone wants to query different dimensions, for example custom events or pageviews for Content ID, etc. can do it with overriding google_analytics_counter.app_manager service. But I'd like to query Content ID - pageview instead of URL - pageview, so that way I don't need to sum the pageview for one node's different URLs. Instead, I'd like to simply write to the database the given view count for Content ID.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia kaszarobert

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024