Ready to get started?Download WordPress


Google Analytics Suite
[resolved] Downloads code broke tracking (3 posts)

  1. Tiggerito
    Posted 1 year ago #

    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.


  2. Arevico
    Plugin Author

    Posted 1 year ago #

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

  3. dejliglama
    Posted 5 months ago #

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

    Any update nearby ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.