Page 2 of 2

Re: Piwik

PostPosted: Tue May 11, 2010 7:51 pm
by verbaljam
Hans, most 'average' users dont think the way programmers like you do. ;-)
Where do you think the expression 'fool proof' comes from? 8-)
One rule should be: there must be no room for wild guesses or misinterpretation.

In this case I would write under the i-button something like: "e.g. /piwik/ or the complete path to piwik"
And: "fill in 1 if you have only one website to measure".

And even then there will be people like me that fill in 0 or 2. :lol:

Re: Piwik

PostPosted: Wed Dec 01, 2010 1:35 pm
by Winjer
hansfn wrote:The URL doesn't have to be "/piwik/" - you can use the complete URL as you did. The tool tip for website ID says "The id for the website as found in the Piwik website overview." How much clearer can that be? OK, maybe it's better that the default is 1 so most users are lucky and get it right without doing anything... -1 was supposed to be a way-off value ;-)


Hans, I believe there is a bug in the extension after all - I've tried to use the absolute path to my piwik installation (with two slashes after the "http:"), and it still shows only one slash in the source code:

Code: Select all
 <!-- Piwik -->
    <script type="text/javascript" src="http:/der-privatanleger.de/piwik/piwik.js"></script>

    <script type="text/javascript">
        try {
            var piwikTracker = Piwik.getTracker("http:/der-privatanleger.de/piwik/piwik.php", 1);
            piwikTracker.trackPageView();
            piwikTracker.enableLinkTracking();
        } catch( err ) {}
    </script>
    <!-- End Piwik Tag -->


I've changed it to a relative path now, and it seems to work though. :)

Btw.: What does the following comment mean?

Code: Select all
<!--  PivotX feels unloved.. :-(  -->

Re: Piwik extension

PostPosted: Wed Dec 01, 2010 2:01 pm
by hansfn
You're right there was a stupid bug (they normally are) related to absolute paths - fixed in revision 3295.

Regarding your "Btw" - use the forum search.

Re: Piwik extension

PostPosted: Wed Dec 01, 2010 2:41 pm
by Winjer
Done. I didn't want PivotX too feel unloved. :(