Event Tracking html getting scrambled

Discussion in 'Google Analytics' started by cryffmoon, Jan 7, 2014.

  1. #1
    I am trying to set event tracking for the original link below.

    I add what I believe to be the correct code to the link, but when I sabe changes and go back to the source code I get a scrambled version.

    I am doing something wrong in with the code I am adding?

    Original
    <A href="PDF/FW%20loan%20application%20form%20-%20English.pdf">investment application form</A>.

    Event tracking
    <a href=“/PDF/FW%20loan%20application%20form%20-%20English.pdf” onClick=“_gaq.push([‘_trackEvent’, ‘form_link’, ‘clicked’]);” target=“_blank”>investment
    application form.</a>

    After saving the page
    <a onclick=“_gaq.push([‘_trackEvent’, href="“/PDF/FW%20loan%20application%20form%20-%20English.pdf”" target=“_blank” ‘clicked’]);” ‘form_link’,>investment application form.</A>

    Thanks
     
    cryffmoon, Jan 7, 2014 IP
  2. NutraTech

    NutraTech Peon

    Messages:
    13
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    3
    #2
    What platform is the website built with?
     
    NutraTech, Jan 23, 2014 IP