Adding Statcounter to Sporter

GK User
Fri Nov 26, 2010 10:33 pm
HI..
I saw another post

http://www.gavick.com/forum/76-the-worl ... html#43730

regarding the input of statcounter code to the template but this file layoutsblocksgk_wrapper.php is not in the Sporter layoutsblocks folder.

Is there an alternative file that I can insert the code to for the home page of sporter?

thanks a bunch!!! :woohoo:
User avatar
Senior Boarder

GK User
Sat Nov 27, 2010 11:38 am
Hi,

I'm currently using Corporate 2 template and I placed my statcounter code in default.php which is located in to layouts folder.

So, try to include stacounter code inside default.php file which is located in the
/templates/gk_sporter/layouts folder. You can include the code also in hanheld.php and iphone.php files also included in ../layouts folder. Just before </body>. Look sample:

Code: Select all
<jdoc:include type="modules" name="debug" />

<!-- Start of StatCounter Code -->
<script type="text/javascript">
....
....
....
<!-- End of StatCounter Code -->

</body>



George ;)
User avatar
Junior Boarder

GK User
Sat Nov 27, 2010 2:01 pm
Thanks Gvouliakis. I found the /body tag and inserted the code.
User avatar
Senior Boarder


cron