1

I have two different web servers at the moment:

  • Webserver 1 is hosting www.example.com, this webserver hosts just basic website files, no databases or anything extra, just the html files. The pages display correctly on this server.

  • Webserver 2 is hosting the Piwik install and currently doesn't have a domain name pointed at it, (e.g., 127.0.0.16/~username/analytics/piwik). I'm able to log in and view the Piwik dashboard and settings page.

The problem is that Piwik isn't recording any visits and I know that visitors are going to the site, and I know I've included the correct tracking code in the headers of the HTML pages I'm trying to track.

My Question is: Is there something I might be missing, such as a setting? What test or common things can I double check? What info would be of use towards finding and fixing this problem?

3
  • 1
    Perhaps there is a setting someone's familiar with, or they've run into this problem before. It might also be related to not using a domain name. I'd suggest confirming the visits in your access logs, and check for errors in the errors log.
    – dan
    Oct 27, 2014 at 0:51
  • Can you check if the following issue is related to yours? webmasters.stackexchange.com/questions/105782/…
    – user247471
    Apr 26, 2017 at 13:06
  • @user247471 the issue with my piwik if I remember correctly was that instead of using a FQDN I was using the IP address. Which should have still worked but for what ever reason it wasn't. www.Example.com/piwik/path/to/piwik/counter instead of 192.0.0.1/piwik/path/to/counter
    – T. Thomas
    Apr 26, 2017 at 14:05

1 Answer 1

1

I observed a similar issue between a live server and the new server I am planning to migrate to.

I access the latter either through its IP address or by modifying my local /etc/hosts file. The piwik install on that one doesn't record any visits.

I also observed that the visits I make to the new server are recorded to the old (live server's) piwik installation, probably because I used the same name/credentials for the databases.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.