×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: HTML
Posted by: Joseph Riviello
Added: Feb 24, 2013 1:32 PM
Views: 22
To use this code for your link, just copy and paste the code, and make the following changes. http://www.google.com/ should be the url you’d like to link to. The first Google (between the single quotes) should be whatever you’d like to name your link, and the second Google (between the carrots) should be the text you want to be hyperlinked.
  1. <a onclick="_gaq.push(['_trackEvent', 'Outbound Links', 'Click', 'Google']);" href="http://www.google.com/">Google</a>