553 questions
0
votes
1
answer
69
views
CSP is set but I still get Content Security Policy directive violation
I'm using VITE, and I'm trying to connect my app to Matomo. I used VITE_APP_CSP_POLICY with no issue in the past, but right now I'm encountering the problem I can't resolve:
container_XXX.js:85 ...
0
votes
0
answers
18
views
How can I retrieve a list of all page URLs along with their visitor counts for a specific date in Piwik PRO API?
I'm working with Piwik PRO and I need to retrieve a list of all page URLs on my website along with their visitor counts for a specific date. I’ve been exploring the Piwik PRO API but I’m not sure how ...
2
votes
1
answer
182
views
Angular standalone: Cannot access value set by provideAppInitializer in another provider
In my angular application i m setting provideAppInitializer to get config from service and then provideMatomo(loadMatomoConfig)) tries to load the config which set by provideAppInitializer(...
1
vote
2
answers
360
views
Angular standalone:chain multiple functions in provideAppInitializer
In my Angular application (version 19), I have a provideAppInitializer like this:
export const appConfig: ApplicationConfig = {
providers: [
...
provideAppInitializer(intializeAppFn),
...
0
votes
0
answers
48
views
Where do I see Tracking via image results?
I'm trying to use Matomo's Image Tracking feature in email instead of the usual JavaScript tracking. I generated the tracking pixel code from the Matomo admin interface and embedded it into my HTML. ...
0
votes
0
answers
16
views
Show url regex page view percent
I have a self-hosted matomo.
I would like to know how much in percent, a given regex matching an url pattern would represent. In an ideal world, a table/page/view with all different pattern and number ...
0
votes
1
answer
34
views
How can I manually send a 'variation was successful' event with Matomo ABTesting?
I am using the Matomo ABTesting plugin to create a test and I'm using a manual setup.
There are visual variations of a button with changing URLs and I want to see which variation gets clicked the most....
0
votes
1
answer
48
views
Error importing GA4 data tracked via Firebase: "Field customEvent is not a valid dimension"
I am encountering an issue while attempting to import data from an GA4 Analytics resource that used Firebase for tracking data on a mobile app.
When I start the import using the GA4 import tool, it ...
-2
votes
1
answer
217
views
ReactJS website not working after 10-15minutes inactivity
Community!
UPDATE:
I'm also experiencing weird Matomo behaviours (our software for tracking). Matomo is only installed on the production environment, where I also experience the freezing issues. In ...
3
votes
1
answer
95
views
Magento 2 cloudflare unable to install Matomo
We are using magento 2 with Cloudflare enabled on the website but when we try to install Matomo getting this issue on the browser console -
index.php:1 Refused to load the script 'https://static....
0
votes
1
answer
86
views
How to remove the reloaded pages in matomo segment?
when using matomo, the reloaded pages are taken into account to count the actions and visits.
Is there a way to remove this from the reports (with segment for exemple), without having to change the ...
0
votes
1
answer
567
views
Matomo Tag Manager and Single Page Application: History Change track old page title
I have a SPA in React and react-router-dom; I’m trying to track page views with History Change using Matomo Tag Manager.
I have followed these two guides:
https://developer.matomo.org/guides/spa-...
0
votes
0
answers
312
views
Upgrading PHP version in Matomo on Ubuntu server
I have Matomo installed on my server using [email protected].
In order to remove the warning showing in Matomo dashboard I want to upgrade to php8.2 only on Matomo directory, without affecting the system.
I ...
0
votes
1
answer
313
views
Keep formating of data in kubernetes secret
I am deploying Matomo to Kubernetes. I have a config file that contains database credentials. I would like to create a secret from the config file and mount it to the pod.
I can´t figure out a way to ...
1
vote
1
answer
129
views
Matomo Analytics with Page Transitions (Barba.js)
I'm wondering what the best approach is to implement Matomo Analytics in a website that dosen't reload on navigation but only injects new content in the body of the html.
My site is using Barba.js to ...
0
votes
0
answers
217
views
Cannot run log analytics in Matomo docker container due to lack of python3
I have the following docker-compose file to run Matomo:
version: "2"
services:
matomo:
image: matomo
environment:
- MATOMO_DATABASE_HOST=matomo_db
- VIRTUAL_HOST=...
1
vote
0
answers
22
views
Piwik API: specify segment in JSON
Good day!
I have Piwik/Matomo tracking traffic on MyWebsite. I'd like to use the API to export data on browser languages, but only for a specific section of MyWebsite (the one that contains MySection ...
1
vote
0
answers
84
views
Matomo reporting ignores / filters url patterns
Matomo on premises: 4.15
MySQL version: 8.0.32
PHP version: 8.2.1
Running in Windows 2019
The site being monitored uses 3 kind of urls with ID:
https://app.mydomain.com/pl1_XXXXXX/contentTitle : the ...
1
vote
0
answers
132
views
matomo api timeout on fetching
I'm trying to integrate data collected with Matomo within my website but whenever the API is being fetched console says: ERR_CONNECTION_TIMED_OUT. I've checked the firewall as well as testing another ...
0
votes
1
answer
224
views
Piwik object is not accessible when using vueMatomo
I am using vuejs 3 and when I try to add VueMatomo I get the following error message:
Uncaught Error: [vue-matomo]: window.Piwik undefined after waiting for 3000ms (VueMatomo)
It worked fine the ...
0
votes
1
answer
1k
views
How to make tracking single page applications with Matomo
Matomo (web analytics tool) tracking of a Single Page Application is a little bit more difficult than to track a server side rendered page which is everytime reloaded if we navigate to another page.
...
1
vote
0
answers
123
views
TypeError: null is not an object (evaluating 'Matomo.initTracker')]
I want to implement Matomo in my react native app. I installed this library and followed the instructions https://github.com/BonifyByForteil/react-native-matomo#include-the-library. For the IOS it ...
0
votes
1
answer
217
views
What url should I provide to Matomo for an app?
So I am trying to implement Matomo tracker on my react native app. I should open an Matomo account before, but it requires an website url. What url should I provide since I want to implement it on an ...
1
vote
1
answer
48
views
how to black list a command in apache2 web server
Suddenly my server start getting hang. I observed that all CPU cores are 100% in use. I used htop command to see which request/service making it overloaded. I found following request using maximum CPU ...
1
vote
1
answer
634
views
Matomo tracking API not tracking
I'm trying to integrate Matomo Tracking Api with a Windows Universal App as there are no packages that work for this framework.
Currently I'm building the URL by myself and making a POST call to the ...
0
votes
1
answer
199
views
Track user clicking on a tabPanel() in R Shiny application with Matomo
I am trying to track tab-viewings for a R-Shiny application using Matomo. The tabs are created using tabPanel(). I have not found a solution yet that works. So far I have tried the solutions mentioned ...
-2
votes
1
answer
252
views
Regex for Affiliate URL
For Matomo outgoing link tracking I need the regex pattern, which matched the following URLs:
https://www.example.com/product/?sku=12345&utm_source=123456789
and
https://www.example.com/product/?...
0
votes
1
answer
327
views
Configure Matomo to send emails using AWS Signature Version 4
My Matomo instances have been logging messages like this for a while:
2022-08-31 06:57:46 SERVER -> CLIENT: 535 Signature Version 2 is deprecated for use with SES from March 26, 2021. From that ...
1
vote
1
answer
604
views
Content Security Policy: Page settings prevented loading of resource when having Google and Matomo analytics in the same node.js application
I'm very new with node.js, but I was told to add matomo analytics into node.js application that already has google analytics. The purpose is to have them both at least in the beginning.
With the below ...
0
votes
0
answers
119
views
matomo delay in content impression
I'm trying to track some content with Matomo's tracking-client.
After initializing the client my snippet is like this:
window.matomoAsyncInit = function () {
console.log('track start');
...
2
votes
1
answer
642
views
Manually trigger/open Piwik consent manager?
Piwik provides js snippets for a consent manager popup and an embedded version for a privacy page.
I want to give the website users the posbiliy to change their consent, e.g. to watch a YouTube video ...
-1
votes
1
answer
646
views
Matomo 4.7.1 core:archive ssl certificate problem
I have Matomo 4.7.1 installed on RHEL8 and am getting an error message when running the core archive.
/opt/matomo/matomo-4.7.1/plugins/GeoIp2/GeoIP2AutoUpdater.php(175): GeoIP2AutoUpdater: failed to ...
1
vote
1
answer
302
views
Request user consent for iOS App using Matomo analytics
Im using Matomo for tracking user's page visits. Things that I'm getting is userId, and pages which user visited nothing more. Do I still need to request for consent? Im not sharing user data with any ...
-1
votes
1
answer
2k
views
Use local Apache to access php-fpm on docker container
I have a matomo container running with php-fpm
# docker-compose.yml
version: "3"
services:
app:
container_name: matomo
image: matomo:fpm-alpine
restart: unless-stopped
...
-1
votes
1
answer
667
views
How to inject matomo tag manager code into head by javascript code
I want to inject a matomo tag manager script into the head section of a page by javascript code. However when I try the code in matomo preview mode, the code doesn't fire. What am I misssing?
var ...
0
votes
1
answer
438
views
Track clicks on Elementor elements to Matomo
How to enable Matomo to track clicks on mailto links and tel links made with Elementor?
The Matomo script is added to Wordpress with the plugin "WP-Matomo Integration". The Matomo goals are ...
1
vote
1
answer
1k
views
Variables in Matomo Tag Manager events
I have set up Matomo Tag Manager on-premise. My goal is to have events that trigger user clicks but with a variable event action or name. This variable comes from an attribute of the clicked object.
...
0
votes
1
answer
930
views
Api call using python and token_auth
"""
#Collects basic metrics from Matomo installation and returns a pandas dataframe
"""
token = os.getenv("token")
# Build url string
...
1
vote
0
answers
29
views
Matomo: Is it possible to show the ratio/share of events?
Starting point: A user can click on button A or button B.
The question: Can I see or track in Matomo how many users have clicked button A vs how many users have clicked button B?
Can Matomo display ...
0
votes
2
answers
2k
views
matomo-tracker-react useMatomo returns "Invalid hook call"
im trying to implement matomo analytics within my react application (cra), however it trows an invalid hook call exception. Code has been copied from the simple example
https://www.npmjs.com/package/@...
2
votes
1
answer
408
views
How can I intercept static routes in a falcon app?
I'm currently serving up files using a static route like so:
application.add_static_route('/artifacts/', '/artifacts/')
How can I add a function that is called before every GET to this route and any ...
0
votes
1
answer
405
views
How to track Icecast2 visits with Matomo?
My beloved web radio has an icecast2 instance and it just works. We have also a Matomo instance to track visits on our WordPress website, using only Free/Libre and open source software.
The main issue ...
0
votes
0
answers
55
views
Error : Action "Iframe" not found in the module "API"
When exporting in an iframe a particular page using the Widgetize feature, when I try to export a report's data, and click on "Export this dataset in other formats" it opens a new window ...
0
votes
1
answer
1k
views
How do I combine Matomo Analytics with Google Tag Manager
What happens if I have a tag installed via Google Tag Manager but also have the tag script written into my pages? Is there a hierarchy of one script over another? I've tried installing both Google ...
2
votes
0
answers
624
views
matomo content tracking not coming through to dashboard
I am not able to get content tracking working in Matomo 4.4.1.
Event tracking works fine, now I want to implement content tracking so data shows up in Behaviour > Contents.
I followed the manual ...
0
votes
1
answer
497
views
Adding analytics tracking code to my websites
I want to change how I embed the Matomo (https://matomo.org/) tracking code to my website.
I am using self-hosted version of Matomo to track a few websites, and every single time I need to change ...
3
votes
1
answer
2k
views
Why is the Matomo tracking code the way it is [closed]
The default code to include Matomo analysis in a website looks like this:
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq = window._paq || [];
_paq....
1
vote
1
answer
941
views
Cypress_- Failed to load resource: net::ERR_EMPTY_RESPONSE
My UI page keeps on loading when I try to perform a click operation. Which in return needs to fetch data using API call in the back end and display it in UI. Attached screenshot for reference.
Access ...
0
votes
1
answer
106
views
Add additional empty attribute to existing HTML element
I try to include content tracking to a site with the Matomo Tagmanager. According to their documentation this should be in the form of
<a href="/random" class="tfs-highlight-button&...
1
vote
2
answers
447
views
Matomo Harmony/Huawei OS
i am using Matomo for my app analytics and was curious if it is possible to show Harmony/HuaweiOS besides the currently displayed Android and iOS on the Matomo Dashboard.
If i use a Huawei phone with ...