Support » Plugin: Google Analytics Suite » Downloads code broke tracking

  • Resolved Tony McCreath


    After installing this my tracking stopped. I did some investigation and there seems to be a bug in tracker.js:

    $(‘href$=”.’ + elem + ‘”‘).each(function(i,elem){

    I changed this to the following and things are now tracking (I think):

    $(‘*[href$=”.’ + elem + ‘”]’).each(function(i,elem){

    Not a JavaScript expert so not sure if that code is correct.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Arevico


    Yes, you are correct. It needs to be an attribute selector. I will update it soon! Thank you for pointing this out

    Having the track downloads on for me made pdf links not clickable.
    Disabling that portion of the tracking made it work.

    Any update nearby ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Downloads code broke tracking’ is closed to new replies.