Quote Originally Posted by josaltva View Post
leave the /includes/templates/[your_template]/common/tpl_main_page.php whit no changes and insert the next code in the /includes/templates/[your_template]/common/tpl_footer.php, note just the bold type is the code you have to insert, the rest of lines are a part of tpl_footer.php

<!--eof- site copyright display -->

<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?>


<?php

} // flag_disable_footer

?>
With my contribution you definitely do not want to insert the code into the footer file. Leave that as is.

Actually the lines of code that show at the end of the page are part of the tpl_main_page.php file (not footer). Part of it above the code insert is footer but everything below is part of the main template page.

You want to leave the code inserted as per instruction #3. If it is not showing on the site then something happened during pasting of the code OR you inserted it into a page that is not being used within your current template.