• Extensions
  • FriendsOfFlarum Analytics - tracking user visits

Gatsu the placeholder text inside of the token field tells you where you can find the token in your Matomo dashboard.

Personally I never used this feature, I prefer to access the Matomo dashboard directly. This is just a simple iframe to the same page you get in Matomo.

Filling in the token has no other purpose outside of enabling the iframe. It's not a requirement.

Matomo is the new name of Piwik. The extension might still say Piwik, I haven't checked.

    21 days later

    DanielOX the admin panel tab only activates if you're using Matomo and only if you provide a Matomo API Key. It's just an iframe to the Matomo admin panel.

    All settings are found in the settings modal. There are no other visible pages added by this extension.

      DanielOX you will find your analytics in Google Dashboard.

      Matomo is the other analytics software supported by this extension. Matomo can be self-hosted.

        DanielOX it works. But you can only see Google Analytics stats from Google's own dashboard at https://analytics.google.com/analytics/web/

        I have now removed the second screenshot from the first post because I'm fed up with all the questions about that feature. The iframe thingy has always been a Matomo-only feature. I personally think that feature should never have been implemented, half of this thread content is about it and I'm pretty sure almost nobody is using it.

          DanielOX there is no sidebar.

          1. Fill in your Google Analytics credentials.
          2. Wait for visitors or visit the website yourself.
          3. See visitors in the Analytics dashboard provided by Google.
          13 days later

          0.9.0

          • Moved from Flagrow to FoF namespace See UPGRADING note below
          • Added support for Google Optimize and/or GTM (Thanks giffgaff)

          Updating

          composer require fof/analytics
          php flarum migrate
          php flarum cache:clear

          Composer should remove flagrow/flarum-ext-analytics and replace with this. If for some reason it does not, remove the old package using composer.

          Don't forget to enable the extension, as it will be disabled at first!

            mekici Yes, the old packagist marked abandoned and suggests the new one. I did manage to install from the new fine just now.

            What is the error you're seeing?

              IanM I found that there was no problem when I canceled and tried again because the installation was taking too long. Everything is OK.

              luceos changed the title to FriendsOfFlarum Analytics - tracking user visits .

              IanM Enabling the new updated version I got this 'problem' on my forum pages refresh:

              Analytics Disabled

              Analytics Enabled

              • IanM replied to this.

                robinodds either the cache was not cleared after upgrading the extension, or there is an error in the GTM code entered in the extension settings.

                  IanM Both GTM code ID and Optimize Tracking Code are empty. I cleared the cache many times

                  • IanM replied to this.

                    robinodds Ok, I assume the error disappears if you disable the Google Analytics section of the extension, but leave the extension itself enabled?

                    To confirm (to help track down the problem)

                    You have a valid entry in Tracking Code ID, and both GTM Code, Optimize Code are empty (also no whitespace there)?

                    I need to understand the exact circumstance so that I can investigate fully