So I successfully installed Matomo and have it working on my local host and on a free domain website. The problem is, when I try to use another computer to gather information nothing shows up. I’m on the same network so perhaps could that be an issue? But when I access the website from my phone still no information is shown. When I use other browsers on my computer which I installed Matomo with, it manages to track the other browsers. But doesn’t work with other computers. I know something is wrong but I would really appreciate some help. THANKS
Is your server where Matomo is installed reachable from the internet? Does it have a public domain?
I am not very well versed on the terminology of all this because it’s quite new to me but I’ll try my best to answer with what I know. I’m using xampp to connect to an apache server. And yes it does have a public domain, heres the link “http://mybootsrapcalendar.atwebpages.com/Feedback.html”. I have used award space to host my site.
<noscript><p><img src="//localhost/piwik/piwik.php?idsite=5&rec=1" style="border:0;" alt="" /></p></noscript>
You tell the website visitor to look for the website on localhost, which always points to one own computer. (And only on your computer points to your local matomo instance)
If you need help to setup Matomo on your webserver instead of your local computer, ask your webhost, they should know what to do.
How can other users access my website if it’s on localhost? Or are you just saying that it should be directed towards localhost for the src=""?
Noone can access Matomo if it is on localhost, so you need to have a domain that points to the publicly reachable IP-Address of your server.
So for example, my web page http://mybootsrapcalendar.atwebpages.com/Feedback.html which is publicly accessible, should theoretically work with piwik, right? But when I access it from my phone or home computer it doesn’t actually get any information. However, when I use my work computer it is able to track it. I tried this last night from home and got nothing. I’m not sure if you clicked the link I previously posted but I didn’t see any foreign users either.
I don’t mean that your website needs to be publicly accessible (which it obviously also needs to be), but your Matomo instance. It seems like you installed Matomo onto your work computer and as your visitor can’t send it’s data to your work-computer it doesn’t work. You also need to install Matomo on a webserver like your website.
Ok I think I’m starting to understand. If I’m correct my web server is apache which I’m running through xampp. Could you tell me how to get Matomo onto the web server or point me in the direction of a tutorial that could do so. I’ve been doing a lot of research but haven’t seemed to come across any that discuss that. Thanks you’ve been very helpful and I am very appreciative.
Just in case anyone wants to know my solution. No where on this website did I see this but with talking to someone who has piwik working, you want to put you ip address in the var u section. For example “var u = 123.456.789.000/piwik” very simple but no where did I see this.