• Extensions
  • FriendsOfFlarum Analytics - tracking user visits

9 days later

santiagobiali I successfully got it working!
With piwik, If you're using a https flarum install and sending the tracking through http for the piwik.js, it won't work.
Had to get a cert for my piwik install so it could use https and suddenly everything worked ?

Also, site id works perfectly!

    Kulga thanks for the reply.
    The extension uses the same protocol of the forum, if you are using https you browser blocks http connections as a safety measure.

    Glad you got it working ?

    0.3.3 is out.

    Great Changes, a page in admin was added, it shows piwik's(only, for now) dashboard in flarum.
    You can add/remove/move the blocks and let it the way you want!

      Looks like it uses Widgetize in Piwik

      Display any Piwik report in your website or app with a simple Embed HTML tag.

      Despite the user being used (per the auth token) I notice it only displays the correct (current) site even though it has view permissions for other sites. That's really good ?

        Kulga it choses the site by the site Id that is being used to display the tracker in the forum. So it displays the dashboard of the forum that the extension is tracking.

          17 days later

          Just a suggestion: a good choice for the next integration might be https://segment.com/

          We use them to send tracking data to a bunch of services simultaneously. They've gotten extremely popular in the startup world, and it would allow you to say you support "all" of the analytics providers for people who are willing to use a 3rd party service.

          They're also open source, so integration is pretty simple, e.g.:

            5 days later

            No problem! Thanks for all of your hard work, Flarum is really looking great.

            16 days later

            i got this problem

            Your requirements could not be resolved to an installable set of packages.

            Problem 1
            - Installation request for flagrow/flarum-ext-analytics 0.4.0 -> satisfiable by flagrow/flarum-ext-analytics[0.4.0].
            - flagrow/flarum-ext-analytics 0.4.0 requires flarum/core 0.1.0-beta.5 -> no matching package found.

            Potential causes:
            - A typo in the package name
            - The package is not available in a stable-enough version according to your minimum-stability setting
            see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

            Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

              iFaisal what version of flarum are you using?

              In the following:

              Your requirements could not be resolved to an installable set of packages.
              
              Problem 1
              - Installation request for flagrow/flarum-ext-analytics 0.4.0 -> satisfiable by flagrow/flarum-ext-analytics[0.4.0].
              # PROBLEM DOWN BELOW
              - flagrow/flarum-ext-analytics 0.4.0 requires flarum/core 0.1.0-beta.5 -> no matching package found.
              # PROBLEM UP ABOVE
              
              [•••]

              One would imagine you are not running beta5 of Flarum.