• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • About Herbert-Jan
  • Website Resources
  • Sitemap
  • Contact

Website Beginners Guide

Learn How to Start Your Own Internet Site & More

  • Webdesign
    • Blogging
    • Affiliates
    • Open Source CMS
  • WordPress
    • WordPress Themes
    • WordPress SEO
    • WordPress Plugins
    • WordPress Manual
  • Search Engine
    • Seo Basics
    • SEO Articles
    • SEF
    • SEO BLogs
    • SEO Optimization
    • SEO
    • Optimization
  • Joomla
    • Joomla Basics
    • Joomla Blog
    • Joomla Optimization
    • Joomla SEF
    • Joomla Seo

install

How to put Statcounter into Joomla

Filed Under: Free Online Services, Seo Basics

As you might well know, Statcounter is a Free service to track visitors on your website.

Simply Sign up at www.statcounter.com and start tracking your visitor numbers, referrals and much more.
This way you can also see if your Search Engine Optimization efforts ara paying off..

But there is one Tiny little problem in getting Statcounter running in your Joomla website.. the tracking code is in Java-script which breaks if you use the TinyMCE or even the JCE editor..

How to get the Statcounter Code into Joomla

It is not that hard as you might think, so here is how to do it.

Login to your administration panel and disable the WYSIWYG editor, either global, or just on a user base.

Global and User administration
You can do this via the User Manager

Using the Joomla user option for no wysiwig editor

Now with the Editors out of the way, you can create an new module to hold the Statcounter Code.

Why and How to use a Module for Statcounter

The main reason for using a Module instead of editing core files, or Templates files is that a module is not Update or Template dependent.

That means if you change template, the Statcounter still works..
If you get an Joomla Update, the Statcounter also will keep working.

Create a new Module

In your administration panel choose Modules and go to site modules

The Site Module menu

Now create a new Module

Create a New Joomla Module

Fill in the parameters, and don't forget the Publish option.

Choose the Paramaters of the Modules

Make sure you get a copy of the Statcounter installation code now:

Got to your Statcounter account and follow the normal procedure to obtain the code.

Get the Statcounter Installation code

At the end of the procedure you should have a field with the code you can copy.

The statcounter code

This code you need to paste into the new module content section:

The Code in the new Joomla Module

Save the module and position it where you see fit, just another nice option of the Module functionality…

Here is my final result…

The final Joomla statcounter result

As you might see, the module has automatically taken over any module layout related settings to fit the template.

How to work with hidden counter

Some people like to have there counter hidden, oké that is also doable.

Make sure you got the code from Statcounter with the option hidden and paste that into the module, just as explained above.

But now, set the Module parameter "Show Title" to "No" , but keep it Published !!
Now if you look at your site, you will see No counter on the page, but it should be in the Source code.

Check if everything works and you get visitor counts on your Statcounter Reports.
Make sure you Block your own visits :-) by using a Blocking Cookie or IP address Blocking in your Settings..

Now forget all about this work and enjoy your Statcounter reports…

P.s. Don't forget to set the WYSIWYG editor to On again, but once turned on, do not !! edit the module, or it will break….

Primary Sidebar

WordPress Manual

WordPress: The Missing Manual

More to See

wordpress for business

Get your Title right

Early Adopters use Gmail and RSS feeds, are You an Early Adopter?

Google Search Engine Rankings

Ranking on Google is going to change in 2009

WordPress 3 for Business Bloggers a Book Review

Footer

WordPress Themes

Elegant Themes - Beautiful WordPress Themes

Recent

  • Website Hosting and HPPTS Options
  • Moving from Pathos-Seo.com to DIYSiteSeo.com
  • Website Clean Up in Progress
  • WordPress 3 for Business Bloggers a Book Review
  • How to Start A WordPress Website Consolidation Project

Resources

WordPress Resources
Joomla Resources
Webdesign Resources
Laptops

Search

Copyright © 2006–2023 Website Beginners Guide· Site Theme Design: StudioPress