-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Plugin for Click map #5493
Comments
www.mapsurface.com has an interesting widget that combines click location information & some basic visitor information. |
Attachment: Heatmap plugin for Piwik |
notice to the Clickheart Integration. In the genereated JavaScript Code is a Link to Labsmedia. |
I extracted the file into my piwik dir and opened http://piwik.example.com/ClickHeat.php My apache log shows: Piwik version is 0.4.5 |
is there any ongoing development of this tool? -> i like the idea behind it and especially for short term tests click heatmaps are important -> perhaps the overlay mode (like google does) is an opinion, because there is no need to create a grafic. regards |
I second kaystrobach's suggestion! Such a plugin would be very welcome, indeed! |
Hi, great idea to develop such a plugin. I know that the provided tar.gz still is a development version. However I'd like to give early feedback from my first try with piwik-clickheat: I extracted the current version (either from http://www.labsmedia.com/clickheat/piwik-clickheat.tar.gz or http://issues.piwik.org/attachments/5493/piwik-clickheat.tar.gz) to plugins/ClickHeat and activated it in Piwik. When opening ClickHeat - Heatmap from the menu I get an error page containing 5 warnings: Warning: Piwik_ClickHeat_Controller::include(/PATH_TO_WWW_DIR/piwik/config/clickheat.php) href='function.Piwik-ClickHeat-Controller-include'>function.Piwik-ClickHeat-Controller-include</a>: failed to open stream: No such file or directory in PATH_TO_WWW_DIR/piwik/plugins/ClickHeat/Controller.php on line 48 [...] Warning: Piwik_ClickHeat_Controller::include(plugins/ClickHeat/libs/languages/en.php) href='function.Piwik-ClickHeat-Controller-include'>function.Piwik-ClickHeat-Controller-include</a>: failed to open stream: No such file or directory in /PATH_TO_WWW_DIR/piwik/plugins/ClickHeat/Controller.php on line 49 [...] After showing some similiar warnings it finally ends with Fatal error: Call to a member function read() on a non-object in PATH_TO_WWW_DIR/piwik/plugins/ClickHeat/Controller.php on line 63 Maybe this feedback helps you to locate the problem (if any). Or is there a svn repository or the like where I could get snapshots from nightly builds? Thanks a lot in advance (I'd really like to give piwik-heatmap a try on my testing system), |
Sorry, I've been really busy these months... I'm looking at the package right now, I'll give you updates soon. |
I've just released a fixed release here: Can anyone give it a try? Matt, can you change the url in the description to match this new one? Thanks. Can we add this plugin in the main package? |
Installation instructions: just unzip the file in your piwik/plugins/ directory, as there's already a subdirectory ClickHeat in the archive. Then go to your Parameters' page in piwik, and enable the plugin. Please report any error you may see, even if it's working, thanks. |
Hi, I tested your fix. The reported errors in lines 48 and 49 disappeared. However it now shows other errors. Hope the following excerpts help! Warning: Piwik_ClickHeat_Controller::include(/WWWDIR/piwik/config/clickheat.php) href='function.Piwik-ClickHeat-Controller-include'>function.Piwik-ClickHeat-Controller-include</a>: failed to open stream: No such file or directory in /WWWDIR/piwik/plugins/ClickHeat/Controller.php on line 57 Warning: Piwik_ClickHeat_Controller::include() href='function.include'>function.include</a>: Failed opening '/WWWDIR/piwik/config/clickheat.php' for inclusion (include_path='/WWWDIR/piwik/core:/WWWDIR/piwik/libs:/WWWDIR/piwik/plugins') in /WWWDIR/piwik/plugins/ClickHeat/Controller.php on line 57 Notice: Undefined variable: clickheatConf in /WWWDIR/piwik/plugins/ClickHeat/Controller.php on line 58 Notice: Undefined index: logPath in /WWWDIR/piwik/plugins/ClickHeat/Controller.php on line 76 And finally: |
After following blade106s instruction, this error occurs in Clickheat view
preview of the website is available, but the height is only set to 20px |
I think you've both got the same error: can you remove the line: under [PluginsInstalled] in the piwik/config/config.ini.php Then just list the plugins in the Parameters' tab. The issue here is that ClickHeat is already installed, and the new install() function isn't called as it should be. Matt: is there a function to run an upgrade, say I've made a change in a release, someone installs it but was on another release before, I want to update some things in his configuration file or anything else like this? Something equivalent to private function installPlugin( Piwik_Plugin $plugin ) in Piwik_PluginsManager. |
Hi blade106, I followed your instructions and indeed it now doesn't show any errors any longer when opening Heatmap. However I still don't see a Heatmap. The group dropdown field is empty. The icons layout.png, reload.png and arrow-up.png from plugins/ClickHeat/libs/images aren't displayed at all (no access?). Clicking the links named "Layout refresh" or "Eigene Links speichern" or "Javascript" blanks the ClickHeat page. Any idea? |
Do you have any Javascript errors? Which release of piwik do you use (I tested it against 0.5.4 only)? What browser? May be you changed some paths in your configuration, and I mostly copied-pasted many things such as plugin directory and things like that (so bad there's no function to get the plugins' path easily or I didn't look enough). The groups' list will remain empty until you click on a page with the javascript code installed on. So first issue is that you can't access the Javascript panel. Does the following page work: you should see a badly shaped form. |
Hi, I managed to resolve the problem (I use piwik 0.5.4. Firefox 3.6). The png's didn't show up correctly due to wrong access rights: After unzipping the zip file I had to change the access rights for directories and files: Now the frontend shows up correctly! @manne: I also found the solution for your problem. In piwik/config/clickheat.php you need to change line 3 to I will provide more feedback as soon as I tested ClickHeat. Cheers! |
Dawn it! I did fix the error of manne in my test, but I totaly forgot in the main file. So that's still an error, thanks tino for pointing it out. For the rights on the file, I've reverted back to http://www.labsmedia.com/clickheat/piwik/piwik-clickheat.tar.gz (I can't find any good information in the zip manual). |
I just downloaded the latest version of labsmedia, but i still get this error: The class Piwik_piwik-clickheat couldn't be found in the file '/----/stats/plugins/piwik-clickheat/piwik-clickheat.php' |
Hello Dominick, You have to download this file: Then extract it, and move the ClickHeat/ directory into your plugins/ directory, so that you'll have: Else it won't work. As the archive is made, you should extract it directly in the plugins/ directory of piwik |
hi, do i understood correctly, that we need to add some extra js to the htmlsite to enable heatmap tracking? I thought you add the code via the piwik api into the piwik.php output? Thanks for your great work. https://github.com/piwik/piwik/blob/master/core/Tracker.php |
Hello Kay, Yes, you have to add some extra code to your webpage. That's because it's a totally different process, and further more you may not generate the same thing in piwik and ClickHeat depending on your needs (and I didn't use piwik enough to tell you if both can operate exactly the same way). So for now it's a dedicated script. However, as we need to make a ClickHeat with MySQL support, I may take this point into account. |
blade106: I updated the URL in the description. There's no support, currently, for plugins to manage their own config file since Piwik_Option meets most use cases. But there is support for plugin-specific update scripts. (see GeoIP) |
vipsoft: I'm sorry, I've changed the path of the file (because of ZIP permissions...). So it's: I didn't see Piwik_Option. I'll look at it later, as it's working with basic information (although I had to change some of the main ClickHeat files, so I think I'll rewrite all the config module one day taking Piwik into account). Thanks. |
Hi, installed latest version with Piwik 0.5.4, but I am unable to activate the plug in. While it shows up in the list of plug ins, clicking "Activate" will only reload the same page with no changes. No errors in the log file, either. Sorry |
Replying to jimbo: Ups, now I could activate it, will test it now. |
Hi, Installed Piwik 0.5.4 and the latest version of piwik-clickheat. Works like a champ for the primary administrator account within Piwik. (Fantastic job on this!) However, we are having a problem when a standard administrator account logs in to their assigned site within Piwik and try to create clickheat tracking for their site. When they click on clickheat, Piwik loops & loops, refreshing the screen but never loading anything... the looping /refreshing seems to go on for an eternity... we've lost count on how many times it can cycle with no resolution to the request. Our goal is for all clients to be able to have one or more clickheat maps for each of their sites & to be able to login to their specific Piwik account to see those clickheat maps. Any idea on why it works for the primary system administrator but not for individual site administrators? It almost behaves like some sort of permissions issue, but for the life of me, I can't figure it out. |
Hi johnol, I had the same loop & refresh problem on one of my sites. As far as I remember I had a special character (in my case the letter '') in the clickHeatGroup string in the java script code. Removing this special character resolved the problem. Maybe this helps you, |
Replying to tino:
Tino, thanks for your help! Forgive my ignorance, but in what java script code? The generated code for a given group? If so, then the only code that has been generated is for the Primary Administrator /Site and that code is clean. If we are talking about a specific file, let me know. Also, -why would the looping occur for all other users but not for the primary administrator? Thanks again! |
That's true I didn't test it with another account... Rights are not easy to understand as I didn't look at the main piwik code at all. Let me look at this, I'll keep in touch soon. |
I can't figure it out... Another user with(out) admin permissions is working quite fine for me. Can you track the redirect? So we can see where the problem is. A good start would be to run LiveHttpHeaders (firefox plugin), to see what redirects are made (look for a Location:). Perhaps the issue is in your website (the one loaded in the background iframe which appears behind the heatmap), with a redirect in Javascript. But if another account can see the page without the redirect that should not be the issue. |
Hello tjorben, It's possible. I've not tested it against piwik since the last bug shown here, so 6 months ago. In a (near?) future, Clickheat will be integrated within piwik, so it won't be a patch as it is today. I'll try to have a look at it next week, but I'm very busy these days :-( |
Hi It will be great to see this plugin back to working again and integrated with piwik permanently. |
Hey all I just got started experimenting with piwik yesterday, so I'll do what I can, but as far as clickheat goes I got the plugin turned on, and the same error screen. The errer says
I'll give it a shot trying to debug it, but like I said I just got stared with piwik yesterday! |
Did you install the Clickheat JS snippet on your page(s)? I just installed plugin and then installed the JS snippet, and Clickheat appears to be functioning properly. -lb |
I'm seeing the following error while testing clickheat with ?debugclickheat; Warning: fopen(/home/xxxxxx/public_html/piwik/tmp/cache/clickheat/logs/5,mygroupname/2012-06-11.log) [function.fopen]: failed to open stream: No such file or directory in /home/xxxxxx/public_html/piwik/plugins/ClickHeat/libs/click.php on line 97 |
Sorry, I didn't have much time... neither I do now :-D Anyway, do people with issues find any solution? @nisiwi: this error is fine, as ClickHeat works in lazy mode: it tries to write in the file, if it goes wrong it then tries to create the directory, then write in the file again. So you should have about 1 warning by group, then nothing. |
Replying to tjorben:
I have the same issue. Most functionality works, but with no or small amount of click data it redirects to main dashboard of the default site. It's really annoying. Anyone knows a solution or hack for the redirection bug? |
Hello all I have a Problem: I use: Piwik 1.8.2 with ClickHeat: 1.9-revB Piwik Plugin it works very good but it wont display the background of my Webseite: http://www.imgbox.de/show/img/4nYLEwscza.png what is wrong with my Config? |
I install ClickHeat for piwik,everything works well except in chrome&safari Tip:you can add an alert() function at the end of the view.tpl or in admin.js.U just need to pop an alert in chrome ,then it will works.But it still fault in Safari.Any one Know how to solve it ? |
Replying to bugmenot:
|
Attachment: Patch for Controller.php to fix the redirect to dashboard bug |
Replying to xiaotianhu:
Thx for your help I think it's a FireFox Problem With Opera and Chrome works all perfectly! |
Hi there, I just installed the heat map plugin and it works properly - thanks! But I have still some questions:
Thanks in advance!!! |
Hi all, I have installed this plugin but there is an issue about the javascript that causes lag in browser. After installed, every click on the webpage will send an XHR and wait at least 500 ms using a dead loop. In
I have no idea why it need a wait here which causes obvious delay when clicking in the web page or selecting text. IMHO, it has a bad impact on user experience. |
I've gotten it installed with Piwik 1.9.2 and it seems to work good. The other issue seems to be that if you have a url parameter with a / in it such as: A bit annoying but I am still able to get the majority of the use out of it. I am using it with grouping set to the page title, and on a shopping cart site, so we can see how users are interacting with specific products. As a result of course we have several groups, which we don't mind but rather annoying when trying to filter to specific days to view information because one day might not be visited. |
Hi Guys. |
Hello, I'm sorry I really don't have time to deal with all this. It's been a year, and no time to create a real plugin, with brand new code. @werter00: you can't mix info from labsmedia with the piwik plugin. If it doesn't work out of the box, that's a real bug, but reading labsmedia.com data won't help you a bit. Or you can install the official ClickHeat and follow labsmedia's info. @DefconRhall: you can create your own group, so may be you can try something like this should help
@clippit: you can disable it, by setting clickHeatWait to 0, IIRC. The idea here was to wait for the Ajax call to be sent, not perfect, but helped in some cases. @KenHell: you may group pages that are really similar. That's the best way to make the data useful. |
Along with the Piwik 2.0 release and new design for Piwik, we have also launched the official Plugins Marketplace to let any developer share their work to the thousands of Piwik users worldwide. Maybe you'd like to publish your plugin there? In any case, keep up the good work and we hope you enjoy Piwik 2! |
I'd welcome a high code quality heatmap plugin. |
Thanks everyone for the great discussions here over the years (157 comments!). Actually it's amazing but this issue is now 6 and a half years old!!! Now let's continue in the new issue: Heatmap plugin for Piwik #6371 |
Good news: we're working on Heatmap Analytics for Piwik + scrollmap + click map! It will be awesome and make sure to hear when it's released by signing up here: http://www.heatmap-analytics.com/ |
phpMyVisites supports ClickHeat (http://www.labsmedia.com/clickheat/) and Piwik could do the same.
The DEV version is available on http://www.labsmedia.com/clickheat/piwik/piwik-clickheat.tar.gz This is DEV only and may not work with latest trunk.
If you’re interested to contribute please contact hello at piwik.org and yvan DOT taviaud at m4am.net
Keywords: third-party-plugin
The text was updated successfully, but these errors were encountered: