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-piwik-user opened this Issue Aug 28, 2013 · 11 comments

Comments

Projects
None yet
5 participants
@anonymous-piwik-user

anonymous-piwik-user commented Aug 28, 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

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Sep 6, 2013

Member

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

Member

mattab commented Sep 6, 2013

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

@anonymous-piwik-user

This comment has been minimized.

Show comment
Hide comment
@anonymous-piwik-user

anonymous-piwik-user Sep 17, 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?

anonymous-piwik-user commented Sep 17, 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

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Jan 13, 2014

Member

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

Member

mattab commented Jan 13, 2014

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

@anonymous-piwik-user

This comment has been minimized.

Show comment
Hide comment
@anonymous-piwik-user

anonymous-piwik-user Jun 17, 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 :-)

anonymous-piwik-user commented Jun 17, 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 :-)

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

@mattab mattab removed P: normal labels Aug 3, 2014

@pmontepagano

This comment has been minimized.

Show comment
Hide comment
@pmontepagano

pmontepagano Aug 8, 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.

pmontepagano commented Aug 8, 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.

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

@pascaldaniela

This comment has been minimized.

Show comment
Hide comment
@pascaldaniela

pascaldaniela Nov 24, 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

pascaldaniela commented Nov 24, 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

This comment has been minimized.

Show comment
Hide comment
@b-u-g-s

b-u-g-s 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?

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

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Jun 25, 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.
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 label Jun 25, 2015

@mattab mattab modified the milestones: Short term, Mid term Sep 17, 2015

@mattab

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Sep 17, 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

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

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Oct 5, 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

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

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Oct 5, 2015

Member

PR: #8910

Member

mattab commented Oct 5, 2015

PR: #8910

@mattab mattab closed this in #8910 Oct 5, 2015

mattab added a commit that referenced this issue Oct 5, 2015

mattab added a commit that referenced this issue Oct 5, 2015

@mattab mattab changed the title from Add "Download file URL" and "Outlink URL" segments to 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