1 macman73 Feb 20, 2009 09:55
3 macman73 Feb 20, 2009 16:15
Thanks for the reply i manually added my tracking code into the footer file it now reads
<?php
/**
* This is the HTML footer include template.
*
* For a quick explanation of b2evo 2.0 skins, please start here:
* {@link http://manual.b2evolution.net/Skins_2.0}
*
* This is meant to be included in a page template.
* Note: This is also included in the popup: do not include site navigation!
*
* @package evoskins
*/
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
// Trigger plugin event, which could be used e.g. by a google_analytics plugin to add the javascript snippet here:
$Plugins->trigger_event('SkinEndHtmlBody');
$Hit->log(); // log the hit on this page
debug_info(); // output debug info if requested
?>
<div id="bottom-cap"></div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4016481-1");
pageTracker._trackPageview();
</script>
</body>
</html>
I wasn't aware that i had to do this i thought the plugin once installed did all the work i am no expert you see.
my tracking code is now being displayed when i view the source from my web browser i will wait 24hours and see what happens
Thanks again
Just one thing can you tell me what the function of the plugin is if i have to manually insert my tracking code in the footer anyway
Just interested
This is what your skin should end with:
However I see nothing of that in your skin:
Have a look at the file _posts.inc.php. That's the file that generates the main page. You're looking for the correct codesnippets.
Good luck