Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content

Matomo

53 Topics 445 Posts
  • Matomo - Package Updates

    Pinned Locked
    97
    0 Votes
    97 Posts
    66k Views
    Package UpdatesP
    [1.59.0] Update matomo to 5.12.0 Full Changelog The methods setIgnoreCampaignAttributionForSources and getIgnoreCampaignAttributionForSources have been added to the JavaScript tracker. They allow setting/getting sources whose campaign values in the current URL should be ignored for attribution. Matching campaign parameters are still kept in the tracked URL/request. Record::setAggregatedRecordTransform() lets a blob record register a callback that is applied to its aggregated table during non-day archiving, after the day blobs are aggregated together and before the table is truncated and stored. Use it together with Record::setBlobColumnAggregationOps() (marking a column 'skip') to recompute columns that cannot be summed across child periods for example a table-relative ratio, index or score so they can also be used as the sort column for truncation. It applies on both the standard blob path and the built-from-flat path (Record::setBuiltFromFlatRecord()), where the flat base record and the hierarchy rebuilt from it are each transformed on their own table. A matching optional $postAggregationTransform parameter was added to ArchiveProcessor::aggregateDataTableRecords(). The reporting menu can now be split into several top-level sections (in addition to the default "Analytics" menu). A category declares which section(s) it belongs to via Category::setGroups() (and the protected $groups property); API.getReportPagesMetadata now exposes a groups field per category. Each non-default group automatically gets a top-menu entry that opens the regular reporting single-page-app filtered to that group (the active section is carried in the URL hash), so reports stay within the same SPA and quick search. The first such section, "AI Insights", surfaces the existing AI Assistants reports. datatable_archiving_maximum_rows_actions_flat caps the number of rows used when flat-archiving page/title Actions reports before the hierarchy is rebuilt (set to 0 to keep the legacy hierarchical-only Actions archiving). See Record::setAggregatedRecordTransform() above. datatable_archiving_maximum_rows_ai_chatbot_content caps the number of content URLs (pages/documents) listed in the AI Chatbots Content Requests reports. datatable_archiving_maximum_rows_ai_chatbot_favoured_pages caps the number of page URLs listed in the Human-Favoured / AI-Favoured Pages reports. live_ai_chatbots_maximum_rows caps the number of AI chatbots listed in the real-time AI Chatbots reports. live_ai_chatbots_top_page_urls_maximum_rows caps the number of page URLs listed in the real-time AI Chatbots top page URL reports.
  • Matomo complaining about MySQL version

    2
    0 Votes
    2 Posts
    214 Views
    nebulonN
    Yes we will soon release a new Cloudron version which will bring MySQL 8.4 with it.
  • 2 Votes
    2 Posts
    269 Views
    girishG
    @jakomo-freshi I have added it here - https://git.cloudron.io/packages/matomo-app/-/merge_requests/26
  • 1 Votes
    4 Posts
    342 Views
    M
    Same issue here, looks like the latest update activates a new plugin, but does not run its db migration automatically. The fix is to run console core:update a second time.
  • Matomo creates a new MySQL session on every health check

    8
    2 Votes
    8 Posts
    937 Views
    J
    thanks, does this help reduce i/o in a meaningful way? I guess we should continue back in the other thread.
  • Connect Matomo DB in External Application

    6
    1 Votes
    6 Posts
    1k Views
    nebulonN
    Ah ok, I am not a PHP developer, not sure what libraries for php there are to connect to a mysql instance via an SSH tunnel, maybe someone with more PHP knowledge has some recommendations?
  • Matomo complains about missing annotations table - any way to fix this?

    4
    0 Votes
    4 Posts
    885 Views
    dsp76D
    OK, as a hint for others: I found out, that some tables had different database collations. Thats why some migrations didn't work. Its most likely due to the fact, we imported an existing Matomo instance into cloudron: https://forum.cloudron.io/topic/10759/migrating-matomo/2?_=1762191084826 With help of AI we fixed thos database errors pretty quick now. Annotations work again. Also another plugin in Matomo, which complained about missing tables.
  • Issue with Remote DB Connection in Matomo on Cloudron

    4
    1 Votes
    4 Posts
    1k Views
    nebulonN
    Cloudron package always ensure the platform related configs on app restart. This is required to know a consistent state for updates. In your case if you need to tweak those, then you may have to fork the package repo and customize the app for such needs. Overall Cloudron is not built for horizontal scaling and maybe for millions of daily users, it is likely not the best option. We try to strike some balance here, but solving too much in one would make life hard for other use-cases.
  • Installing new plugins

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    I
    I retried this morning to be able to get the logs and at my surprise, that worked?! lol. Well, not sure why the other day it didn't want to install but now it seem to work. So all good. Thanks
  • Performance Audit Matomo plugin activation fails with NPM & NodeJS errors

    5
    0 Votes
    5 Posts
    2k Views
    J
    I think unless the package is modified heavily, it's not going to work .
  • port for Metabase?

    4
    0 Votes
    4 Posts
    2k Views
    S
    Yes they are on the same server BTW. Great information, we will give it a try. Thank you so much. I am bookmarking this!
  • auto update dbip city lite database throws an error

    Solved
    2
    1
    0 Votes
    2 Posts
    986 Views
    nebulonN
    Indeex /app/code/misc is a read-only location. I guess we can make this one file a symlink and maybe that will work with the updater. I just tried to reproduce this abut at least I can't make it trigger an update. I have added https://download.db-ip.com/free/dbip-city-lite-2024-10.mmdb.gz and saved that form but thats it? Also given that the URL contains the actual year and month I am kinda curious how refetching this will update to a newer version, does anyone know?
  • broken app package. The moment your endpoint js/

    Solved
    4
    4
    0 Votes
    4 Posts
    2k Views
    girishG
    @luckow thanks for reporting. I have made js a runtimeDirs now. Should be fixed in latest package.
  • Optimal Resource Allocation for Running Matomo on Cloudron

    4
    1 Votes
    4 Posts
    2k Views
    P
    @girish I found this answer: Tracking 1 million page views per month or less One server can be sufficient to host both the database and app server App server minimum recommended configuration: 4 CPU, 8 GB RAM, 250GB SSD disk.
  • Matomo iP2location issue

    Moved Solved
    9
    0 Votes
    9 Posts
    4k Views
    girishG
    @jfrere this got recently fixed - https://github.com/ip2location/ip2location-piwik/issues/91#event-11698953657
  • I can't log in anymore. Is it because of OIDC login since 1.42.0?

    Solved
    9
    1 Votes
    9 Posts
    1k Views
    girishG
    Also https://matomo.org/faq/troubleshooting/faq_25610/
  • SQL Error after Matomo was upgraded to v5.0

    3
    1 Votes
    3 Posts
    2k Views
    G
    @girish since I recently had another issue as well, I was just thinking that maybe all this is related to the fact that I initially migrated from an older Piwik installation. With that, I mean that after I installed the Cloudron app about 2 years ago, I imported existing data from that older Piwik installation. This might explain why I'm faced with those issues during upgrades while others aren't
  • Migrating Matomo

    2
    6 Votes
    2 Posts
    2k Views
    nebulonN
    Great, thanks for sharing your solution!
  • SQL Error during login

    Solved
    14
    1 Votes
    14 Posts
    2k Views
    G
    @girish, fair enough. I definitely understand your reasoning, but on the other side there is probably a good reason why the issue was added to the Matomo FAQ
  • Request for Change (RfC)

    9
    4 Votes
    9 Posts
    4k Views
    imc67I
    This is a FABULOUS found, it makes every website/domain on Cloudron having it’s own analytics domain and it works flawless!!