Skip to content

setting up Matomo

Solved General
48 2 18.5k 1
  • JAC JAC

    @phenomlab said in setting up Matomo:

    @jac Unsurprising. There are two ways to do this

    • Create a CNAME record called WWW and have it point to the subdomain in DNS
    • Create a custom request for LE so that it ignores the www value, and only processes the actual domain you want

    VirtualMin -> Server Configuration -> SSL Certificate

    8ec0c6a1-fb68-4af8-a66e-b6dba7044a93-image.png

    Let’s Encrypt

    f0f6e0eb-de26-40bc-be66-7ebf708fa9fe-image.png

    Set as per the example, so you only request the domain you want. Ensure that “Automatically renew certificate” is selected, then “Request Certificate”

    Thanks,

    which is the best solution?

    wrote on last edited by
    #29

    @jac Well, depending on configuration, they are as simple as each other. If you choose the first, then you need to add DNS records, and ensure your server is capable of handling them on arrival (it should be by default).

    If you choose the second, it’s the easiest (and probably laziest 🙂 ), but it will work. We just then need to set a redirect so that all traffic lands up at https://site.domain.com even if we try with or without the www prefix.

  • @jac Well, depending on configuration, they are as simple as each other. If you choose the first, then you need to add DNS records, and ensure your server is capable of handling them on arrival (it should be by default).

    If you choose the second, it’s the easiest (and probably laziest 🙂 ), but it will work. We just then need to set a redirect so that all traffic lands up at https://site.domain.com even if we try with or without the www prefix.

    wrote on last edited by
    #30

    @phenomlab said in setting up Matomo:

    If you choose the second, it’s the easiest (and probably laziest ), but it will work. We just then need to set a redirect so that all traffic lands up at https://site.domain.com even if we try with or without the www prefix.

    Will try this now mate 🙂

  • JAC JAC

    @phenomlab said in setting up Matomo:

    If you choose the second, it’s the easiest (and probably laziest ), but it will work. We just then need to set a redirect so that all traffic lands up at https://site.domain.com even if we try with or without the www prefix.

    Will try this now mate 🙂

    wrote on last edited by
    #31

    @jac As per PM, this has been completed.

  • phenomlab phenomlab marked this topic as a question on
  • phenomlab phenomlab has marked this topic as solved on
  • @jac As per PM, this has been completed.

    wrote on last edited by
    #32

    @phenomlab said in setting up Matomo:

    @jac As per PM, this has been completed.

    Can’t thank you enough for that Mark! - Superb yet again! 🙂

  • JAC JAC

    @phenomlab said in setting up Matomo:

    @jac As per PM, this has been completed.

    Can’t thank you enough for that Mark! - Superb yet again! 🙂

    wrote on last edited by
    #33

    @jac I have a feeling the real-time map isn’t working correctly?

    Screenshot 2021-12-09 at 18-05-20 Stockport County Fans - Web Analytics Reports - Matomo.png

    “NO Data”.

  • JAC JAC

    @jac I have a feeling the real-time map isn’t working correctly?

    Screenshot 2021-12-09 at 18-05-20 Stockport County Fans - Web Analytics Reports - Matomo.png

    “NO Data”.

    wrote on last edited by
    #34

    @jac You need to wait for 24 hours ⏲

  • @jac You need to wait for 24 hours ⏲

    wrote on last edited by
    #35

    @phenomlab said in setting up Matomo:

    @jac You need to wait for 24 hours ⏲

    Thanks mate 🙂 was wondering if it should work real-time when someone visits. I do remember this being the case last time I used it.

  • JAC JAC

    @phenomlab said in setting up Matomo:

    @jac You need to wait for 24 hours ⏲

    Thanks mate 🙂 was wondering if it should work real-time when someone visits. I do remember this being the case last time I used it.

    wrote on last edited by
    #36

    @jac IMG_20211209_183230.jpg

    VPN connected to Holland… Stats site shows UK. Oh dear… 😳😑.

  • JAC JAC

    @jac IMG_20211209_183230.jpg

    VPN connected to Holland… Stats site shows UK. Oh dear… 😳😑.

    wrote on last edited by
    #37

    @jac said in setting up Matomo:

    @jac IMG_20211209_183230.jpg

    VPN connected to Holland… Stats site shows UK. Oh dear… 😳😑.

    This now makes me think, is the VPN really reliable or is the Matomo stats really good at showing the IP of where you really are 🤔

  • JAC JAC

    @jac said in setting up Matomo:

    @jac IMG_20211209_183230.jpg

    VPN connected to Holland… Stats site shows UK. Oh dear… 😳😑.

    This now makes me think, is the VPN really reliable or is the Matomo stats really good at showing the IP of where you really are 🤔

    wrote on last edited by
    #38

    @jac Matomo should only record what is being presented by the browser. Is the VPN actually enabled in the browser session ?

    Typically, this is via an add on or extension, or have you enabled it at system level via an application ?

  • @jac Matomo should only record what is being presented by the browser. Is the VPN actually enabled in the browser session ?

    Typically, this is via an add on or extension, or have you enabled it at system level via an application ?

    wrote on last edited by
    #39

    @phenomlab said in setting up Matomo:

    @jac Matomo should only record what is being presented by the browser. Is the VPN actually enabled in the browser session ?

    Typically, this is via an add on or extension, or have you enabled it at system level via an application ?

    This was connected to express VPN via mobile phone app. I also tried the same with Nord & repeated both on the Nvidia Shield yielding the same result (showing UK) despite being connected to Germany, France etc.

  • JAC JAC

    @phenomlab said in setting up Matomo:

    @jac Matomo should only record what is being presented by the browser. Is the VPN actually enabled in the browser session ?

    Typically, this is via an add on or extension, or have you enabled it at system level via an application ?

    This was connected to express VPN via mobile phone app. I also tried the same with Nord & repeated both on the Nvidia Shield yielding the same result (showing UK) despite being connected to Germany, France etc.

    wrote on last edited by
    #40

    @jac Another example…

    I’ve just connected to Finland and it shows I’m viewing the site from USA? I know this is an issue you can’t fix, I’m just bringing to your attention that possibly it’s not as reliable as we thought?

    I wonder if GA is any better? or am I getting too ahead of myself? 😛

  • JAC JAC

    @jac Another example…

    I’ve just connected to Finland and it shows I’m viewing the site from USA? I know this is an issue you can’t fix, I’m just bringing to your attention that possibly it’s not as reliable as we thought?

    I wonder if GA is any better? or am I getting too ahead of myself? 😛

    wrote on last edited by
    #41

    @jac said in setting up Matomo:

    I wonder if GA is any better? or am I getting too ahead of myself?

    You’re getting ahead of yourself. Don’t forget that Matomo is fully GDPR compliant, and will take into account the privacy side of things, and (possibly) anonymises information before it is presented to you. Another reason could be the IP GEO settings, which I’ll have a look at now.

  • wrote on last edited by
    #42

    @jac yep - as I suspected

    2572f7d6-871c-4f3e-b0b4-7fb26c878d39-image.png

    You’re using the default, so we need to change this. I’ll do this now

  • @jac yep - as I suspected

    2572f7d6-871c-4f3e-b0b4-7fb26c878d39-image.png

    You’re using the default, so we need to change this. I’ll do this now

    wrote on last edited by
    #43

    @phenomlab said in setting up Matomo:

    @jac yep - as I suspected

    2572f7d6-871c-4f3e-b0b4-7fb26c878d39-image.png

    You’re using the default, so we need to change this. I’ll do this now

    Understood 😉

    Thanks pal, many thanks for that 🙂

  • @jac yep - as I suspected

    2572f7d6-871c-4f3e-b0b4-7fb26c878d39-image.png

    You’re using the default, so we need to change this. I’ll do this now

    wrote on last edited by
    #44

    @phenomlab said in setting up Matomo:

    @jac yep - as I suspected

    2572f7d6-871c-4f3e-b0b4-7fb26c878d39-image.png

    You’re using the default, so we need to change this. I’ll do this now

    The aim is for this to portray accurate data? so going off the VPN location rather than just IP?

  • JAC JAC

    @phenomlab said in setting up Matomo:

    @jac yep - as I suspected

    2572f7d6-871c-4f3e-b0b4-7fb26c878d39-image.png

    You’re using the default, so we need to change this. I’ll do this now

    The aim is for this to portray accurate data? so going off the VPN location rather than just IP?

    wrote on last edited by phenomlab
    #45

    @jac Essentially, yes - if a VPN is active, this will be the chosen address as it’s what you are connecting with. Also, browsers these days have the ability to opt out of tracking, so if it does work, then the results might not be what you expected either.

    Neither Matomo or GA is going to be the holy grail I’m afraid because of privacy constraints.

    Geo IP2 is now active

    663dc5d7-77e8-4a74-ba32-821d8b66c06a-image.png

  • @jac Essentially, yes - if a VPN is active, this will be the chosen address as it’s what you are connecting with. Also, browsers these days have the ability to opt out of tracking, so if it does work, then the results might not be what you expected either.

    Neither Matomo or GA is going to be the holy grail I’m afraid because of privacy constraints.

    Geo IP2 is now active

    663dc5d7-77e8-4a74-ba32-821d8b66c06a-image.png

    wrote on last edited by
    #46

    @phenomlab said in setting up Matomo:

    @jac Essentially, yes - if a VPN is active, this will be the chosen address as it’s what you are connecting with. Also, browsers these days have the ability to opt out of tracking, so if it does work, then the results might not be what you expected either.

    Neither Matomo or GA is going to be the holy grail I’m afraid because of privacy constraints.

    Geo IP2 is now active

    663dc5d7-77e8-4a74-ba32-821d8b66c06a-image.png

    Many thanks mate, makes perfect sense!

    Thanks for the explanation 😄

  • JAC JAC

    @phenomlab said in setting up Matomo:

    @jac Essentially, yes - if a VPN is active, this will be the chosen address as it’s what you are connecting with. Also, browsers these days have the ability to opt out of tracking, so if it does work, then the results might not be what you expected either.

    Neither Matomo or GA is going to be the holy grail I’m afraid because of privacy constraints.

    Geo IP2 is now active

    663dc5d7-77e8-4a74-ba32-821d8b66c06a-image.png

    Many thanks mate, makes perfect sense!

    Thanks for the explanation 😄

    wrote on last edited by
    #47

    @jac No problems. The Real-Time map is also working now

    4d2e12a7-0061-4a7d-9179-aeda31db09bf-image.png

  • @jac No problems. The Real-Time map is also working now

    4d2e12a7-0061-4a7d-9179-aeda31db09bf-image.png

    wrote on last edited by
    #48

    @phenomlab said in setting up Matomo:

    @jac No problems. The Real-Time map is also working now

    4d2e12a7-0061-4a7d-9179-aeda31db09bf-image.png

    Many thanks for that mate, I do keep logging in to check it.

    I need some more members 😛


Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee ☕
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics
  • Nodebb vs Wordpress vs Other

    General wordpress nodebb woocomerce business
    4
    5 Votes
    4 Posts
    2k Views
    DownPW
    PrestaShop + modules IA https://www.prestashop.com Magento https://developer.adobe.com/open/magento
  • Torturing My Father & Mother In Law

    General linux story kde plasma fedora
    15
    15 Votes
    15 Posts
    4k Views
    phenomlab
    @DownPW once you leave windows for Linux, you don’t ever go back.
  • Infrared the new WiFi?

    General wifi infrared
    4
    2 Votes
    4 Posts
    2k Views
    phenomlab
    @JAC those speeds are indeed possible over light as a transport medium (if you consider the speed) but I can’t comprehend the distance quoted. If you happen to encounter a solid obstacle, the beam is either absorbed, or deflected meaning the data never arrives.
  • Cloud Storage Options

    General cloud storage onedrive dropbox nextcloud others
    7
    3 Votes
    7 Posts
    3k Views
    Madchatthew
    @phenomlab I will have to test this out in my virtual environment. I have an Arch KDE Plasma install in virtualbox that I am testing a bunch of things out before I actually wipe the hard drive and install linux. I am currently in the process of copying my Arch test web server over to virtualbox on linux to make sure that it works. This is the virtual server that I test updates on before updating the production server. I can’t remember the error I was getting but I think it had to do with the network device. That was on the virtualbox side. So the cloud storage will be the next thing that I test.
  • Virgin Media Pricing

    General virgin media sky
    11
    9 Votes
    11 Posts
    5k Views
    JAC
    @phenomlab some good savings there Mark. I’ll post mine once my new deal changes over.
  • Windows 10 End of Life

    General windows linux arch end of life
    10
    2 Votes
    10 Posts
    3k Views
    Madchatthew
    @phenomlab this looks very nice as well. It is nice that they keep the KDE Neon a rolling release so you will get those updated apps even though Ubuntu isn’t a rolling release. Is it a rolling distro? KDE neon is rolling for KDE software. The Ubuntu base OS is not, but certain packages will be updated as needed to support KDE software requiring newer library versions than what is provided by Ubuntu. Apps from the main repositories are not rolling either, and therefore can be up to two years old. Users are encouraged not to use them, and to instead get apps from Snap or Flatpak using KDE’s Discover app store. In neon, Discover is set up to only show apps from these sources, filtering out apps from the repositories.
  • OKTA offering personal password manager

    General okta password manager
    31
    18 Votes
    31 Posts
    11k Views
    phenomlab
    @Madchatthew yes, works well for us.
  • 4 Votes
    11 Posts
    4k Views
    phenomlab
    @Hari Really? Can you elaborate a bit more here?