WordPress.org

Forums

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

  1. Tony McCreath
    Member
    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.

    http://wordpress.org/extend/plugins/google-analytics-suite/

  2. Arevico
    Member
    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
    Member
    Posted 1 year 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

  • Google Analytics Suite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.