Support » Plugin: Google Analytics for WordPress by MonsterInsights » Event Tracking for Downloads Stopped Working in April

  • Resolved Jo Sprague


    Before April, I had set up this plugin to track events for downloads on my site. Right around April first, all of the download events stopped tracking. Outbound links seem to be tracking fine. I checked my pages that have download links, and it seems that the event tracking JS code is missing, so I checked my settings in the plugin and it seems that everything is configured correctly;

    Track outbound clicks & downloads: is checked.

    Extensions of files to track as downloads: is set to doc,exe,js,pdf,ppt,tgz,zip,xls

    I don’t see any other settings that should interfere with this, and the rest of the GA tracking seems to be working fine.

    As an example, the “Download Application” link on this page should have (and used to have) an event tracking code on it, but it doesn’t:

    What else can I check?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have narrowed my issue down to only relative links. If I change the links on my site to include the http protocol as well as the domain, the tracking code is applied.

    Unfortunately, that is not a permanent solution, since I don’t want to use absolute links for my downloads, so I still have to figure out a solution for applying the tracking code to relative links.

    Well, I did a little more reading, and it looks like relative URLs are actually bad practice. I was misinformed before, thinking that relative URLs were a good practice. Guess I’ll be changing my links. And I doubt Yoast has plans to update the plugin to resolve this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Event Tracking for Downloads Stopped Working in April’ is closed to new replies.