Head blueLogoText.gif NCF HelpWiki
Help | StartPage

Difference between revisions of "Website Statistics"

From Support
Jump to: navigation, search
m (Advanced Web Statistics: grammar)
m (Piwik statistics: sp)
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 yiur [[browser]] and then selecting Ctrl+U to view the page source code.
+
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.
  
 
  <nowiki><!-- Piwik Tag -->
 
  <nowiki><!-- Piwik Tag -->

Revision as of 15:50, 2 February 2016

Advanced Web Statistics 6.5 showing data for a NCF member website

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

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 following 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.

<!-- Piwik Tag -->
<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 -->

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