Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Becker <halfdan@xnorfz.de>2013-03-13 22:34:36 +0400
committerFabian Becker <halfdan@xnorfz.de>2013-03-13 22:34:36 +0400
commit9e8c28fd03d6ac1a143c28769c58a04e9bf03840 (patch)
tree747fedb3c9fb250da15b5edb9fa705b18f7ce4cf /misc/proxy-hide-piwik-url/README.md
parent37914ad57377345dcbbe29293f2eef74b6c77672 (diff)
Fix markdown
Diffstat (limited to 'misc/proxy-hide-piwik-url/README.md')
-rw-r--r--misc/proxy-hide-piwik-url/README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/proxy-hide-piwik-url/README.md b/misc/proxy-hide-piwik-url/README.md
index 9c365201db..2bb981a592 100644
--- a/misc/proxy-hide-piwik-url/README.md
+++ b/misc/proxy-hide-piwik-url/README.md
@@ -10,14 +10,14 @@ To run this properly you will need
* Piwik server latest version
* One or several website(s) to track with this Piwik server, for example http://trackedsite.com
* The website to track must run on a server with PHP5 support
- * In your php.ini you must check that the following is set: "allow_url_fopen = On"
+ * In your php.ini you must check that the following is set: `allow_url_fopen = On`
### How to track trackedsite.com in your Piwik without revealing the Piwik server URL?
1. In your Piwik server, login as Super user
2. create a user, set the login for example: "UserTrackingAPI"
3. Assign this user "admin" permission on all websites you wish to track without showing the Piwik URL
-4. Copy the "token_auth" for this user, and paste it below in this file, in $TOKEN_AUTH = "xyz"
+4. Copy the "token_auth" for this user, and paste it below in this file, in `$TOKEN_AUTH = "xyz"`
5. In this file, below this help test, edit $PIWIK_URL variable and change http://piwik-server.com/piwik/ with the URL to your Piwik server.
6. Upload this modified piwik.php file in the website root directory, for example at: http://trackedsite.com/piwik.php
This file (http://trackedsite.com/piwik.php) will be called by the Piwik Javascript,
@@ -40,10 +40,10 @@ To run this properly you will need
What's changed in this code snippet compared to the normal Piwik code?
- * the (secret) Piwik URL is now replaced by your website URL
- * the "piwik.js" becomes "piwik.php" because this piwik.php proxy script will also display and proxy the Javascript file
- * the <noscript> part of the code at the end is removed,
- since it is not currently used by Piwik, and it contains the (secret) Piwik URL which you want to hide.
+ * the (secret) Piwik URL is now replaced by your website URL
+ * the "piwik.js" becomes "piwik.php" because this piwik.php proxy script will also display and proxy the Javascript file
+ * the `<noscript>` part of the code at the end is removed,
+ since it is not currently used by Piwik, and it contains the (secret) Piwik URL which you want to hide.
8. Paste the modified Piwik Javascript code in your website "trackedsite.com" pages you wish to track.
This modified Javascript Code will then track visits/pages/conversions by calling trackedsite.com/piwik.php