We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17499 ☆ A M B ☆
    • 872 Posts
    Hi,

    I’ve just stumble upon this outstanding plugin for Wordpress which allow users to include Google analytics directly in the back end dashboard.

    With MODx Revolution on his way out soon, it would be nice to have a similar feature available for initial release.

    I’ve checked (just 5mn) the code, and it seems that they use a custom implementation of this interface:

    GAPI - Google Analytics API PHP Interface

    Anybody interested to start working on it when the beta 2 of revolution’s getting out?

    As an exemple, here is a screenshot of the dashboard of Wordpress with the plugin:



      • 2819
      • 30 Posts
      Heck, yes I’m interested ... though I’m more interested implementing it for MODx evo than MODx revo .. maybe it it’s possible to port it huh

        • 4971
        • 964 Posts
        Good idea!
        THere is a modx module/plugin to do the same using Piwik,
        maybe it can work as a framework for doing the GA one...
        I vote for the Evo version (we have time to do the Revo later)

        Forum thread: http://modxcms.com/forums/index.php/topic,32891.0.html
        Module/Plugin page: http://www.partout.info/piwik_modx_en.html

        hope it helps...
          Website: www.mercologia.com
          MODX Revo Tutorials:  www.modxperience.com

          MODX Professional Partner
          • 4310
          • 2,310 Posts
          I’ve just had a quick play with the PHP Classes.
          Don’t know yet how to get all the nice graphics, charting etc.
          Here’s a screen-shot of just the data in a table from within a Modx module.
            • 20413
            • 2,877 Posts
            THIS IS SUPERLICIOUS!! grin shocked
              @hawproductions | http://mrhaw.com/

              Infograph: MODX Advanced Install in 7 steps:
              http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

              Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
              http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
              • 17499 ☆ A M B ☆
              • 872 Posts
              That’s awesome bunk58.

              @mrhaw, just read your tweet about similar work too smiley
                • 4310
                • 2,310 Posts
                I did some more work on the module as a proof of concept.
                So far I have it outputting a tab for each report file placed in a given folder.
                Report files can be customised to show whatever combinations of data from Google Analytics that you need.
                The two reports I’ve created only output in table form, my thinking is that this is just a quick summary of the statistics from GA, not a replacement for accessing GA directly to view the full data.
                I also set up some configuration settings to enable deployment to individual client sites using a single GA account with multiple profiles.
                Attached are a couple more screen grabs.
                If there is some interest in having this developed further let me know and I’ll see if I can find the time to tidy it up ready for release.


                  • 26931
                  • 2,314 Posts
                  anonymized-26931 Reply #8, 17 years ago
                  Hi bunk,

                  that looks awesome! smiley

                  mrhaw twittert this link today: http://davidwalsh.name/php-google-analytics one of the comments points to a free Flash based charting php class http://www.fusioncharts.com/free/ ...how are the GA graphs displayed in the Wordpress plugin?
                    • 25663 MODX Staff
                    • 12,272 Posts
                    Please carry on. I’m super-interested in this. Thanks!
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 4310
                      • 2,310 Posts
                      I’ve used Modx & Fusion Charts on another project for graphically representing remote xml data.
                      I suppose flash interactive charts look a lot better than tabular data so maybe it would be the route to go down.
                      Producing the first one is likely to be the time eater, after that they would be variations of charts representing different views from the range of available GA data. Lets hope there aren’t too many JS conflict issues and that I find some time to delve deeper.