@anonymous-piwik-user opened this Issue on August 28th 2013

I'm experiencing this issue in 1.12, and it was confirmed by matt on this forum thread:

http://forum.piwik.org/read.php?2,84935,105947#msg-105947

I'm trying to setup a custom segment filtering Downloads to show only mp4 files. When viewing all visits, there are dozens, but when I add a custom segment setting the Page URL contains '.mp4' I get zero results. I'm using the fancy segment UI to build the segment, but obviously something is not working right. One other point of note is that I'm loading all of my data from Apache log files, rather than JavaScript using the included python script.

@mattab commented on September 6th 2013 Member

do we broaden Page URL scope by including downloads/outlinks or do we create new segment each?

@anonymous-piwik-user commented on September 17th 2013

Matt, thanks for taking the time to review this issue. Can you please clarify how this is not a bug? The segment option is listed on the Downloads page, so I would expect the Page URL to filter out Download URLs. Or if Page URL and Downloads are not compatible, I'd expect the segment editor to not let us select it.

Is there any workaround you can think of to work with downloads to pull out specific segments?

@mattab commented on January 13th 2014 Member

Maybe the solution could be to add "Download file URL" and "Outlink URL" segments.

@anonymous-piwik-user commented on June 17th 2014

We've been trying some time to get the downloads tracked. Using access_log direct import to include all direct downloads. I was unable to get it by filtering on Page URL and now I understand why. I would like to vote this one up :-)

@pmontepagano commented on August 8th 2014

Hey, can't you just edit import_logs.py so that the variable DOWNLOAD_EXTENSIONS is an empty set? Like this:

DOWNLOAD_EXTENSIONS = set()

I just did that and I guess that now I'll be able to segment on any kind of download. If you are interested in "static files", there's also STATIC_EXTENSIONS, which you can also edit.

@pascaldaniela commented on November 24th 2014

Hi folks, Piwik is great, though soemtimes giving me terrible headaches. The last one finally ended up on this thread. is there any solution for this problem in sight? It would really be great to be able to segment on "Download file URL". Thanks

@b-u-g-s commented on March 28th 2015

Hi,
What about using "Goals" as described in this article: http://www.elysiumsecurity.com/blog/Guides/post8.html
Not ideal, more complex than it should be, and only works on new "hits" but at least it gives you some detailed logs through segments reports/filtering. Could there be an option for the goal to apply to old/existing data?

@mattab commented on June 25th 2015 Member
  • when this is implemented, will it be possible to create a segment to limit the visitor log to visitors that downloaded any content? it was asked in the forum - maybe &segment=downloadUrl!= would work.
@mattab commented on September 17th 2015 Member

Once we have these segments, we will be able to add "Segmented Visitor Log" icon to let us see all users who downloaded a particular file. Refs #7212

@mattab commented on October 5th 2015 Member

Once we have these segments, we will be able to add "Segmented Visitor Log" icon to let us see all users who downloaded a particular file. Refs #7212

Awesome-ly, the icon is automatically displayed in the report after the segments were created in the action dimensions, so I didn't need to do anything to support this feature

@mattab commented on October 5th 2015 Member

PR: #8910

This Issue was closed on October 5th 2015
Powered by GitHub Issue Mirror