Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Bryan Villeneuve Friend
    #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 Friend
    #366668

    You 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

    Bryan Villeneuve Friend
    #366797

    Any 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 Moderator
    #366803

    JA 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>
    <!-->

Viewing 4 posts - 1 through 4 (of 4 total)

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