Re: Simple Google Analytics - Support
Quote:
Originally Posted by
countrycharm
They should"t allow it in my opinion but I did say
And I still stand by that. If Eric want s to change it back his welcome to. I didn't want to take no credit or step on his feet here. My name is on the new submission I made. I will change it back though.
The only point I was making was that I didn't realize that you had submitted the latest version since Eric's name was still listed as the author.. 'tis all..:smile: Really.. it's not a big deal..:smile:
BTW, there's no such thing as "stepping on toes" for open source. If an update/bugfix is needed, submit it.. Heck Scott has submitted Super Orders fixes, and I HARDLY felt like he was stopping on anyone's toes.. That said, if there's a concern about "stepping on toes" that you should contact the author and work it out with them..
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
DivaVocals
The only point I was making was that I didn't realize that you had submitted the latest version since Eric's name was still listed as the author.. 'tis all..:smile: Really.. it's not a big deal..:smile:
BTW, there's no such thing as "stepping on toes" for open source. If an update/bugfix is needed, submit it.. Heck Scott has submitted Super Orders fixes, and I HARDLY felt like he was stopping on anyone's toes.. That said, if there's a concern about "stepping on toes" that you should contact the author and work it out with them..
Point taken
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
countrycharm
Point taken
:hug:...
Re: Simple Google Analytics - Support
We just launched our site www.aydincoins.com but having trouble with Google Analytics, when I do a view Page Source of our site, I see the code at the bottom of the page, within the body and Google Analytics is still not recognizing the site, it says Tracking is not installed.
Here is the code below from our site, I just Xed the account numbers, the module is working in Zencart.
Any idea?
<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-XXXXXXXX-4");
pageTracker._initData();
<!-- Google Code for AydinCoinsSite Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = XXXXXXXXXX;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "hwCECPCW7QIQ3KHj_gM";
var google_conversion_value = 0;
/* ]]> */
</script>
<script type="text/javascript" src="http://www.googleadservices.com/page...n.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/page...t=0"/>
</div>
</noscript>
pageTracker._trackPageview();
pageTracker._trackPageLoadTime();
</script>
</body></html>
Re: Simple Google Analytics - Support
Well, if you look at the source code on your page and in the G Analytics part it actually, has:
alt=""
Then you're not doin it right.
the " is an html entity replacement for "
I'm not sure what you might have done to convert the "
to ".
but that's broken.
Re: Simple Google Analytics - Support
How did you place the UA code into your zencart installation?
When you set up a GA account at Google, it will generate a few lines of code, which it then says need to be pasted into your HTML...
If you use one of the zencart GA modules, you DON'T paste this code anywhere...
All you need is your tracking number.
Describe HOW you configured GA on your site.
Re: Simple Google Analytics - Support
I thought I had this working but GA reports "Tracking Not Installed" for https://www.canadianbusinessresource...hase/index.php
ZC 1.3.9h
Simple GA 1.2.5b
Source View within </heading>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXX-X']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageLoadTime']);
(function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
The only odd thing is the line <!--simple google analytics--> just before the </body> tag.
Please help me sort out what I have done wrong.
Re: Simple Google Analytics - Support
I just checked common/tpl_main_page.php and see
<!--simple google analytics-->
<?php
if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
// Do nothing
} else {
require(DIR_WS_TEMPLATE . 'google_analytics/google_analytics.php');
}
?>
</body>
have I combined old & new install methods?
Please advise
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
polygone
I just checked common/tpl_main_page.php and see
<!--simple google analytics-->
<?php
if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
// Do nothing
} else {
require(DIR_WS_TEMPLATE . 'google_analytics/google_analytics.php');
}
?>
</body>
have I combined old & new install methods?
Please advise
If you were running zen cart v1.3.9 and simple google analytics v1.2.4, v1.2.5 everything should be correct in your insulation. Nothing has been change in simple google analytics v1.2.5a, simple google analytics v1.2.5b, simple google analytics v1.2.5c except I created and upgrade folder and created a upgrade.txt file. so this would be easier for the installer.
NOTE: If you were using a previous version (1.2.x) of Google Analytics (prior to 1.2.3) then you'll need to change the code in the previous location
At the bottom of /includes/templates/[your_template]/common/tpl_main_page.php
Find the lines of code that look like this (found below) just before the </body> tag:
Quote:
<?php
if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
}
?>
CHANGE / replace the lines of code to look like this:
<?php
if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
// Do nothing
} else {
require(DIR_WS_TEMPLATE . 'google_analytics/google_analytics.php');
}
?>
Hope this helps.
Re: Simple Google Analytics - Support
So would anyone be able to provide the code to properly setup Bing AdCenter Conversion tracking. Earlier in the thread Eric said you needed to use an "if, then" statement similar to one used for google and just substitute the code provided by AdCenter...anyone know how to go about this?