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
path: root/misc
diff options
context:
space:
mode:
authorFabian Becker <halfdan@xnorfz.de>2013-03-13 22:39:05 +0400
committerFabian Becker <halfdan@xnorfz.de>2013-03-13 22:39:05 +0400
commitabe2512262ed8ee657e5a5a5e2e2f25c40266632 (patch)
treebd58828608196dc143432d4dcda595f08a90369c /misc
parent9e8c28fd03d6ac1a143c28769c58a04e9bf03840 (diff)
fixes #3820
Diffstat (limited to 'misc')
-rw-r--r--misc/proxy-hide-piwik-url/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/proxy-hide-piwik-url/README.md b/misc/proxy-hide-piwik-url/README.md
index 2bb981a592..f4e6ab86c7 100644
--- a/misc/proxy-hide-piwik-url/README.md
+++ b/misc/proxy-hide-piwik-url/README.md
@@ -31,6 +31,7 @@ To run this properly you will need
(function() {
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://trackedsite.com/";
_paq.push(["setTrackerUrl", u+"piwik.php"]);
+ _paq.push(["setSiteId", "trackedsite-id"]);
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
g.defer=true; g.async=true; g.src=u+"piwik.php"; s.parentNode.insertBefore(g,s);
})();
@@ -44,6 +45,7 @@ To run this properly you will need
* 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.
+ * make sure to replace trackedsite-id with your idsite again.
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