Title: Adding tracking code to links output
Last modified: August 19, 2016

---

# Adding tracking code to links output

 *  [justinbriggs1](https://wordpress.org/support/users/justinbriggs1/)
 * (@justinbriggs1)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-tracking-code-to-links-output/)
 * Hey everyone, I am trying to track outbound links with Analytics, but I can’t
   seem to find a way to add the necessary tracking code:
    <a onclick=”javascript:
   pageTracker….etc
 * to my blogroll links.
 * Has anyone had to do this before? I would rather not hard-code my links into 
   a page but I have not come up with a solution yet.
 * Any help would be appreciated. Thanks,
 * JW

Viewing 1 replies (of 1 total)

 *  Thread Starter [justinbriggs1](https://wordpress.org/support/users/justinbriggs1/)
 * (@justinbriggs1)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-tracking-code-to-links-output/#post-1436070)
 * Actually, never mind, Analyticator plugin will track outbound links automatically
   without the code needing to be added.
 * Justin

Viewing 1 replies (of 1 total)

The topic ‘Adding tracking code to links output’ is closed to new replies.

## Tags

 * [links](https://wordpress.org/support/topic-tag/links/)
 * [onclick](https://wordpress.org/support/topic-tag/onclick/)

 * 1 reply
 * 1 participant
 * Last reply from: [justinbriggs1](https://wordpress.org/support/users/justinbriggs1/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/adding-tracking-code-to-links-output/#post-1436070)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
