This is a long long thread. My problem may have been resolved before but I can't find the fix.
Step 3 in the installation of the Simple Google Analytics requires a line of code to be inserted just before the </body> tag at the end of tpl_main_page.php. I did that. The code now looks like this:
Code:
<!--eof- banner #6 display -->
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?>
</body>
And when I run the code, the page source ends like this:
Code:
<!--eof- banner #6 display -->
That's it. No analytics code. Even lost the </body> tag.
What am I missing, please.
Bookmarks