Support » Plugin: WP-Matomo (WP-Piwik) » HTTPS Tracking not working

  • Hi,

    I have 2 sites setup with Matomo tracking. One is using SSL and the other isn’t. The one with SSL doesn’t register any visitors. I setup Matomo with Force SSL and changed the apache config to support HTTPS requests. The Matomo site is setup with a self-signed cert. Is this the issue?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    I’m not sure if I have the same problem, but when I set the Piwik URL to https://www.myserver.nl (PIWIK/Matomo is running on a SSL server) I mostly get the error “SSL certificate problem: self signed certificate in certificate chain”.
    But on some of my websites the connection to Matomo does work. Settings the same, provider the same, Matomo runs at the same provider and they checked the certificate and server settings. We have no idea why some sites do connect and others not…

    Plugin Author braekling

    (@braekling)

    First of all, is the connection between WP-Matomo and Matomo itself working as expected? I.e., can you see the statistics page, is the correct site estimated, is the tracking code shown?

    If so, there is no connection issue. You should check if the JavaScript tracking code is embedded as expected, and you should check for any JavaScript or connection errors on client site. E.g., if the user’s browser does not accept you self signed certificate, the Piwik code is not loaded, of course.

    If not, it may help to update your server certificates, see this post: https://wordpress.org/support/topic/plugin-wp-piwik-https-ssl-support/#post-2580794

    I have a similar issue:

    I have a piwik installtion at https://www.naturfotografie-kruse.de/piwik

    I had the constellation with my old provider in use. Everything went well

    Now I get this error message in the WP plugin for Piwik ”

    “WP-Matomo 1.0.19 could not connect to Piwik with this configuration. The following error occurred while establishing the connection:
    SSL: no alternative certificate subject name match target host name ‘www.naturfotografie-kruse.de1’

    What’s it all about? piwk as well as the domain are running with https?

    I have the same problem that no users are counted.
    Just migrated two web sites to another server and applied an SSL certificate.
    With one site WP-Piwik/Motamo works fine. Users are counted.
    With the other site: Nothing. No matter what I do.

    I even reset the whole plugin. Deinstalled, reinstalled. Deleted the web site from Motamo and re-registered.
    It just won’t count.
    Even though it connects just fine with Motamo and registers the web site.

    Help urgently needed.

    Plugin Author braekling

    (@braekling)

    @hkruse Seems like the URL does not fit the certificate. Where does the “1” at the end of your domain come from? “…kruse.de1” Maybe there is something wrong?

    @aski71

    If so, there is no connection issue. You should check if the JavaScript tracking code is embedded as expected, and you should check for any JavaScript or connection errors on client site. E.g., if the user’s browser does not accept your self signed certificate, the Piwik code is not loaded, of course.

    I don’t know exactly what it was. In the meantime I had to migrate all my websites and Motamo to a new server. After migration everything worked well again.

    Plugin Author braekling

    (@braekling)

    @aski71 Ok, thx for the update!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘HTTPS Tracking not working’ is closed to new replies.