[T3EXT DAY] StatCounter – Free Real Time Visitor Stat

[T3EXT DAY] StatCounter – Free Real Time Visitor Stat

Why this TYPO3 extension developed?

StatCounter.com is a free web traffic analysis service, which provides summary stats on all your traffic and a detailed analysis of your last 500 page views. This limit can be increased by subscribing to their paid service.

The StatCounter TYPO3 Extension brings you all the powerful StatCounter features to your TYPO3 site. statcounter.com/features/



1. Overview of extension

Extension Key:ns_statcounter
Extension URL:https://extensions.typo3.org/extension/ns_statcounter/
Category:Frontend Plugin
TYPO3 version:(6.0.0 - 9.5.99)

2. Back-end view after plug-in installation

The extension needs to be installed as any other extension of TYPO3 CMS:

2.1 Get the extension via composer

Using the command line

composer require nitsan/ns-statcounter:dev-master 

2.2 Get the extension

The extension needs to be installed as any other extension of TYPO3 CMS:

Step 1: Switch to the module “Extension Manager”.

Step 2: Get the extension - 

  • Get it from the Extension Manager: Press the “Retrieve/Update” button and search for the extension key 'ns_statcounter' and import the extension from the repository.
  • Get it from typo3.org: You can always get current version from http://typo3.org/extensions/repository/view/ns_statcounter/current/ by downloading either the t3x or zip version. Upload the file afterwards in the Extension Manager.

Step 3: Now install the Extension.

Nitsan StatCounter Extension

2.3 Activate the TypoScript

The extension ships some TypoScript code which needs to be included.

Step 1: Go to Template Module.

Step 2: Switch to Root page.

Step 3: Select Info/Modify option from drop-down.

Step 4: Click on Edit the whole template record button.

Nitsan StatCounter Typoscript

Step 5: Switch to Includes tab.

Step 6: Select NITSAN - NsStatcounter(ns_statcounter) at the field *Include static (from extensions):

Nitsan StatCounter Default configuration

2.4 Configuration

To activate the StatCounter service for your TYPO3 site:

Step 1: Sign Up with StatCounter statcounter.com/sign-up/.

Step 2: Add Your Project URL statcounter.com/add-project/.

Step 3: Use "Default Installation Instructions" to get all to get Project Id and Security Key.


Setup all the configuration of www.StatCounter.com

Step 1: Open Template Module.

Step 2: Switch to Root page.

Step 3: Go to Constant Editor.

Step 4: Select Category “PLUGIN.TX_NSSTATCOUNTER”.

Nitsan StatCounter Template

Step 5: Now configure according to requirement.

3. Clear Cache:

Please, clear cache from top panel 'Flush frontend caches' & 'Flush general caches'. It will be also great to clear cache from Install tool too.

4. Support:

Feedback & Suggestions:

Just download & try the EXT:ns_statcounter extension. You can write down your feedback/suggestion/comments to below comment box. So, we will adapt it for next version of EXT:ns_statcounter.

Have happy time with StatCounter!

Sanjay Chauhan - TYPO3 Technopreneur

A young technology enthusiast and entrepreneur. At 24, he co-founded NITSAN – a TYPO3 Agency in Bhavnagar, India. He is sought-after marketing face of NITSAN, is accredited with the management of customer-service teams, collaborations with agencies and clients, projects executions, and more. A tech guy in every sense of the word, Sanjay is the real TYPO3 Guru at NITSAN.

Leave A Comment

Need expert tips? Check out our Blog!

This website uses cookies

This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Cookie Policy.