Questions tagged [matomo]
An open source (GPL license) web analytics system. Formerly known as Piwik.
541
questions
-1
votes
0
answers
12
views
Adjusting GTM Javascript Code to fit Matomo
Recently I've set GA4 and GAU tags for tracking Contact form 7 submission on a web site. I used most of the steps from this tutorial.
Now I need to create similar code snippet for Matomo analytics and ...
1
vote
1
answer
15
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 ...
0
votes
0
answers
17
views
Can matomo customize and track screen views like Firebase analytics?
I am trying to migrate my application from Firebase to Matomo. One feature I would like to have is to keep track of average time user spends on a certain screen. While firebase generates it ...
-1
votes
1
answer
38
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 ...
0
votes
0
answers
11
views
Matomo query contentNames based on contentPiece
I'm pretty new to matomo and trying to report different content names based upon content parts.
The HTML-Content:
<img data-track-content data-content-name="foo" data-content-piece="...
0
votes
1
answer
29
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
169
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
...
0
votes
0
answers
18
views
How to add second Matomo instance
How to add second Matomo instance for this kind of configuration?
https://developer.matomo.org/guides/tagmanager/integration-plugin
Can I use something like this?
-1
votes
1
answer
21
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
0
answers
40
views
Use Goals in Matomo Tag Manager as Trigger
It may be a stupid question, but ...
My goal is to use goals (i.e. conversion) tracked by Matomo On Prem to trigger events in Matomo Tag Manager.
When I create a trigger in Matomo Tag Manager i see ...
0
votes
1
answer
58
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
107
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
70
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
13
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
1
answer
256
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/@...
0
votes
0
answers
36
views
How to add duplicate site id to Vue Matomo?
In project I use VueMatomo. I need to add duplicate site Id. After adding 'addTracker' I have second request configs.php with duplicate site id but I haven't second request matomo.php. What should I ...
1
vote
1
answer
94
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
0
answers
20
views
Permissions for creating annotations in Matomo
I created a user for creating annotations in Matomo (version 4.5.0). The user has write permission for this specific site. Now I navigate to the Visitors -> Overview module and click on the "...
0
votes
1
answer
111
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
29
views
How accurate is geolocation with masked IP addresses in Matomo?
I am wondering why an accurate location (like "Berlin") is saved with a masked IP address in Matomo. Is the IP address used to get the location and afterwards masked?
Thanks to Damien you ...
0
votes
0
answers
24
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
239
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
162
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
0
answers
154
views
Matomo - Angular: tracking page views & events only partially working
Using ngx-matomo I’ve setup some test events and page views which are registering in the Matomo dashboard and clearly visible when I click “view user profile”. However, these navigations and events ...
0
votes
1
answer
62
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 ...
0
votes
0
answers
68
views
Can I change how matomo tracking script needs to be added to my websites?
I want to change how I embed the Matomo 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 tracking options I have to ...
0
votes
0
answers
44
views
ERROR: No matching distribution found for matomo-api
ERROR: Could not find a version that satisfies the requirement matomo-api (from versions: none)
ERROR: No matching distribution found for matomo-api
This is the error I am getting while installing in ...
2
votes
1
answer
182
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....
0
votes
0
answers
59
views
Application ->Local storage is empty. Session token is not captured in cypress
In Normal mode, when the application is opened in Chrome Window the Local storage contains the session Token. Whereas Cypress is executing an inbuilt chrome browser, which is not capturing application ...
1
vote
1
answer
279
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
58
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
261
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 ...
0
votes
1
answer
38
views
Android Matomo sends actions in multiple visits
Hi I'm using Matomo for Android and i have this issue were Matomo sends each action as a single visit instead of all actions of the visit as one visit. So for example each page i open in the last 5 ...
0
votes
1
answer
30
views
Matomo: try to set title categories by setDocumentTitle("testDirectory/testTitle");
According to
https://matomo.org/faq/how-to/faq_62/
I added to my Matomo JS-Snippet this line:
var newTitle = "testDirectory/testTitle";
_paq.push(["setDocumentTitle", newTitle]);
...
1
vote
0
answers
59
views
matomo-docker 500 error while mounting config volume
When I uncomment the ./config and ./logs volumes it's giving me http 500 error, I was trying to change the config.php.ini file,
Any idea what's wrong? Also tried creating the config and log folders ...
0
votes
0
answers
154
views
Matomo vuejs sometimes return undefined
I have this code :
Vue.use(VueMatomo, {
host: 'myhost.com',
siteId: 2,
trackerFileName: 'piwik',
router,
enableLinkTracking: true,
requireConsent: false,
trackInitialView: ...
0
votes
1
answer
90
views
Matomo iframe widgets report "For embedding widgets super user token auths are not allowed" but auth token is read-only
We have started using Matomo for analytics on some of our web sites.
We're experimenting with adding iframe widgets and graphs into particular parts of our Web app for certain authorised users. To do ...
3
votes
2
answers
113
views
Matomo - Multiple Containers / Tag Managers on Single Site
Setup
My team is building a web component, which is integrated on many host sites
Each of these host sites is managed by a different team and has its own Matomo Tag Manager with its own id e.g. <...
0
votes
1
answer
29
views
How to create custom variables or dimensions during log import
I want to import a custom log format and create custom variables or dimensions for certain custom log fields. However, the documentation seems to be sparse in this regard. Could someone point me to ...
0
votes
1
answer
50
views
Matomo - On Premise - Create Custom Report to See Page Views for a given timeframe
We have the On-Premise setup of Matomo. Can someone let me know how we can generate reports with :
A graph having Pageviews by hour, total pageviews, and then
Top pages of the day and their pageviews ...
1
vote
0
answers
80
views
Matomo Tracking with Custom Variables get summed up/overwritten
I’m trying to track page views using custom variables but I can’t get it right. For instance, if some user has logged in and opened Article A once + Article B twice, I assume to get “1” for Article A ...
0
votes
1
answer
94
views
Updating matomo customvariables via a dockerfile
I have a dockerfile in which pulls in matomo and makes a copy of my config file,
FROM matomo:3.14.1
COPY config/config.php /var/www/html/config/config.php
RUN ./console customvariables:set-max-...
0
votes
1
answer
171
views
How to access matomo via a subpage on nginx Ubuntu
I am using an Ubuntu 18.04.5 LTS webserver that is configured with nginx. The server is running and I can access any file on my mainpage example.com. Now I want to install matomo on the server. ...
1
vote
0
answers
46
views
How do I setup a logger in my Matomo plugin Command class?
I am trying to create a logger just like that described in the Matomo documentation, but the dependency injection does not seem to be working.
The docs: https://developer.matomo.org/guides/logging
My ...
0
votes
0
answers
117
views
Import analytics data from Piwik to Matomo on new server
Piwik: 2.11.2
Matomo: 3.14.1
Currently I am using Piwik for tracking visitor analytics for over 100 websites and I am planning to switch to a newer Matomo version on a different server.
I would like ...
0
votes
3
answers
293
views
How to setup/access page in subdirectory of separate project for a Laravel/OctoberCMS website?
I have a website running an OctoberCMS theme that I built. It's running on a server from DigitalOcean. I need to add a separate project (namely code from Matomo analytics) on the same server and ...
0
votes
1
answer
42
views
Matomo - visits log filter by browser version
I am trying to retrieve information of all the visitor's browser info(especially the browser versions). Is this possible to filter logs based on this criteria?
0
votes
1
answer
43
views
Matomo Setup highly Unstable
I’m having trouble with my matomo in my openshift. This matomo is rather unstable.
When I start the pod motomo runs fine for a short time (very short time). Then matomo starts to respond with http 504 ...
0
votes
1
answer
59
views
Matomo - how to group different URLs in tracking / how to track moodle course activity?
I have the following challenge:
I have a Moodle system and would like to track visitor activity in the courses via Matomo.
The problem is that one course has several activities, but they are found ...