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

Unique page colours for real-time visitor log #6616

Open
orismology opened this issue Nov 7, 2014 · 7 comments
Open

Unique page colours for real-time visitor log #6616

orismology opened this issue Nov 7, 2014 · 7 comments
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@orismology
Copy link

Currently, the rainbow of folders in the "Visitors in real time" widget, while pretty, doesn't provide much information.
It would be very useful to be able to assign colours to various pages based upon a set of rules. We could have one colour for blog posts or categories or product pages, etc. These colours could also be shown in the more comprehensive visitor log.
This would give a quick visual overview of the paths taken by a visitor through a site, and would allow quick analysis of popular sections and pages.

@wikiloops
Copy link

Great idea, +1

@Glisse1
Copy link

Glisse1 commented Nov 8, 2014

This has been requested previously, but it is complicated.. because if you have a site with 10-15-20 pages, maybe it is doable and such a feature would make sense.. but for a blog with thousands of articles/pages this wouldn`t. And most sites do have hundreds and thousands of pages so unique color is nor an option neither useful.

Anyhow, I also wanted such unique visuals and made them myself.. my site has <20 pages, and it is actually pretty easy and requires only some 5 minutes work to modify a template and assign unique png`s to different pages.

End result is like in the photo bellow, each page that I care has an unique png assigned and is recorded as such, all the rest have a standard color. If you are willing to do it yourself, and want further help with the code needed write me at shadow.walk@yahoo.com

capture123

@orismology
Copy link
Author

I was imagining more of a pattern-based system, rather than just induvidual
URLs. What you've done seems great - what's the starting point to do this
in the code? I wonder if this is possible through piwik's plugin system...

@Glisse1
Copy link

Glisse1 commented Nov 9, 2014

Well, of course it is possible through a plugin, but that requires manpower.. there are plugins in the wishlist for several years, and frankly many of them much more useful than this little trick which only requires some 5 mins of work to do it yourself:)

I tried to copy here the code needed but github tries to run it and i dont know how to stop it from doing that. hence you need to give me your e-mail or something.

@orismology
Copy link
Author

Hmm... I'll send you an email. I'm going to have a crack at knocking something up, plugin-wise, and will, with any luck, post here when I have something that's working.

@wikiloops
Copy link

I'm also monitoring a page with over 20k pages, so the individual icon per page is not for me :)
Being able to asign a color for pages that belong to a certain page segment (p.e. help section, sign up, content pages, internal search) would be of great help tho.
Ideally, one should at some point be able to asign colours with an interface similar to the one used to define goals, which would allow flexible concepts for the per-page and the per-segment definitions.
Looking foreward to what you guys are coming up with!

@mattab mattab added this to the Mid term milestone Nov 10, 2014
@mattab mattab added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. labels Nov 10, 2014
@orismology
Copy link
Author

So, I've had a go at implementing this as a plugin. It's quite crude, probably horribly insecure, and hardly intuitive. But, for now, it works, though I wouldn't recommend using it on a production website.

There's also likely a much better way to achieve this, but I've come at this with zero knowledge of the piwik infrastructure, so if someone wants to investigate how it could be improved, be my guest.

Link

I haven't considered adding it to the marketplace for two reasons: first, It's nowhere near ready for a wide release; and second, I don't know how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
5 participants