[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. http://statcounter.com/features/



1. Overview:

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

2. 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. Install Extension from EM:

  • Switch to the module “Extension Manager”
  • 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 afterward in the Extension Manager.


2.3. Preparation: Include static TypoScript:

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

  • Switch to the root page of your site.
  • Switch to the Template module and select Info/Modify.
  • Click the link Edit the whole template record and switch to the tab Includes.
  • Select [NITSAN] ns_statcounter (ns_statcounter) at the field Include static (from extensions):


3. Configuration

3.1. To activate the StatCounter service for your TYPO3 site:

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

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

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


3.2. Setup all the configuration of www.StatCounter.com

  • Switch to the root page of your site.
  • Switch to the Template module and select Constant Editor.
  • Select Category = PLUGIN.TX_NSSTATUSCOUNTER (4)
  • Please setup all the fields from www.StatCounter.com, Checkout following screenshot.


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

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

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.