Google Analytics

More
6 years 3 months ago #4316 by karenann
karenann created the topic: Google Analytics
I have 2 different templates which i purchased, question applies to both;
I want to add Google Analytics code. Whenv i "Enable" the option, i get a one liner below, which does not save the number of lines needed for the pasting in of the code.
Is there a different way i should be putting it in?

thanks!

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #4319 by marcin
marcin replied the topic: Google Analytics
Hello,

Thank you for contacting us.
All you need to add to the "Google Analytics code" field is your account id, not the whole script.
Let us know if it helped.

Regards,
Marcin

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #4337 by karenann
karenann replied the topic: Google Analytics
Hi Marcin. That helped, thank you.
i also want to add stats from a different provider, notmally I would add code into the template index.php before the <body> tag. How do i do that, can you advise? The 2 templates i am using do not enable me to do so in the index.php. is there another files i c an use?

Thanks! Karen-Ann

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago - 6 years 3 months ago #4345 by marcin
marcin replied the topic: Google Analytics
Hello,

You're welcome :)
For Joomla 3.0 templates you can add stats into the "head.php" file which is located in "template_name/tpl/blocks/".
For Joomla 2.5 templates you can simply add stats into the index.php file (head section).

Regards,
Marcin
Last Edit: 6 years 3 months ago by marcin.

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago #4378 by karenann
karenann replied the topic: Google Analytics
Perfect, works well. Thank you very much!

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago #4379 by marcin
marcin replied the topic: Google Analytics
You're welcome.
We published an article about this issue recently. Here it is:
www.joomla-monster.com/blog/joomla-templ...-the-joomla-template

Regards,
Marcin

Please Log in or Create an account to join the conversation.

Time to create page: 0.458 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.