
Originally Posted by
bettysue
Dr. Byte,
Any idea why I'm getting the double // in my error message above? I checked the google analytics file and it just has one / in it.
thank you,
betty
betty the double forward slashes may be a server setting or it may be a change to the get_template_dir() function in 1.3.7 either way it should not matter. To make it look nicer remove the '/' before 'google_analytics.php' from this line in your template:
PHP Code:
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
To make it look like this
PHP Code:
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . 'google_analytics.php');
And if you used dr bytes suggestion to check if the file exists change that line too.
I still do not see your google account number showing up in the tracking code on your home page so there is another issue.....But not sure how the XXXX could posible show up unless you have it entered in your dB or hard coded somewhere. You sure your account number is in your admin....I just don't see any other way for this code to spit our xxxxx unless that is the number in your dB and make sure it is on your live site and not a local test site.
Sorry for the delay in response had some car troubles and been shopping around the last couple days for a new one.
cuda
Bookmarks