Hi, Countrycharm, thanks very much for your help.
So far, I have checked the installed code that used to work, and I am wondering why the code you mention is not the same; and also, why you have not mentioned the code that is in the html_header.php file.
In my tpl_main_page.php file I have this code--is it really wrong if it used to work?
In my html_header.php file I have the following code:Code:<?php if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") { // Do nothing } else { require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php'); } ?></body>
Secondly, following your suggestion, I tried to see if my site was receiving tracking, and although so far I cannot see where to edit my site data, I saw that it says "Tracking not installed."Code:<?php if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") { require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php'); } ?></head> <?php // NOTE: Blank line following is intended: ?>
I'm still trying to see where to find out how to install the tracking in Google Analytics, because in my site it does have the tracking code entered in Admin, and it used to track. I now recall that I did change the Google Analytics view to the new version, and am wondering if that has any relationship to losing ability to track my site.
I will just keep looking around the Google Analytics site to see if I can get somewhere. At the moment it takes me everywhere but where the answers are, it seems. I will let you know if I get somewhere with this problem, but in the meantime just have the curiosity about why my tracking code is different from the one you suggest, and why you do not mention the html_header.php tracking code.
Notageek


Reply With Quote
