Hi,
you will need to add “pdf” to the list of extensions you would like Slimstat to consider as “downloads”. You can do this by going to Slimstat > Settings > Tracker > Downloads option.
Let me know if that helps,
Jason
That is already enabled, but the link spawns PDFs using a slug like this: https://domain.com/viewer/index.php?id=1032
Slimstat isn’t tracking the clicking of that link as an outbound link or a download.
I see. Well, Slimstat will look for the extension on the link itself. In your case the extension is .php, which then triggers some kind or redirect to the actual PDF download. Because of the way redirects are handled in WordPress, it would not be possible to actually track that click as a “download”. You can however generate reports on those URLs by using the Filter Bar and setting a filter “where permalink contains /viewer/” or something like that.
Out of curiosity, how are those links to spawn PDFs generated / managed?
Jason
Thanks Jason. I was able to get Slimstat to track it by adding “php” as an extension to track as downloads (these are the only links that use the file extension, so it’s fine). The links are managed outside of WordPress, which likely explains why it wasn’t working with Slimstat out of the box (though I had tried adding the tracking code in Settings to no avail). All’s well that ends well — Slimstat is working great now. Thanks for all your help!
Great! Thank you for letting us know.