WordPress.org

Ready to get started?Download WordPress

Forums

All in One SEO Pack
Tracking Outbound Links (2 posts)

  1. smileabit_lol
    Member
    Posted 3 months ago #

    Hi,
    Perfect plugin thank you. My problem is that I cant find where to check outgoing links statistics in google analytics panel. I had already checked the selectbox "Track Outbound Links" setting but I still dont know whether I need to add code to the links I would like to track or create a new event for ga adding extra code for the website.

    I would be happy if you can show me a good documentation about it for especially what plugin does about that, because what I have found is not enough to understand what is going on.

    Thank you very much.

    https://wordpress.org/plugins/all-in-one-seo-pack/

  2. wpsmort
    Member
    Posted 3 months ago #

    Hi,

    I'm not an expert on this but reading the Google documentation it looks like you need to add this code to your outbound links that you want to track -

    <a href="#" onClick="_gaq.push(['_trackEvent', 'Videos', 'Play', 'Baby\'s First Birthday']);">Play</a>

    https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

Reply

You must log in to post.

About this Plugin

About this Topic