Tracking menu item with Google Analytics

Community Forums Forums General Discussion Tracking menu item with Google Analytics

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  ATS 2 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #54845



    tracking a link or banner within a site is easy with onClick function like this:

    <a href="" onClick="_gaq.push(['_trackEvent', 'LivePage', 'Banners', 'Banner-1']);"><img src=""</img></a>

    But what if you need to track specific menu item clicks??? How to create a code for that?
    Exactly I need to track clicks on top menu blue item ‘Products & Courses’ here:

    Any guidance is appreciated!


    Why couldn’t you simply add this url to GA to track it as a new goal url or shorten it using a tracking service to Simple URL’s and add it to the menu as a custom link.



    braddalton, thank you for your response.
    Adding just URL is not my goal as this URL could be accessed in different ways.
    The goal is to track how many clicks people made exactly on that menu button.
    I’v found solution with this light weight plugin though. It does the job!
    GA Nav Menus Tracking

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.