-
AuthorPosts
-
blankito Friend
blankito
- Join date:
- March 2012
- Posts:
- 29
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
December 20, 2012 at 12:03 pm #183287Hello there,
the template has a preinstalled google analytics code. Now I have found that out after relaunch, I mean who would think the download-file have one like that in there. Now the support told me to delete it via the header.php. Well, the code is not to find in the header.php unless I’m blind on two eyes:
Joomlart Analytics Code:
<script type=”text/javascript” language=”javascript”>
/*<!;
_gaq.push([‘_setAccount’, ‘UA-243376-1’]);
_gaq.push([‘_setDomainName’, ‘joomlart.com’]);
_gaq.push([‘_trackPageview’]);(function() {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
})();
/*]]>*/
</script>Header.php:
<?php
/**
* ————————————————————————
* JA Nex Template for Joomla 2.5
* ————————————————————————
* Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
* @license – Copyrighted Commercial Software
* Author: J.O.O.M Solutions Co., Ltd
* Websites: http://www.joomlart.com – http://www.joomlancers.com
* This file may not be redistributed in whole or significant part.
* ————————————————————————
*/// No direct access
defined(‘_JEXEC’) or die;
?>
<?php
$app = JFactory::getApplication();
$siteName = $app->getCfg(‘sitename’);
if ($this->getParam(‘logoType’, ‘image’)==’image’): ?>
<h1 class=”logo”>
<a href=”<?php JURI::base(true) ?>” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
</h1>
<?php else:
$logoText = (trim($this->getParam(‘logoText’))==”) ? $siteName : JText::_(trim($this->getParam(‘logoText’)));
$sloganText = JText::_(trim($this->getParam(‘sloganText’))); ?>
<div class=”logo-text”>
<h1><a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a></h1>
<p class=”site-slogan”><?php echo $sloganText;?></p>
</div>
<?php endif; ?>
<div class=”topheader clearfix”>
<?php if($this->countModules(‘search’)) : ?>
<div id=”ja-search”>
<jdoc:include type=”modules” name=”search” />
</div>
<?php endif; ?><?php if($this->countModules(‘social’)) : ?>
<div id=”ja-social”>
<jdoc:include type=”modules” name=”social” />
</div>
<?php endif; ?>
</div>I have no tracking of visits since the relaunch this is absolutely desastrous and I’m really loosing my patience. My Site has best rankings and all. I fear for it all to break down.
Thank you very much in advance for your answers and tips.
Regards,
Markus
blankito Friendblankito
- Join date:
- March 2012
- Posts:
- 29
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
December 20, 2012 at 12:17 pm #476939So for all the desperate people out there that occuring the same problem, unlike the support said you can find the analytics code of joomlart right here:
/libraries/joomla/document/html/renderer
There you can change it!
-
AuthorPosts
This topic contains 2 replies, has 1 voice, and was last updated by blankito 11 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum