InMotion Hosting Support Center

Google Analytics in Joomla 2.5

Category: Joomla 25

2013-05-21 7:27 am EST

Hits: 445

I am using a template which doesn't seem to have a standard index.php file to input a google analytics code like the one you showed in 309.

There are no opening or closing <head> tags in the file just a closing </body> tag.
The template does have a option to put the code into but this didn't work. I am a bit stuck to where to put the code?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



5,889 Points
2013-05-21 9:18 am EST
Hello timharmer!

So when you follow the steps in the <a href="">Adding Google Analytics to Joomla 2.5</a> tutorial, step 3, your <a href="">Joomla template</a> has no <code>&lt;head&gt;</code> tag in it? We checked various templates and all of them contained the code in the Joomla index.php page.

Your template may have a <a href="">php include</a> in it that loads the file from a different location or you may be missing the head tag in the template. It is difficult to say without knowing which template you are using. What template are you using?

Best regards,
James R

You must login before you can post a comment about this answer.

Like this Question?

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!