
Originally Posted by
cuda
The XXXX are there so that indicates to me that your database does not have the account number in it. Also make sure just before the </body> tag in your home page template because you may have just the code above there and that could be your problem:
PHP Code:
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?>
The UH number is in the config in admin, I didn't see in the instructions that I had to enter it elsewhere.
Plus I did enter the code just before the end body tag.
The last few lines of my templates/custom/common/tpl_main_page.php are:
Code:
<!--eof- banner #6 display -->
</div>
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?>
</body>
I also made sure that my body statement had the $zv_onload statement in it.
Code:
?>
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
<?php
What did I miss?
betty
Bookmarks