Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Have a different delimiter for page titles and for page URLs #1067

Closed
mattab opened this Issue · 3 comments

2 participants

@mattab
Owner

Currently in global.ini.php we have:

; character used to automatically create categories in the "Action" "Downloads" reports
; for example a URL like "example.com/blog/development/first-post" will create 
; the page first-post in the subcategory development which belongs to the blog category
action_category_delimiter = /

It should be possible to define a different delimiter for the Page Titles report and for the Page URLs report. For example,

action_url_category_delimiter = /
action_title_category_delimiter = ">"

Note: for backward compatibility, the code would also read the config setting action_category_delimiter (same as action_url_category_delimiter)

@anonymous-piwik-user

Currently, having a forward slash in a page title makes piwik create 2 pages in the list of page names instead of one. Could be considered a bug, so I'm happy to see it's been acted upon.

@mattab
Owner

(In [1932]) Fixes #1067

Adding two parameters in config file, while keeping backward compatibility with a potential action_category_delimiter

; character used to automatically create categories in the Actions > Pages, Outlinks and Downloads reports
; for example a URL like "example.com/blog/development/first-post" will create
; the page first-post in the subcategory development which belongs to the blog category
action_url_category_delimiter = /

; similar to above, but this delimiter is only used for page titles in the Actions > Page titles report
action_title_category_delimiter = /

@mattab
Owner

See also this ticket: #2956 Actions>Page Titles believes there is a subpage if page <title> includes a forwards slash

@mattab mattab added this to the Piwik 0.5.5 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.