WordPress.org

Forums

How to add Google analytics cross-domain onClick tracking code to links? (3 posts)

  1. zandiver
    Member
    Posted 3 years ago #

    One of my major frustrations with WordPress is that you can't edit link attributes in the Edit Link page. I have a number of external links on my blogs and need to track clicks to these external sites.

    I have added a link to my main navigation menu via the Links\Add New Link page. How do I add the onClick code to those links so I can track the external clicks via Google Analytics?

    Cheers, Brandon :-)

  2. Cooper
    Member
    Posted 3 years ago #

    Same issue here - did you find a resolution?

  3. zandiver
    Member
    Posted 3 years ago #

    None whatsoever I'm afraid :-(

    If anyone has a solution I sure would welcome it.

Topic Closed

This topic has been closed to new replies.

About this Topic