[Plugin: Yoast Google Analytics for WordPress] not tracking downloads (5 posts)

  1. Roble
    Posted 1 year ago #


    I installed version 4.3.3 of the plugin and enabled download tracking (by checking "Track outbound clicks & downloads" and specifying "Extensions of files to track as downloads:"), but document downloads are not showing up in Google Analytics.

    I am using WordPress version 3.7.1.

    I do see Yoast's GA code in the head of the document.

    After turning on the Enable Debug Mode, I looked in the web inspector console and did not see any output when clicking on outbound links.

    Here's a page with a downloadable document:

    Any help would be appreciated.

  2. Josiah Sprague
    Posted 1 year ago #

    I'm having the same issue. Looking at Google Analytics reports, it seems that the issue started for me when I updated the plugin on April 1, 2013. I will respond if I find a solution.

  3. esmi
    Forum Moderator
    Posted 1 year ago #

    @Josiah Sprague: If you require assistance then, as per the Forum Welcome, please post your own topic.

  4. Josiah Sprague
    Posted 1 year ago #


    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'll have to figure out a solution for applying the tracking code to relative links.

    Hopefully that helps.

  5. Josiah Sprague
    Posted 1 year ago #

    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.


    Hope that answers your questions @Roble

Topic Closed

This topic has been closed to new replies.

About this Topic