We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24904
    • 79 Posts
    Hi guys

    just wondering if its possible to track exiting links with modx? (or I need to install a modx plugin of somesort?)
    What I mean is when i link a website, www.somesite.com, I would like to know how many user’s has linked on this link.
      • 20288
      • 132 Posts
      Revolver,

      You should be able to track this with some analytics software like Google Analytics. I’m not sure exactly if GA gets down to that granular of a level, but I’m sure some analytics software does.

      rthrash made an awesome Google Analytics Plugin. You can find it here. Maybe someone else can help you out to find exactly what you’re looking for- this is just the first thing that came to mind.
        • 24904
        • 79 Posts
        thanks

        I was thinking that there might be a snipplet of somesort
        where I would link to another site

        and it would replace the URL with www.mydomain.com/redirectout?www.somesite.com
        then we could track it smiley

        EDIT: in regards to the GA plugin you provided above, im not sure why I would need it?
        I just added a chunk and then add the chunk tag in my template and im done wink no need for extra plugins.
          • 7231
          • 4,205 Posts
          EDIT: in regards to the GA plugin you provided above, im not sure why I would need it?
          I just added a chunk and then add the chunk tag in my template and im done Wink no need for extra plugins.
          I wonder if one method is more efficient than the other?
            [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

            Something is happening here, but you don't know what it is.
            Do you, Mr. Jones? - [bob dylan]
            • 22303 MODX Staff
            • 10,725 Posts
            The plugin allows you to prevent logging on certain pages by checking the Log Hits variable (i.e. only inserts the GA script when the page metadata indicates that page should be recorded to GA), preventing hits from admin users, etc.
              • 24904
              • 79 Posts
              Quote from: dev_cw at Oct 09, 2008, 10:57 AM

              EDIT: in regards to the GA plugin you provided above, im not sure why I would need it?
              I just added a chunk and then add the chunk tag in my template and im done Wink no need for extra plugins.
              I wonder if one method is more efficient than the other?

              i’m not sure, but it works smiley
                • 24904
                • 79 Posts
                Quote from: OpenGeek at Oct 09, 2008, 11:15 AM

                The plugin allows you to prevent logging on certain pages by checking the Log Hits variable (i.e. only inserts the GA script when the page metadata indicates that page should be recorded to GA), preventing hits from admin users, etc.

                in that case, this plugin is useful. but how do you turn it off for pages you dont want on google?
                  • 22303 MODX Staff
                  • 10,725 Posts
                  Quote from: Revolver at Oct 09, 2008, 06:28 PM

                  Quote from: OpenGeek at Oct 09, 2008, 11:15 AM

                  The plugin allows you to prevent logging on certain pages by checking the Log Hits variable (i.e. only inserts the GA script when the page metadata indicates that page should be recorded to GA), preventing hits from admin users, etc.

                  in that case, this plugin is useful. but how do you turn it off for pages you dont want on google?
                  Sorry, you turn it off by unchecking the Log visits (stats) checkbox on the Page Settings tab when editing a Document (which is what I was trying to say previously).
                    • 24904
                    • 79 Posts
                    Quote from: OpenGeek at Oct 09, 2008, 08:15 PM

                    Quote from: Revolver at Oct 09, 2008, 06:28 PM

                    Quote from: OpenGeek at Oct 09, 2008, 11:15 AM

                    The plugin allows you to prevent logging on certain pages by checking the Log Hits variable (i.e. only inserts the GA script when the page metadata indicates that page should be recorded to GA), preventing hits from admin users, etc.

                    in that case, this plugin is useful. but how do you turn it off for pages you dont want on google?
                    Sorry, you turn it off by unchecking the Log visits (stats) checkbox on the Page Settings tab when editing a Document (which is what I was trying to say previously).

                    sorry about that, I got it now.
                    Thats a good feature!