WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Yoast Google Analytics for WordPress] not tracking downloads

[Plugin: Yoast Google Analytics for WordPress] not tracking downloads

  • Hello

    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:
    http://www.pjdc.org/member-resources/resource-bank-items/?search=competence+evaluations&submit.x=-1240&submit.y=-273

    Any help would be appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Jo Sprague
    Member

    @josiahsprague

    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.

    esmi
    Forum Moderator

    @esmi

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

    Jo Sprague
    Member

    @josiahsprague

    @roble

    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.

    Jo Sprague
    Member

    @josiahsprague

    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.

    http://yoast.com/relative-urls-issues/

    Hope that answers your questions @roble

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Yoast Google Analytics for WordPress] not tracking downloads’ is closed to new replies.