why all the drama? i just pasted the google code into the footer and it works fine for me. am i missing something?
why all the drama? i just pasted the google code into the footer and it works fine for me. am i missing something?
It just started working> Erased post
Last edited by Pablosan; 11 Feb 2007 at 11:22 PM. Reason: Not needed.
---------------------------------
Barracuda Productions pure instincts
---------------------------------
Barracuda Productions pure instincts
Ok, I thought this mod was working just fine (thanks!), but I just discovered an error message showing up on my checkout success page:
Any suggestions on this? I haven't seen the error on any other page yet. I've double-checked my tpl_main_page.php, and the code is correct. Thanks for any help!Code:1054 Unknown column 'GOOGLE_ANALYTICS_TARGET_city' in 'field list' in: [select orders_id, GOOGLE_ANALYTICS_TARGET_city as city, GOOGLE_ANALYTICS_TARGET_state as state, GOOGLE_ANALYTICS_TARGET_country as country from orders where customers_id = 35 order by date_purchased desc limit 1]
---------------------------------
Barracuda Productions pure instincts
my zen-cart version is 1.3.6
after i install Simple Google Analytics, the google analytics home page show error:
Tracking not yet added to your website: www.enjoyhobbies.net
my webiste is http://www.enjoyhobbies.net
Please help me to resolve the issue.
Thanks.
You have not entered your correct account number in the admin your current setting is 'enjoyhobbies' see the code below which is at the bottom of your source:
account numbers take the form of: UA-XXXXXX-X you can find the account number when you log into your google analytics account and click edit then verify account. hope that helpsCode:<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "enjoyhobbies"; urchinTracker(); </script>
---------------------------------
Barracuda Productions pure instincts
Cuda:
I have been working to get your script working perfectly. All was going great. And I see my google account number at the bottom of the source code. And analytics is showing visits to the "cart" directory.
But when I place an item in my cart, and move thru main_page=shopping_cart, click "go to check out" where I arrive at main_page=login, then I get an "errors on page" at the bottom of the browser. I assume this is a javasript error, but I am not sure. It is a yellow triangle with an exclamation point.
One interesting note:
I was trying to find the problem, so I deleted the <?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?> at the bottom of tpl_main_page, verified on the server source code that it was gone, but I still saw the error. I am quite certain there were not any errors before installing the analytics script, because I was keeping a close eye on that. Do you know why this would be? I have since put the code back into tpl_main_page. Perhaps this is not related to the script. But it seems like it is. Sorry for the long email.
Any advice?
I would greatly appreciate it.![]()
Bookmarks