=================== piwik.bfh.ch: Setup =================== Web Settings ============ Manage / Websites ----------------- * **Default Currency for new websites**: Swiss franc (Fr) .. NOTE:: Add IPs of Webmasters of a certain site to the exclude list that site. Manage / User settings ---------------------- * **Report to load by default**: All Websites dashboard * **Report date to load by default**: Yesterday Settings / General settings --------------------------- * **Allow Piwik archiving to trigger when reports are viewed from the browser:** No * **Reports for today (or any other Date Range including today) will be processed at most every:** 3600 seconds * **Trusted Piwik Hostname:** web-statistics.bfh.ch Settings / Privacy ------------------ * **Anonymize Visitors' IP addresses:** yes Settings / Geolocation ---------------------- * **GeoIP (PECL):** enabled Platform / Plugins ------------------ * **DevicesDetection:** enabled * **Feedback:** disabled Manual Settings =============== /etc/php5/apache2/php.ini ------------------------- * memory_limit = 512M /etc/piwik/global.ini.php ------------------------- * browser_archiving_disabled_enforce = 1 Usage ===== Tracking Code ------------- Remember to replace the ``${FQDN}`` with your fully qualified domain name (``FQDN``), e.g. ``www.bfh.ch``, and ``${SITEID}`` with the corresponding piwik site id from the table below, e.g. ``1`` for ``www.bfh.ch``. Image Tracking Code ~~~~~~~~~~~~~~~~~~~ Insert the following code as the first thing in your html page, right after the ``
`` tag. .. code-block:: html Java Script Tracking Code ~~~~~~~~~~~~~~~~~~~~~~~~~ Insert the following code as the last thing in your html page, right before the ```` tag. .. code-block:: html How to add a new website in Piwik --------------------------------- New websites can be setup to be tracked in Piwik by Daniel, Philipp, and Derek as they have the proper permissions to do the following: * log into `Piwik