Skip to content

VSB-TUO/Disable matomo statistics fix - #1006

Merged
milanmajchrak merged 2 commits into
customer/vsb-tuofrom
vsb-tuo/enable-matomo-statistic-fix
Sep 23, 2025
Merged

VSB-TUO/Disable matomo statistics fix#1006
milanmajchrak merged 2 commits into
customer/vsb-tuofrom
vsb-tuo/enable-matomo-statistic-fix

Conversation

@Paurikova2

Copy link
Copy Markdown
Phases MP MM MB MR JM Total
ETA 0 0 0 0 0 0
Developing 0.5 0 0 0 0 0
Review 0 0 0 0 0 0
Total - - - - - 0
ETA est. 0
ETA cust. - - - - - 0

Problem description

Turn off matomo statistics.

@Paurikova2 Paurikova2 self-assigned this Sep 23, 2025
@Paurikova2
Paurikova2 requested a review from Copilot September 23, 2025 09:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements an on/off switch for Matomo statistics tracking by adding an enabled configuration property that defaults to false. The change allows developers and administrators to easily disable Matomo tracking without removing the configuration.

  • Added enabled boolean property to MatomoConfig class
  • Updated configuration files to include the new enabled property (defaulting to false)
  • Modified the addMatomoStatistics function to check the enabled flag before initializing tracking
  • Added documentation explaining how to enable/disable Matomo tracking

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/main.browser.ts Added early return when Matomo is disabled
src/config/matomo-config.ts Added enabled property to MatomoConfig class
src/config/default-app-config.ts Set default enabled value to false
src/environments/environment.test.ts Set enabled to false for test environment
config/config.example.yml Added enabled property to example config
MATOMO_CONFIGURATION.md Added documentation for enabling/disabling Matomo

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread MATOMO_CONFIGURATION.md Outdated
@Paurikova2 Paurikova2 changed the title changes based on milan review VSB-TUO/Disable matomo statistics fix Sep 23, 2025
@Paurikova2
Paurikova2 requested a review from Copilot September 23, 2025 09:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Paurikova2 Paurikova2 linked an issue Sep 23, 2025 that may be closed by this pull request
@milanmajchrak
milanmajchrak merged commit 3e92849 into customer/vsb-tuo Sep 23, 2025
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VSB-TUO/Vypnut matomo

3 participants