National Capital FreeNet / Libertel de la capitale nationale

Website Statistics

m (grammar)
(Piwik statistics)
Line 18: Line 18:
Webmasters who need more advanced statistics can request that the open source [https://en.wikipedia.org/wiki/Piwik Piwik] analytics be added to their account.
Webmasters who need more advanced statistics can request that the open source [https://en.wikipedia.org/wiki/Piwik Piwik] analytics be added to their account.
-
Websites with Piwik activated will have the following javascript code added to their pages at the end, just above the <nowiki><html></nowiki> tag by the NCF webserver when the page is uploaded. You will be able to see the code added, by viewing the web version of the page in your [[browser]] and then selecting Ctrl+U to view the page source code.
+
Websites with Piwik activated will have the javascript code added to their pages at the end, just above the <nowiki><html></nowiki> tag by the NCF webserver when the page is uploaded. You will be able to see the code added, by viewing the web version of the page in your [[browser]] and then selecting Ctrl+U to view the page source code.
-
<nowiki><!-- Piwik Tag -->
+
The javascript code snippet will be provided once your Piwik access has been enabled.
-
<script type="text/javascript">
+
-
var pkBaseURL = "/piwik/";
+
-
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+
-
</script>
+
-
<script type="text/javascript">
+
-
try {
+
-
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 43);
+
-
piwikTracker.trackPageView();
+
-
piwikTracker.enableLinkTracking();
+
-
} catch( err ) {}
+
-
</script>
+
-
<noscript><p><img src="/piwik/piwik.php?idsite=43" style="border:0" alt=""></p></noscript>
+
-
<!-- End Piwik Tag --></nowiki>
+
Your NCF statistics will then include much more detailed data from Piwik.
Your NCF statistics will then include much more detailed data from Piwik.

Revision as of 15:32, 8 March 2017

Advanced Web Statistics 6.5 showing data for an NCF member website

This article details how to get Website Statistics for your own website, hosted on web.ncf.ca.

Contents

Advanced Web Statistics

By default all websites hosted on web.ncf.ca have Advanced Web Statistics (AWS) enabled. This is a basic package of statistics that gives information about such parameters as:

  • hits per page
  • operating systems and browsers that visit
  • screen resolutions
  • country of origin
  • IP addresses

To access these statistics go to the start page and click on Your Web SpaceYour web page traffic or this link.

Note: AWS may take a minute or two to produce your custom statistics page.

Piwik statistics

Webmasters who need more advanced statistics can request that the open source Piwik analytics be added to their account.

Websites with Piwik activated will have the javascript code added to their pages at the end, just above the <html> tag by the NCF webserver when the page is uploaded. You will be able to see the code added, by viewing the web version of the page in your browser and then selecting Ctrl+U to view the page source code.

The javascript code snippet will be provided once your Piwik access has been enabled.

Your NCF statistics will then include much more detailed data from Piwik.

Requesting Piwik

Piwik has to be activated manually on your web space. This can be requested with an email to office@ncf.ca.

Deactivating Piwik

Piwik has to be deactivated manually, too. This can also be requested with an email to office@ncf.ca.

See also

External links