Start date change should trigger reset of stored data

Created on 3 September 2016, almost 8 years ago
Updated 10 July 2023, 12 months ago

Tables google_analytics_counter and google_analytics_counter_storage contain stats fetched for the period specified under "Start date for GA queries" on the settings page (admin/config/system/google_analytics_counter).

The problem at hand is that if one collects data for e.g. the past year, and then they choose to change and collect stats for only the past week, the data for the past week will be overwritten, but the old paths fetched before will still contribute to the counts.

Proposed solution: let's empty the stats tables if we change from a longer to a shorter collection period.

πŸ› Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium Vacilando Brussels

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΈπŸ‡°Slovakia kaszarobert

    Because of the Universal Analytics shutdown, version 7.x-3.x is no longer supported.
    As Drupal 7 EOL is close, please consider upgrading to the latest Drupal and latest version of this module with Google Analytics 4 support.
    If you are still here and experiencing problems with the latest version using GA4, then please open an issue about it.

Production build 0.69.0 2024