SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jan 2009
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help w/ HTML links and google download tracker

    Hi - I am trying to add the google tracker to my PDFs.

    The code for the link originally stands at:

    HTML Code:
    <tr align="right" valign="top">
    <td colspan="2">Download PDF: <a href="http://africahealth2010.aed.org/PDF/Annual_Report_2006.pdf" target="_blank">English </a></td>
    </tr>
    With the download tracker inserted, I get:

    HTML Code:
    <tr align="right" valign="top">
    <td colspan="2">Download PDF: <a href="http://africahealth2010.aed.org/PDF/Annual_Report_2006.pdf" nClick="javascript: pageTracker._trackPageview('/downloads/map'); "target="_blank">English </a></td>
    </tr>
    But then my target="_blank" does not work - where am I going wrong?

    Thank you!

  2. #2
    The Mind's I ® silver trophy Dark Tranquility's Avatar
    Join Date
    Sep 2003
    Location
    KSA - UAE
    Posts
    9,458
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Try this

    Code HTML4Strict:
     <a href="http://africahealth2010.aed.org/PDF/Annual_Report_2006.pdf" onClick="javascript: pageTracker._trackPageview('/downloads/map');" target="_blank">English </a>


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •