G'Analytics Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • paulsmith
    Registered User
    • Nov 2011
    • 17

    #1

    G'Analytics Question

    Hi Gfy'ers,

    This is my first post but I've been reading for some time here.

    I want to track outbound clicks from my website to my verotel join page. How do I do this on Google Analytics?
  • xxx6live
    Confirmed User
    • Dec 2012
    • 279

    #2
    Hi there,

    you could attach a onClick to the outgoing link(s), something like this if you have the latest universal analytics installed:

    Code:
    <a href="blabla"> onClick='javascript: ga("send", "pageview", "/veroteljoin");'>
    the /veroteljoin can be anything you want to be logged. If you have the older analytics the code is different (something with _gaq.push ...)

    Comment

    • Panty Snatcher
      eat a peach for Hours
      • Aug 2013
      • 540

      #3
      I found a js that does not require addin an onclick event.

      I am now looking into improving it now with a data layer

      Comment

      • paulsmith
        Registered User
        • Nov 2011
        • 17

        #4
        Thanks for the help, I'll see how it works!

        Comment

        • aka123
          Confirmed User
          • Jul 2014
          • 4450

          #5
          With Google tagmanager you can use Google Analytics and track events like clicking links. The setup was a bit tricky, at least for me, but you can track everything without adding any additional codes to the site, except the tagmanager code (like Analytics code). So it is very easy to track old and new links.

          Comment

          Working...