Results 1 to 3 of 3

Thread: Pop-it Menu

  1. #1
    Join Date
    Aug 2011
    Location
    Ottawa, Ontario, Canada
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pop-it Menu

    I am trying to set up this pop-it menu on my website but I want to be able to track the pdfs with Google Analytics.

    I have added the Google script as required as well as the script for the pop-it menu.

    http://www.sirc.ca/csprenewal-2011.cfm

    Example:

    without tracking code (pop-it menu works on website)
    [CODE]linkset[0]='<a href="http://www.sirc.ca/csprenewal/documents/reports/Esurvey_Final_Report.pdf" target="_blank">Final Report</a>' [CODE]

    with tracking code (pop-it menu doesn not show up on website)
    [CODE]linkset[0]='<a href="http://www.sirc.ca/csprenewal/documents/reports/Esurvey_Final_Report.pdf" target="_blank" onClick="javascript: _gaq.push(['_trackPageview','/CSPR/2011/EN/SIRCFinal']);">Final Report</a>'[CODE]

    Is this possible or is there another way I should be doing this?

    Thanks

  2. #2
    Join Date
    Dec 2004
    Posts
    177
    Thanks
    0
    Thanked 18 Times in 17 Posts

    Default

    Try:

    Code:
    linkset[0]='<a href="http://www.sirc.ca/csprenewal/documents/reports/Esurvey_Final_Report.pdf" target="_blank" onClick="javascript: _gaq.push([\'_trackPageview\',\'/CSPR/2011/EN/SIRCFinal\']);">Final Report</a>'
    Verzeihung!

  3. #3
    Join Date
    Aug 2011
    Location
    Ottawa, Ontario, Canada
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I tried your suggestion and still that line does not show up in the pop-up menu.

    Could it be that it does not like javascript inside a linkset? If so, do you know of another way to track (for Google analytics) PDF documents from a pop-up menu?

    Thanks for your help.

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
  •