Title: HTTPS Tracking not working
Last modified: March 2, 2018

---

# HTTPS Tracking not working

 *  [snowme](https://wordpress.org/support/users/snowme/)
 * (@snowme)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/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)

 *  [erwinodendaal](https://wordpress.org/support/users/erwinodendaal/)
 * (@erwinodendaal)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/https-tracking-not-working/#post-10048079)
 * Hi,
 * I’m not sure if I have the same problem, but when I set the Piwik URL to [https://www.myserver.nl](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…
    -  This reply was modified 8 years, 2 months ago by [erwinodendaal](https://wordpress.org/support/users/erwinodendaal/).
    -  This reply was modified 8 years, 2 months ago by [erwinodendaal](https://wordpress.org/support/users/erwinodendaal/).
 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/https-tracking-not-working/#post-10131177)
 * 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](https://wordpress.org/support/topic/plugin-wp-piwik-https-ssl-support/#post-2580794)
 *  [hkruse](https://wordpress.org/support/users/hkruse/)
 * (@hkruse)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/https-tracking-not-working/#post-10144353)
 * I have a similar issue:
 * I have a piwik installtion at [https://www.naturfotografie-kruse.de/piwik](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?
 *  [aski71](https://wordpress.org/support/users/aski71/)
 * (@aski71)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/https-tracking-not-working/#post-10193792)
 * 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](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [8 years ago](https://wordpress.org/support/topic/https-tracking-not-working/#post-10237887)
 * [@hkruse](https://wordpress.org/support/users/hkruse/) Seems like the URL does
   not fit the certificate. Where does the “1” at the end of your domain come from?“…
   kruse.de**1**” Maybe there is something wrong?
 * [@aski71](https://wordpress.org/support/users/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.
 *  [aski71](https://wordpress.org/support/users/aski71/)
 * (@aski71)
 * [8 years ago](https://wordpress.org/support/topic/https-tracking-not-working/#post-10237907)
 * 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](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [8 years ago](https://wordpress.org/support/topic/https-tracking-not-working/#post-10237946)
 * [@aski71](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/wp-piwik/assets/icon-256x256.png?rev=3529668)
 * [Connect Matomo - Analytics Dashboard for WordPress](https://wordpress.org/plugins/wp-piwik/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-piwik/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-piwik/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-piwik/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-piwik/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-piwik/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)
 * [tracking](https://wordpress.org/support/topic-tag/tracking/)

 * 7 replies
 * 5 participants
 * Last reply from: [braekling](https://wordpress.org/support/users/braekling/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/https-tracking-not-working/#post-10237946)
 * Status: not resolved