piwikjapan/plugin-clickheat

Forward to dashboard

Opened this issue · 8 comments

FerX commented

I installed latest version . If I try to get in ClickHeat I get sent back to the dashboard.
These are errors that I receive in JS Console:
no error in apache/php.
thanks.

Error: [$compile:tpload] http://errors.angularjs.org/1.2.28/$compile/tpload?p0=plugins%2FZenMode%2Fa…cess%2Fquick-access.directive.html%3Fcb%3Dbcc2e1c17e393afd4eb0fab859196729 at Error (native) at https://stats.erashop.net/index.php?module=Proxy&action=getCoreJs&cb=bcc2e1c17e393afd4eb0fab859196729:121:450 at https://stats.erashop.net/index.php?module=Proxy&action=getCoreJs&cb=bcc2e1c17e393afd4eb0fab859196729:176:148 at https://stats.erashop.net/index.php?module=Proxy&action=getCoreJs&cb=bcc2e1c17e393afd4eb0fab859196729:187:286 at l.promise.then.w (https://stats.erashop.net/index.php?module=Proxy&action=getCoreJs&cb=bcc2e1c17e393afd4eb0fab859196729:216:167) at l.promise.then.w (https://stats.erashop.net/index.php?module=Proxy&action=getCoreJs&cb=bcc2e1c17e393afd4eb0fab859196729:216:167) at https://stats.erashop.net/index.php?module=Proxy&action=getCoreJs&cb=bcc2e1c17e393afd4eb0fab859196729:217:428 at h.$get.h.$eval (https://stats.erashop.net/index.php?module=Proxy&action=getCoreJs&cb=bcc2e1c17e393afd4eb0fab859196729:228:32) at h.$get.h.$digest (https://stats.erashop.net/index.php?module=Proxy&action=getCoreJs&cb=bcc2e1c17e393afd4eb0fab859196729:225:117) at h.$get.h.$apply (https://stats.erashop.net/index.php?module=Proxy&action=getCoreJs&cb=bcc2e1c17e393afd4eb0fab859196729:228:362) Error: [$compile:tpload] http://errors.angularjs.org/1.2.28/$compile/tpload?p0=plugins%2FZenMode%2Fa…cess%2Fquick-access.directive.html%3Fcb%3Dbcc2e1c17e393afd4eb0fab859196729 at Error (native)

Exactly the same here!

Description
This error occurs when $compile attempts to fetch a template from some URL, and the request fails.
To resolve this error, ensure that the URL of the template is spelled correctly and resolves to correct absolute URL. The Chrome Developer Tools might also be helpful in determining why the request failed.
If you are using $templateCache to pre-load templates, ensure that the cache was populated with the template.

For my websites the same result.

Same problem for us.

Thank you for your replies.

I just remodeled ClickHeat to work under Piwik 2.x. I do not know well territory of JavaScript. Therefore, I will do my best, but problems take time to solve.
I am also looking forward to your suggestions to solve the problems with the redirect.

fvdm commented

Same here, until I stop the page loading (cmd + . on OSX) just before the redirect. Then I can copy the javascript to my site's html, enable Log my clicks, click at random on the site, disable Log my clicks, and all is resolved.

I guess the redirect happens because there is no data yet.

Same problem for me. I use Piwik 2.11.1 with SSL but I got redirect to all websites / dashboard. @piwikjapan have you had any progress with a solution?

I tried to debug it for several hours but no progress was made.

Another thing, I suggest you to improve the UX of the plugin a bit - it's not so user friendly at the beginning.

Thank you for developing the plugin and I hope to hear from you.

The problem is solved in my environment. I did wat @fvdm suggested and the clickheat-plugin works.

fvdm's trick helped me get the javascript. Annoying little feature, to redirect to the dashboard when no clicks are found.