-
AuthorPosts
-
December 14, 2010 at 2:53 am #157415
Hi,
Need to add Google Analytics to the header before the </head> tag and I want to add a meta tag for Google Webmester Tools.
Thanks in advance.
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
December 14, 2010 at 7:47 am #366668You can use in specific extension to quickly integrate google analytics by just entering web property id for your site 🙂
http://www.thinkbigshot.com/blog/technical/152-bigshot-google-analytics-plugin-for-joomla-15.html
1 user says Thank You to aman204 for this useful post
December 14, 2010 at 11:13 pm #366797Any way to access the header? What if I want to add a meta tag. This is easy in Joomla. Why has Joomlart taken this functionality out?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
December 15, 2010 at 12:13 am #366803JA have not taken the facility out, just moved it from the templates folder.
You can add your code to plugins>system>jat3>base-themes>default>blocks>head.php
<?php
/*
# ------------------------------------------------------------------------
# JA T3v2 Plugin - Template framework for Joomla 1.5
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license - GNU/GPL V2, http://www.gnu.org/licenses/gpl2.html. For details
# on licensing, Please Read Terms of Use at http://www.joomlart.com/terms_of_use.html.
# Author: JoomlArt.com
# Websites: http://www.joomlart.com - http://www.joomlancers.com.
# ------------------------------------------------------------------------
*/
?>
<script type="text/javascript">
var siteurl='<?php echo JURI::base(true) ?>/';
var tmplurl='<?php echo JURI::base(true)."/templates/".T3_ACTIVE_TEMPLATE ?>/';
</script>
<jdoc:include type="head" />
<?php if (T3Common::mobile_device_detect()=='iphone'):?>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=5.0; user-scalable=1;" />
<meta name="apple-touch-fullscreen" content="YES" />
<?php endif;?>
<?php if (T3Common::mobile_device_detect()):?>
<meta name="HandheldFriendly" content="true" />
<?php endif;?>
<link href="<?php echo T3Path::getUrl('images/favicon.ico') ?>" rel="shortcut icon" type="image/x-icon" />
<?php JHTML::stylesheet ('', 'templates/system/css/system.css') ?>
<?php JHTML::stylesheet ('', 'templates/system/css/general.css') ?>
<!-->
<style>
.clearfix { display: inline-block; } /* IE7xhtml*/
</style>
<!-->
-
AuthorPosts
This topic contains 4 replies, has 3 voices, and was last updated by Phill 13 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum