New Zenner
- Join Date:
- Jan 2007
- Posts:
- 13
- Plugin Contributions:
- 0
Simple Google Analytics - Support
why all the drama? i just pasted the google code into the footer and it works fine for me. am i missing something?
Views: 453,417
New Zenner
why all the drama? i just pasted the google code into the footer and it works fine for me. am i missing something?
Zen Follower
Zen Follower
Rhitty:
why all the drama? i just pasted the google code into the footer and it works fine for me. am i missing something?
You are missing transaction data...How much people spend on what products from which source....this information can be very helpful this mod allows you to track your transactions.
Barracuda Productions pure instincts
Zen Follower
Nellie:
This is what I have at the end of templates/[your_template]/common/tpl_main_page.php :
<td align="center" colspan="3"><div class="banners"><?php echo zen_display_banner('static', $banner); ?></div> </td>
</tr>
<?php
}
}
?>
</table>
<?php require(DIR_WS_MODULES . 'footer.php'); ?>
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?>
</body>
```
What version of Zen are you using Nellie?
Barracuda Productions pure instincts
New Zenner
Ok, I thought this mod was working just fine (thanks!), but I just discovered an error message showing up on my checkout success page:
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]
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!
Zen Follower
peggyc:
Hmm, I'm using JRox too -- I wonder if there's some incompatibilty there causing this Analytics problem?
Has anyone determined if JROX works with analytics?
Because I like analytics and I don't want anymore huge headaches:yuck:
Zen Follower
buzzville:
Ok, I thought this mod was working just fine (thanks!), but I just discovered an error message showing up on my checkout success page:
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]
>
> 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!
The GOOGLE_ANALYTICS_TARGET is set in the admin->Google Analytics Config. Do you have a setting there in your admin?
You would only see this error on the checkout_success page as it is only called when an order is completed.
Barracuda Productions pure instincts
New Zenner
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: https://www.enjoyhobbies.net
my webiste is http://www.enjoyhobbies.net
Please help me to resolve the issue.
Thanks.
Zen Follower
samhuang:
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: https://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:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "enjoyhobbies";
urchinTracker();
</script>
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 helps
Barracuda Productions pure instincts
New Zenner
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.:smile:
New Zenner
Never mind for now, I think it might have something to do with the way I customized the customer login fileds.
New Zenner
Actually, it looks like I might have a conflict coming from payment.php in the classes directory. Should this javascript be renamed?
I would like to open this question up to the community.
Thank you in advance.
Totally Zenned
I've just installed this mod (in the past I used Andrew includes version, but it sometimes don't tracked the orders), but this mod don't track the orders I made for testing...
I hope this mod track next orders!
Visits are tracked!
New Zenner
My cart is up and running again. Google Analytics are installed and tracking. It turns out the google code was only coincidental to my problem.
Zen-cart is cool.:smile:
Totally Zenned
I confirm: Google don't track the transaction for me https://www.100asa.it ! :-(
Why this?
Zen Follower
100asa:
I confirm: Google don't track the transaction for me https://www.100asa.it ! :-(
Why this?
Not sure why you are not tracking transactions I tried to create an account for your shop and I did but it would not let me ship to that location so I could not go through the checkout process. The process was also not secured by an SSL cert which is never a good idea. :shocking:
But if you PM me a good login with an address I can use to go through the checkout process I will take a look and give you my two cents....
Barracuda Productions pure instincts
Totally Zenned
OK, now you can complete your test order with your account (modified by me), so you can ceck what's the problem! Thank you for your time!
you can contact me by Skype: centoasa
Zen Follower
100asa:
OK, now you can complete your test order with your account (modified by me), so you can ceck what's the problem! Thank you for your time!
you can contact me by Skype: centoasa
All the code that is needed when I checkout with payment method by check (or whatever I choose, only a one language american here) was there.
So I am not sure what you are missing here. Did you allow at least 3-24 hours pass before you checked in google analyitcs for the tracking info. Google Analytics does not report in real time so this lag maybe your problem. What version of zen cart are you running? What payment methods where the previous orders using you where trying to track?
Barracuda Productions pure instincts
Totally Zenned
It's strange! I'm waiting past 48hours, but transsaction still not tracked...
I'm waiting Analytics track your order... I hope!
Totally Zenned
At this time analytics don't have track your order, Cuda!
:-(
Tell staff why this post should be reviewed.