my site url is http://www.afro-masks.com/
Printable View
my site url is http://www.afro-masks.com/
Look at this and make sure all your data is correct.
http://www.zen-cart.com/forum/showpo...&postcount=789
I have been using this system and it works wonderfully for ecommerce tracking in google analytics, however there is a glitch with the adwords conversion tracking. I did a test conversion and verified that the "google site stats" tag was in place, and that the conversion code showed up at the bottom of the page. However no conversion shows up at the adwords web site.
I am posting two versions of the tracking code; first the version that google tells me should be there, and second the version that was generated from the test conversion. There are some minor differences, but the major possible culprit appears to be that the conversion label is now "purchase" instead of the random label that google assigned in their example tracking code. Any ideas on a fix?
Google Version of Tracking Code
Generated Version of Tracking CodeHTML Code:<script language="JavaScript" type="text/javascript">
<!--
var google_conversion_id = 1069xxxx97;
var google_conversion_language = "en_US";
var google_conversion_format = "1";
var google_conversion_color = "ffffff";
var google_conversion_label = "JDY3CMufSxC12_X9Aw";
//-->
</script>
<script language="JavaScript" src="https://www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<img height="1" width="1" border="0" src="https://www.googleadservices.com/pagead/conversion/1069xxxx97/?label=JDY3CMufSxC12_X9Aw&script=0"/>
</noscript>
HTML Code:<script language="JavaScript" type="text/javascript">
<!--
var google_conversion_id = 1069xxxx97;
var google_conversion_language = "en_US";
var google_conversion_format = "1";
var google_conversion_color = "FFFFFF";
if (69.29) {
var google_conversion_value = 69.29;
}
var google_conversion_label = "purchase";
//-->
</script><script language="JavaScript" src="https://www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<img height=1 width=1 border=0 src="https://www.googleadservices.com/pagead/conversion/1069xxxx97/?value=69.29&label=purchase&script=0">
</noscript>
I hacked the google-analytics.php file to change "purchase" to the label that google listed and now the conversion tracking is working great. :clap:
econcepts, thanks for a great product, and I hope this helps you debug and perhaps generate a future version that includes a text field in the admin config for the conversion label? :wink:
I just installed your plugin on http://www.rosasfudge.com. It's working great for the most part but I'm having one problem. The report showing revenue by traffic source is showing the correct amount of revenue, but the product revenue report does not include all sales (not the correct quantity sold of that particular product). Do you have any idea what is going wrong?
Thanks,
John
I noticed in the code that's there is going to be support of tracking downloaded files, such as PDFs, in the future. That's great, as I have a book store built with Zen Cart that includes links to downloadable abstracts in PDF format.
Another thing that would be great is if this mod would track outbound links. At the bottom of each product page is a link to an external webpage that gives more info about the product. It would be worthwhile to track those and any other external links in the store. Any plans for tracking outbound links?
Zen Cart 1.3.7
Simple Google Analytics 1.2.2
I installed this module four days ago. Maybe I had already set things up long ago, or maybe adwords starts tracking things right away, but I have data since April 2007, when I first started my website. But since four days ago, the data is all zero. Zero pageviews, everything. That's right after I installed this module in zencart, so it seems that it's responsible for the lack of data. I may have removed something, but I don't remember. What could be the problem?
The website is www.adamantbarbell.com.
Here's the code I see in the bottom of the page source. I don't know if I put it there in the past or if it came like this:
Configuration settings:Quote:
<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-356915");
pageTracker._initData();
pageTracker._trackPageview();
</script>
Analytics Account UA-356915 Info
Target Address delivery Info
Affiliation adamantbarbell.com Info
Use sku/code products_model Info
Use Older "urchin.js" Tracking Code No
Activate Conversion Tracking Yes Info
Google AdWords Conversion Tracking Number 1072280010 Info
Google AdWords Language en_US
Looking into this further, I think I installed version 1.0.0 of this module in April 2007. I soon uninstalled it, but it looks like some files had remained.
My analytics account number is correct as found on my analytics account.
My adwords conversion tracking number is correct, if that's the google_conversion_id it shows in the tracking code in my adwords account.
I'll try uninstalling and reinstalling, but if anyone can see what the problem is, or has an idea, I would be grateful.
I see that in my analytics account the website profile has this next to it: UA-356915-2. In my configuration in zencart I have UA-356915 as the account number. Should I add the -2?