Hi guys, yeah the instructions threw me off too. I played around with some stuff and finally got it working... mostly. Once you get it working, the Visitors Graph widget still won’t work (I guess due to changes in Piwik’s Visitors Graph widget function calls).
I’ll do my best to fill in the gaps. Had to retrace my steps since I tried so many different things.
Here goes...
Once you have Piwik installed as well as the PiwikX plugin and module successfully added to MODx...
1) Login to your Piwik stats admin area. Click on Settings in the top right. Click on Users in the tabs. If you haven’t yet created another user (you should see "anonymous" there) create another user. This will be the user info you’ll insert into your PiwikX module configuration settings.
2) Now click on the Sites tab. You’ll need to add your site to the list if it isn’t there. The URL should be your site’s URL not the Piwik URL. Note the ID. If this is your first site it should default to ID 1. You’ll need that for your PiwikX module config.
3) Take your new user password and go here:
http://md5-hash-online.waraxe.us/ (or something similar)
Create a hash key and hang on to it.
4) Return to your MODx PiwikX module config. If you’ve already pasted in the config parameters, they should read something like this:
URL to your Piwik installation:
http://yourdomain.com/piwik
Piwik Site ID: 1 (or whatever ID was assigned the site you added in Step 2)
Username to display widgets: NewUser (the user you created in Step 1, not the main Admin login created during Piwik installation)
MD5 encrypted password: (the hash key you created in Step 3)
That should be it. If I missed something or you’re still having problems, please let me know.