piwik
[fsf-giving-guide.git] / js / piwik.js
CommitLineData
6f5e8d48
DT
1/*
2 * |@licstart The following is the entire license notice for the JavaScript code in this page.|
507af861 3
6f5e8d48 4 * Copyright 2012 Matthieu Aubry.
507af861 5
6f5e8d48
DT
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
507af861 10
6f5e8d48
DT
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
507af861 15
6f5e8d48
DT
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see http://www.gnu.org/licenses/.
507af861 18
6f5e8d48 19 * |@licend The above is the entire license notice for the JavaScript code in this page.|
507af861 20 */
6f5e8d48
DT
21var _paq = _paq || [];
22_paq.push(["trackPageView"]);
23_paq.push(["enableLinkTracking"]);
24
25(function() {
26 var u=(("https:" == document.location.protocol) ? "https" : "http") + "://piwik.fsf.org/";
27 _paq.push(["setTrackerUrl", u+"piwik.php"]);
084046ab 28 _paq.push(["setSiteId", "5"]);
6f5e8d48
DT
29 var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
30 g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
31})();