Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
It takes a few days sometimes to actually start seeing data. have you resolved this or are you still getting no data returned?
It's still not resolved. google's still saying that it's receiving data, but still also saying there's been no visits which is absolutely incorrect, I've had numerous sales since it's been saying zero visits. I uninstalled and did a fresh install of the simple googe analytics thinking that would help, but the same thing is happening.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
I have seen in a number of instances where the installation of JAM (creating a new "footer" file for the checkout success page) causes problems with the code that is inserted during Google Analytics install which goes on the "tpl_main_page.php" page.
This might be something to look into with the JROX code as well.
To resolve this I have moved users JAM code to the tpl_main_page.php file and added an if then statement as such:
Hi econcepts,
I would be really grateful if you could explain what this means. Since I installed JROX, my site is also no longer showing any e-commerce data, though the visits and funnel visualisation show the correct data being fed through.
What did you mean by "moving users JAM code"? Is it possible to solve this just by moving the google_analytics.php to the custom checkout_success folder?
Many thanks,
Edwin
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
fashions
Results LIKE THIS:
_uacct = "UA-#######-1";
urchinTracker();
</script>
</body></html>
I also had issues getting this to work. Then, after logging into my Google Analytics account and checking my tracking code, I realized I needed to replace the -1 with a -4. Mine works fine now and I'm happily tracking!
Hope this information can help someone else.
-Melissa
Re: Simple Google Analytics - Support
Hi there, just installed. I see the code on my pages however I do not get data in google ( yes I have checked my account code number) also this test site http://checkwebsite.erigami.com/googleanalytics.html tells me that there are errors:
Visitor tracking is not OK
Google Analytics JavaScript file is not downloaded
Google Analytics Account variable is not found
Any help or ideas on what to do next would be greatly appreciated.
Re: Simple Google Analytics - Support
By the way.... this is the code I see in source view:
<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-xxxxxx-7");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body></html>
Re: Simple Google Analytics - Support
it's still not working for me, either. When I check with the truwex page, I get this response;
Quote:
Google Analytics elements are detected
http://pagecheck.erigami.com/truwex/images/s.gif Visitor tracking is
not OK
Google Analytics JavaScript file is not downloaded
Google Analytics Account variable is not found
Google Analytics WebBeacon is detected
Google Analytics Cookie is detected
any ideas on why it's not working? I'm running 1.3.7.
Debugging Conversion Tracking
The analytics portion of this has been working great for me. The conversion has not been working however. I spent some time generating debug info, and am posting here in the hopes of getting some ideas for problems and fixes going.
I generated a test conversion through google search. The "Google Site Stats" tag did not show up on the checkout_success page, however the analytics and conversion tracking code did show up in the view source for the page. The conversion code looked like:
Code:
<!-- Google Code for purchase Conversion Page -->
<script language="JavaScript" type="text/javascript">
<!--
var google_conversion_id = 106937XXXX;
var google_conversion_language = "en_US";
var google_conversion_format = "1";
var google_conversion_color = "FFFFFF";
if (0.01) {
var google_conversion_value = 0.01;
}
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/106937XXXX/?value=0.01&label=purchase&script=0">
</noscript>
This appears to me to be pretty close to the exact code snippet given for the conversion on the adwords site, with the exception that the label now says "purchase" instead of "JDY3CMufSxC12_X9Aw" and the " if (0.01) {" clause on the conversion value.
The tracking image https://www.googleadservices.com/pag...ion/106937XXXX does not show up in the page when I use FireBug, however when I manually enter the image URL in the browser it shows up fine.
There are two possible issues I can see at this point:
1) there is a page error "__utmSetTrans not defined", which refers to line one of the body of the page. does anyone have an idea what this code does or where it came from? A little google on the function name shows it to be related to google conversion tracking. I don't see where it should be defined however.
Code:
<body id="checkoutsuccessBody" onload="javascript:__utmSetTrans();">
2) I have the "Corner of Trust" contrib installed just after the point at which the conversion code is inserted. Perhaps this is causing a conflict. I will try removing that and see if it makes any difference and will report back later. I don't think this is the problem as conversion tracking also does not work on another site without Corner of Trust, but want to eliminate the possibility completely.
Thanks to anyone who read this far and has any suggestions for debugging steps.
Conversion Tracking Problem SOLVED
:clap:
Got it working, the problem was an old version of includes/modules/pages/checkout_success/on_load_main.js that was sitting around from an older installation. this line not only caused the javascript error, it also prevented the conversions from being tracked. the image still does not show up, but a conversion was recorded by google.
many thanks for a great contribution, and for those of your having problems with conversion tracking "may my fix be your fix"
:hug:
Re: Simple Google Analytics - Support
Of course, all of this was spelled out by econcepts in the documentation:
Quote:
NOTE to those upgrading from version 1.0
========================================
The new "ga.js" version of tracking does not need one bit of JavaScript that was included in the previous "urchin.js"
versions. You will need to DELETE this line from your code.
includes/modules/pages/checkout_success/on_load_main.js
REMOVE the following line from that file "javascript:__utmSetTrans();"
If that is the ONLY line you see in the file, than it is safe to completely DELETE the file. If this is not the only
line found in that file, then delete only that line, and save the file. Re-upload the new version to your site.
Keeping this line in when using the new ga.js tracking code can causee JavaScript errors to pop up on your site (since
the new code does not refer to this function anymore).
Re: Simple Google Analytics - Support
Hi
I've a problem with e-commerce conversion:
since the end of june it doesn't work anymore.
I'm guessing what's changed, but .... nothing seems wrong....
may someone suggest me what to check ?
(new ga.js code)
thanks in advance