You may have a scenario where you want to evaluate the full user-experience of your visitor’s behaviour in Github hosted websites. You can achieve this with Matomo. Follow the steps below:

  1. Login to Matomo as an Administrator
  2. Create a New Website
  3. To get the Matomo JavaScript Tracking code:
    a. Click on “Administration” (cog icon) on the top right of your dashboard
    b. Click on “Websites > Tracking Code”
    c. Choose the website from the dropdown
    d. Configure the options as desired
    e. Copy the JavaScript Tracking Code
  4. Proceed to your GitHub repository of your GitHub pages hosted website
  5. Edit the HTML pages you want to track in Matomo
  6. Paste the tracking code in the HTML files before the end of </head> tag
  7. Save the edited files.

Happy Analytics!

Disclaimer: The use of any third-party tools (plugins, extensions, platforms, APIs, widgets, etc.) is at your own risk. Matomo does not own, control, maintain or support any third-party tools that integrate with our product. We recommend checking your privacy setup is correctly configured across your environment when using any third-party tools.

Previous FAQ: How do I install the Matomo tracking code to my Kajabi website?