Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
The number should bee entered EXACTLY as Google shows it. If your number has the "-" then add it. If not don't.
Google has a variety of ways of giving the tracking number.
thanks
i cant seem to get it to work, when i look at my source it has the google analytics account number on the bottom of every page. on google's end everything is fine because when i used to just have a "coming soon" splash page as my home page it was reporting. but i've never had it report on my zencart pages. right now im using it with the urchin tracker.
my website is http://www.kingpinstatus.com
Re: Simple Google Analytics - Support
Thank you for you response. I have completely uninstalled Andrews even the data base. What I was saying is do you have to add this
PHP Code:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4694054-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
To the tpl_main_page.php along with the this code in the module
PHP Code:
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?>
This is what I need to know. Thank you
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
xRobVx818
thanks
i cant seem to get it to work, when i look at my source it has the google analytics account number on the bottom of every page. on google's end everything is fine because when i used to just have a "coming soon" splash page as my home page it was reporting. but i've never had it report on my zencart pages. right now im using it with the urchin tracker.
my website is
http://www.kingpinstatus.com
It actually works now i redid the sql install patch i think that helped it.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
countrycharm
Thank you for you response. I have completely uninstalled Andrews even the data base. What I was saying is do you have to add this
PHP Code:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4694054-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
To the tpl_main_page.php along with the this code in the module
PHP Code:
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?>
This is what I need to know. Thank you
No. You do not need (or want) both codes in there. The only thing you need to install on the tpl_main_page.php is the:
PHP Code:
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?>
portion of code. My contribution does the rest for you.
Re: Simple Google Analytics - Support
Thank you for your help again. I had it that way for about 2 weeks and google was not collecting any data what so ever. I added the other code from google and it started showing data again. I don't know whats with that. I can not get any data to collect for the E-Commerce part of it. I have it checked Yes, an E-Commerce Site in the edit on google.
Thank you
Re: Simple Google Analytics - Support
I just wanted to thank the author for making this available. Its rare that you get such easy to follow instructions and setup was flawless and took about 30 minutes.
I'm now 'waiting for data' on the analytics site and no problems or errors on Zencart.
:clap: :clap: :clap:
Best Regards,
Eric Burke
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
Razmear
I just wanted to thank the author for making this available. Its rare that you get such easy to follow instructions and setup was flawless and took about 30 minutes.
I'm now 'waiting for data' on the analytics site and no problems or errors on Zencart.
:clap: :clap: :clap:
Best Regards,
Eric Burke
Thanks and glad you like it Eric. I've got some good response from it.
Re: Simple Google Analytics - Support
econcepts did you read my other post from the other day. Thanks in advance.