• Resolved creativeinteractivemedia

    (@creativeinteractivemedia)


    Thanks for the awesome plugin!

    Is it possible to track clicks to external links? It says in the description “Also supports tracking links and conversions via the Custom Code setting”. Can you give more details on this?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help!

    “Is it possible to track clicks to external links?”

    Perhaps, just need the Google doc URL that explains what you are trying to do. That way I can take a look and see if possible with the current version of the plugin.

    Thanks for the great review, btw!

    Thread Starter creativeinteractivemedia

    (@creativeinteractivemedia)

    Thanks for the fast reply. I am trying to capture outbound links on my website as events in GA. When user clicks on any external link, it should be registered as event. Is that possible with your plugin? Some other plugins have this enabled by default.

    Thanks

    Plugin Author Jeff Starr

    (@specialk)

    Yeah just need the URL to the Google doc that explains it, so I can follow along and see if it’s possible to do. Without the doc, can’t say either way.

    Thread Starter creativeinteractivemedia

    (@creativeinteractivemedia)

    I found the solution, I added this

    window.onload = function(){
        jQuery("a").bind("click", function(e){
            ga('send', 'event', 'outbound', this.href , 'click')
        })
    }

    to Custom GA Code

    Cheers

    Plugin Author Jeff Starr

    (@specialk)

    Thanks for sharing your solution. I’ll add a note in the docs next plugin update. Cheers, @creativeinteractivemedia.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Tracking outbound links’ is closed to new replies.