Re: Simple Google Analytics - Support
I too was having the error where the tracking code was not being printed, as well as the closing body and html tags.
The problem, it turns out, was that I copied google_analytics.php to the wrong directory. I had it incorrectly in /includes/templates/custom/common/google_analytics/google_analytics.php... when it should have been /includes/templates/custom/google_analytics/google_analytics.php
Dumb mistake I know. :oops: I read through the last 10 pages of this thread and noticed it's a common problem... so just a heads up.
analytics is missing some transactions
Problem - About 20% of my transactions are missing from the below report and all other reports.
Google analytics: ecommerce->transactions, sort by transaction # descending.
I haven't found any commonalities among the missing transactions that differ from other transactions that were reported successfully.
Otherwise the conversion tracking is working fine. And the analytics reporting and adwords conversion tracking appear to be working.
Simple Google Analytics 1.2.2 on Zencart 1.3.8a. My sales are a mix between Paypal IPN (website payments standard) and credit card offline processing. Some sales for either payment method are missing. www.adamantbarbell.com
analytics configuration in zencart:
Quote:
Analytics Account UA-356915-2
Target Address delivery
Affiliation adamantbarbell.com
Use sku/code products_model
Use Older "urchin.js" Tracking Code No
Activate Conversion Tracking Yes
Google AdWords Conversion Tracking Number 072280010
Google AdWords Language en_US
And in case it helps, I found the following code on the bottom of the source of my checkout_success page after I completed a test transaction with a dummy credit card number. Does it look okay?
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-356915-2");
pageTracker._initData();
pageTracker._trackPageview();
pageTracker._addTrans(
"799",
"adamantbarbell.com",
"43.72",
"2.72",
"8.00",
"Richmond",
"California",
"United States"
);
pageTracker._addItem(
"799",
"ps-85415",
"Quick Tape Measure",
"Testing & Measurement",
"33.00",
"1"
);
pageTracker._trackTrans();</script><!-- Google Code for purchase Conversion Page -->
<script language="JavaScript" type="text/javascript">
<!--
var google_conversion_id = 1072280010;
var google_conversion_language = "en_US";
var google_conversion_format = "1";
var google_conversion_color = "FFFFFF";
if (43.72) {
var google_conversion_value = 43.72;
}
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/1072280010/?value=43.72&label=purchase&script=0">
</noscript>
Re: analytics is missing some transactions
Quote:
Originally Posted by
fakeDecoy
Problem - About 20% of my transactions are missing from the below report and all other reports.
It's a problem on google's end. Apparently it was supposed to be fixed as of last month but I guess hasn't been. For now, change Use Older "urchin.js" Tracking Code to YES and it will work fine. I've been using it and the only drawback is my analytics reports visits to my store's home page as being from /mystore/index.html, when actually it should be index.php. All transactions are recorded though!
Re: Simple Google Analytics - Support
Is that what Google support told you? A look at their analytics forums suggest that others are having this issue but it isn't being recognized as an issue. One reply suggested that those 20% of customers have javascript disabled, which seems way high to me.
Re: Simple Google Analytics - Support
Nope did not talk to google. I was just going on what I've read here, plus that urchin.js rollback feature is only in existence because of the (previous?) problem that I was talking about. If there's a new problem I'm unaware.
Re: Simple Google Analytics - Support
I'm using 1.3.8, and followed all the directions for the simple google analytics (I'm pretty sure I've done everything), however it's not showing up in google analytics as receiving. I've turned it on in google analytics as far as I can tell .
I've just ploughed through this thread and can't see anything that I've done incorrect, mind you I think my brain has gone to marshmallow about now.:blush:
My site is www.kaysartycles.com.au
Any suggestions - help is always appreciated.
Cheers
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
dgmdan
Nope did not talk to google. I was just going on what I've read here, plus that urchin.js rollback feature is only in existence because of the (previous?) problem that I was talking about. If there's a new problem I'm unaware.
I see now that this option on the config page notes that the issue was supposed to be fixed Apr 2008. So I won't hold my breath. I've switched to urchin.js now.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
artycles
I'm using 1.3.8, and followed all the directions for the simple google analytics (I'm pretty sure I've done everything), however it's not showing up in google analytics as receiving. I've turned it on in google analytics as far as I can tell .
I've just ploughed through this thread and can't see anything that I've done incorrect, mind you I think my brain has gone to marshmallow about now.:blush:
My site is
www.kaysartycles.com.au
Any suggestions - help is always appreciated.
Cheers
Have you waited a full 24 hours? Analytics never shows data for the current day.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
dgmdan
Have you waited a full 24 hours? Analytics never shows data for the current day.
Thanks, I did think that, and although I have been waiting 24 hours each time, I did do another tweak today which needs to be taken into account I suppose.
patience Kay, Patience!
Re: Simple Google Analytics - Support
OK patience is rewarded thanks for the reminder about the time thing. that final tweak must have done the trick it's finally got a tick in the box not an exclamation mark. Now I only need to wait for the figures to come in.:clap: