Ok, I think I've figured it out.
Originally, the code for includes/templates/<your template>/jscript/jscript_google_analytics.php in Simple Google Analytics was:
PHP Code:
<?php
/* Begin Simple Google Analytics */
if (in_array($current_page_base,explode(",",'popup_image,popup_image_additional,popup_cvv_help,popup_coupon_help,popup_attributes_qty_prices,popup_search_help,popup_shipping_estimator,popup_print_invoice')) ) {
//Skip outputting the tracking code as this is a pop-up window
} else { // Print tracking code to page
if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
require(DIR_WS_TEMPLATE . 'google_analytics/google_analytics.php');
}
} // end if for page determination
/* End Simple Google Analytics */
?>
In the Easy Google Analytics, the inner if condition was changed to:
PHP Code:
if(GOOGLE_ANALYTICS_ENABLED == "Enabled"){
require(DIR_WS_TEMPLATE . 'google_analytics/google_analytics.php');
}
I think this change could be wrong. It should still be the same as in Simple Google Analytics where it tests (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous").
This is because the additional code in includes/templates/<your template>/common/tpl_main_page.php is testing for (GOOGLE_ANALYTICS_TRACKING_TYPE != "Asynchronous"):
PHP Code:
<?php
if (GOOGLE_ANALYTICS_TRACKING_TYPE != "Asynchronous") {
require(DIR_WS_TEMPLATE . 'google_analytics/google_analytics.php');
}
?>
Bookmarks