Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New segments: Download file URL 'downloadUrl' and Outlink URL 'outlinkUrl' #4103

Closed
anonymous-matomo-user opened this issue Aug 28, 2013 · 11 comments
Assignees
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@anonymous-matomo-user
Copy link

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
Copy link
Member

mattab commented Sep 6, 2013

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

@anonymous-matomo-user
Copy link
Author

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
Copy link
Member

mattab commented Jan 13, 2014

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

@anonymous-matomo-user
Copy link
Author

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 :-)

@anonymous-matomo-user anonymous-matomo-user added this to the 2.x - The Great Piwik 2.x Backlog milestone Jul 8, 2014
@pmontepagano
Copy link

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.

@mattab mattab changed the title "Page URL" segment does not match file download URLs Add "Download file URL" and "Outlink URL" segments Oct 6, 2014
@pascaldaniela
Copy link

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
Copy link

b-u-g-s commented Mar 28, 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
Copy link
Member

mattab commented Jun 25, 2015

  • 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 mattab added the Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. label Jun 25, 2015
@mattab mattab modified the milestones: Short term, Mid term Sep 17, 2015
@mattab
Copy link
Member

mattab commented Sep 17, 2015

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
Copy link
Member

mattab commented Oct 5, 2015

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 mattab self-assigned this Oct 5, 2015
@mattab mattab modified the milestones: 2.15.0, Short term Oct 5, 2015
@mattab
Copy link
Member

mattab commented Oct 5, 2015

PR: #8910

mattab added a commit that referenced this issue Oct 5, 2015
@mattab mattab changed the title Add "Download file URL" and "Outlink URL" segments New segments: Download file URL 'downloadUrl' and Outlink URL 'outlinkUrl' Oct 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

5 participants