We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    The plugin if installed according to the instructions have the test mode parameter set to 0, which is how all my sites have it running successfully. Or do you mean another parameter?
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 15309
      • 30 Posts
      I am just going crazy.... huh

      Its not working at all.. i downloaded the script and created a plugin as instructed and checked the System Event as well... but it is not working for me..

      is it because i a m using it on my development server(localhost)..??

      plz suggest..?
        • 10495
        • 18 Posts
        Hi kamalsomani

        don’t know if you’ve sorted this out but first thing, check that the code it appearing in your html (view source, at the bottom of the page)

        if not, are you logged into the manager?

        the plugin won’t show any code if you’re logged into the manager (so you don’t show in the stats, cool huh!)

        if you’re definitely not logged into the manager and it’s not putting any code in your page, double check the instal instructions for the plugin and try again

        I’ve just done that and it’s working beautifully smiley (once I’d sorted the logged in bit... see it’s as cunning as a fox who’s been appointed professor of cunning at Oxford University smiley

        hope that helps

        Gary
          • 4385
          • 372 Posts
          Why would you do this instead of a chunk in your templates?
            DropboxUploader -- Upload files to a Dropbox account.
            DIG -- Dynamic Image Generator
            gus -- Google URL Shortener
            makeQR -- Uses google chart api to make QR codes.
            MODxTweeter -- Update your twitter status on publish.
            • 21056
            • 327 Posts
            Quote from: bwente at Mar 06, 2008, 03:25 PM

            Why would you do this instead of a chunk in your templates?

            It has a few advantages
            * it respects the "log visits" setting on ModX pages in the manager - e.g. if you untick the box for one page, it will not get the tracking code on it
            * it also ignores visits when you are logged in to the manager (e.g. when QuickEditting)
            * it is easy to turn off for debugging (just a tick box in the Manager, instead of commenting out code)
            * it has some other interactive capabilities (like the ’alternative tracking URL’ functionality I recently added) which isn’t possible with chunks

            But, if chunks suit, there’s nothing wrong with them!
              Author: ManagerManager plugin - customise your ModX manager interface

              Rckt - web development, Sheffield, UK
              • 4385
              • 372 Posts
              Excellent!

              Thanks. That is certainly a superior solution.
                DropboxUploader -- Upload files to a Dropbox account.
                DIG -- Dynamic Image Generator
                gus -- Google URL Shortener
                makeQR -- Uses google chart api to make QR codes.
                MODxTweeter -- Update your twitter status on publish.
                • 27749
                • 53 Posts
                It seems to me, the 1.4 version inputs the new/logacy link to the .js file @ google, but the javascript is not the new one.. Does this have any effect on tracking?


                EDIT - sorry.. i see it now.. its the new code, but without the javascript document.write around..
                  • 16085
                  • 203 Posts
                  This version of the plugin is working much better for me now! smiley
                    • 31227
                    • 198 Posts
                    Hi, just wanted to know if it is possible (& how if it is) to use this snippet in modxcms for sites with more than 1 url, for eg I run a multi-lang site with Russian & english languages. The english site has an ending .com and the russian has a .ru ending, id like to keep the tracking separate. Thanks!
                      Pure MODx sites
                      Viriko.ru & Viriko.com - Multilingual and running on 1 MODx
                      • 25663 MODX Staff
                      • 12,272 Posts
                      That would need some custom coding to detect, but it should be possible. You’d need to modify the plugin though I think. It could first check the language then write the appropriate tracking code as needed.
                        Ryan Thrash, MODX Co-Founder
                        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me