Piwik extension

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

Re: Piwik

Postby verbaljam » Tue May 11, 2010 7:51 pm

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:
If you read Dutch, you read Verbal Jam.
Lack of documentation makes even the best program useless...
Posts: 143
Joined: Thu Apr 22, 2010 8:32 am
Location: Amsterdam

Re: Piwik

Postby Winjer » Wed Dec 01, 2010 1:35 pm

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);
        } catch( err ) {}
    <!-- 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.. :-(  -->
Posts: 36
Joined: Sat Feb 06, 2010 1:59 pm

Re: Piwik extension

Postby hansfn » Wed Dec 01, 2010 2:01 pm

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.
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Piwik extension

Postby Winjer » Wed Dec 01, 2010 2:41 pm

Done. I didn't want PivotX too feel unloved. :(
Posts: 36
Joined: Sat Feb 06, 2010 1:59 pm


Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 3 guests