Documentation

Welcome to Piwik iframe, the point of this extension is to easily get your Piwik data in your Concrete5 install. So that you get off to a flying start, here are some steps to make sure things run smoothly.

  • You need to install Piwik on your server. If you don't have it installed yet, you can download the latest version here.
  • You will need to enter you URL to Piwik in the next step. Please make sure it includes "http://", for example: http://localhost/piwik
  • If you are tracking this site, you need to install tracking code on this site. To install tracking code you just need to cut and paste the 
    javascript tag given to you during your Piwik install and placed it in the box located in your Concrete5 Dashboard under System & Settings>SEO & Statistics>Tracking Codes. The other option is to include this code in your footer of your theme. You will normally find it in the element folder.
  • Your Site ID, is the "ID" Number you are given by Piwik for each website you install tracking. It can be found in your tracking code or in Website Management in your Piwik install. If you did a fresh Piwik Install, your site ID is "1".
  • You have the option of automatically logging into your Piwik by providing an Auhtkey. You can find it in the API menu of your Piwik install. If there are multiple users accessing the backend, we recommend you create a basic user with just view rights. If you choose, you can leave the Authkey blank and users will be prompted to login with their Piwik credentials.
  • Remember to have the Piwik login screen to work from inside an iframe you need to add the following to the setting in your config/config.ini.php:
[General]
enable_framed_pages = 1
  • You also have the option to lock down the configuration. This was down to add a finer layer of permission to the extension. By checking the box "Only Super User Can Change Config", only the SuperUser will be able to change the path or site id. If an Admin accidentaly clicks on the box, don't worry. You can uninstall and reinstall this extension without losing your Piwik data.

Once you have completed the above, you are ready to rock.