| BIGSHOT Google Analytics Plugin for Joomla! 1.5 |
| Written by Kenneth Crowder | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Monday, 06 October 2008 09:19 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
One day while adding Google Analytics code to a site, I thought to myself, "There has to be an easier way". Yes, I know that adding the Tracker Code to a template is easy, but still, I knew that it could be automated a little. So, I did what any good Joomla! citizen would do. I checked the extensions site. While there, I found a couple modules that would insert the Tracker Code, but a module is not the ideal way to go about it. In fact, I would go so far as to say that it is a bad way to do it. What I needed was a Plugin. To my surprise, there was not one. So, I wrote my own. Did I mention that it is free? I will not be so bold as to say that I am the first person to write a Joomla! 1.5 Plugin that performs this action, however I will say that I am the first to release it as GPL on the Joomla! Extensions site. The extension is called "BIGSHOT Google Analytics". Very original, I know. The Plugin is a System Plugin that searches your page for "</body>" and adds the code right above it, just like Google recommends. Let's take a look at the Plugin, shall we? Once you have installed the Plugin, navigate to: "Extensions" -> "Plugin Manager". This is a System Plugin, so it is probably towards the bottom of the list (or on page 2). Once you click on "System - BIGSHOT Google Analytics", you will see the following screen: This Plugin is so simple, all it asks for is the "Web Property ID". Web Property ID is the Google Analytics Web Property ID. It should be in the format of: "UA-XXXXXXX-X". Once BIGSHOT Google Analytics is Enabled and your have filled out "Web Property ID", it will start adding the Google Analytics Tracking Code to your site. Want to try this Plugin for yourself? Download "BIGSHOT Google Analytics"! Update: 1.5.2
Update: 1.5.1
Kenneth Crowder has been involved in the Joomla! Community since the days of Mambo. He has volunteered many hours to help out the Open Source Project. He is considered an expert in all things related to Joomla!. He was a Technical Reviewer for Joomla! A Users Guide, as well as another book currently in the editing phase. Learn more about Ken.
Set as favorite
Bookmark
Email This
Hits: 31047 Trackback(0)
Comments (40)
![]()
Jake
said:
|
|
Hello, Well done. I haven't implemented it yet, but I'm excited to see a plugin. Cheers and thanks, Jake |
|
|
report abuse
vote down
vote up
|
Mike
said:
|
Thanks for doing this, i have always wanted to use Google Analytics, but I am not a code money and could never get it to work. So far this is working perfect! Thanks Again! |
|
|
report abuse
vote down
vote up
|
Jason Hull
said:
| Had a customer request for this today... checked JED and behold a new plugin that fit my needs! Trying it out now. Thanks for being a contribution. | |
|
report abuse
vote down
vote up
|
Techwild
said:
| Kick Butt! I was waiting for someone to make a plug-in for Google Analytics. You are the man. I had been using a module version. It wouldn't work on the last site I made. That drove me to look for a different solution. Found yours and it works great. Thanks for adding it to the extensions page! | |
|
report abuse
vote down
vote up
|
humza
said:
|
hi, with CB 1.2 there is an ajax username availability checker... as soon as you enter the username and press tab, it turns the screen blank and starts contacting analytics site for some reason disable the plugin and it is back to normal ?? [Please try the latest version of this Plugin. It should address that issue - Kenneth Crowder] |
|
|
report abuse
vote down
vote up
|
Mark
said:
|
I'm getting the above error on the page .... I've seen references to this on the web. Do you know if there is anyway to correct that? Apparently it is know problem with the way Google is generating the code... Thanks for the get plug-in! |
|
|
report abuse
vote down
vote up
|
Joris
said:
| Thank you for the plugin! It looks promising and it's better than a module solution! | |
|
report abuse
vote down
vote up
|
Rob Valk
said:
|
This is one of the few extentions on Joomla that is realy creating user-value without having to learn all kinds of technical stuff. This is high-level analytical coding for dummies (like me) Kenneth, keep up the good work. Rob |
|
|
report abuse
vote down
vote up
|
Rob Valk
said:
|
This is real high level out of the box analytics. Even for a dummy like me Thanks Kenneth, keep up the good work. Rob |
|
|
report abuse
vote down
vote up
|
stan
said:
|
Ok it's turns out my installer was broken. but i got it fixed. Does it sometimes take a while before google analytics starts tracking?? [Yes, Google updates Analytics in a batch process. Normally, you have to wait until the next day to see today's data. - Kenneth Crowder] |
|
|
report abuse
vote down
vote up
|
stan
said:
|
Is there a way to check my joomla site to see if is inserting the code unto the different pages? i ask this because after waiting a while google analytics recognized my ID to track, but doesn't seem to be registering any visiors. [Can you email a link to your site to me? I will take a look. - Kenneth Crowder] |
|
|
report abuse
vote down
vote up
|
Bridgit
said:
|
I installed this and entered my code and it seemed to work as I can see it in the source code. However, I continue to try to verify it with google and I keep getting the error message below. Any ideas? Tracking Unknown (Last checked: PST.) The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website. [You need to give Google 24 hours to detect your website's use of the code. Also, the data for today will not show up in Google Analytics until tomorrow. - Kenneth Crowder] |
|
|
report abuse
vote down
vote up
|
Tim
said:
|
Will this extension work in a Joomla 1.5 site running in 1.0 legacy mode? [Yes, it does. - Kenneth Crowder] |
|
|
report abuse
vote down
vote up
|
will key
said:
|
why don't people just put the code inside their template's index.php page? then it shows on every page automatically! [Actually, this plugin does the same thing. It is intended to make it easier for Novice users who are not sure how to add it to their template. - Kenneth Crowder] |
|
|
report abuse
vote down
vote up
|
Rob
said:
| Awesome plugin. Only took about 30 seconds to install and Google starting tracking in about 5 minutes. Thanks for the great plugin. Much better then the other I've tried. | |
|
report abuse
vote down
vote up
|
Mandy Nichols
said:
| Great idea - thanks for this. I've just installed and am waiting untill tomorrow to get the results. | |
|
report abuse
vote down
vote up
|
Will
said:
| Beautiful First time install, took about 1 minute from woe to go. Has an extension ever been so easy to implement. | |
|
report abuse
vote down
vote up
|
Happy
said:
|
YOUR PLUG IN KICKS A$$ AND THANK YOU FOR CREATING IT! yeah.. I'm shouting! because I'm stoked! |
|
|
report abuse
vote down
vote up
|
Cobus Zwiegelaar
said:
|
We were just starting to get ready for the tedious task of inserting the analytics code into every page of our site when we came across your plugin! THis is really awesome! Saves an enormous amount of time and works perfectly. Great work |
|
|
report abuse
vote down
vote up
|
Francesca
said:
|
I just installed it in my website www.agriturismotoscana.ws and it works flawlessy, thank you very much for the nice job! Francesca from Italy |
|
|
report abuse
vote down
vote up
|
Anthony Hollander
said:
| I just installed the plugin and need to wait 24 hours to see if it's correctly working. Thanks. Installation was real easy compared to other similar products. I uninstalled all and am using this one. | |
|
report abuse
vote down
vote up
|
Jim
said:
| The code is not appearing above the body tag, but below it. I don't know why. I'd appreciate any help. | |
|
report abuse
vote down
vote up
|
Tina
said:
Thank you for an excellent plug in!! Very much appreciated. |
|
|
report abuse
vote down
vote up
|
DanFromOhio
said:
As a total newbie I am testing out an installation problem, but did not want to pay for things that I may not ever use if I don't continue with Joomla. Thanks for this free, and very useful plugin. It installed with no problems at all, which can't be said about every 'free' thing I've found online. |
|
|
report abuse
vote down
vote up
|
HighPoint
said:
| Just wanted to say thanks for developing this plugin. Installation was easy and works well. Much appreciated. | |
|
report abuse
vote down
vote up
|
Don
said:
|
The old saying: Says what it does ... Does what it says. That's professionalism, quality, and ease of use all in one. What more can you ask for. Kudos!! .. and many thanks... |
|
|
report abuse
vote down
vote up
|
Nicholas Samuel Adams
said:
| I was skeptical only because I have struggled so much installing analytics with my Joomla sites. It really is as easy as it looks. Installed, entered my ID and thats it. One small tip is that if it is not verified immediately don't panic. I had to wait the full 48 hours for the install to be verified by google. One way I verified it for myself was just to check the view source and see that the script was there! Great Job! | |
|
report abuse
vote down
vote up
|

- Kenneth Crowder] 