Re: Simple Google Analytics - Support
Quote:
Originally Posted by
gsdcypher
Trying to read through this thread. I was trying to update to google analytics 1.2.2 in my cart 1.3.8a. Does the new ga.js code not work?
I have edited and changed some files and now I'm lost.
Also where does this code go????
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-xxxxxx-x");
pageTracker._initData();
pageTracker._trackPageview();
</script>
Thanks.
The ga.js code works, but GOOGLE has a glitch on their end which causes the ecommerce tracking to now work properly (missing data at random). So I suggest using the Urchin version until they fix the bug on their end.
You do not have to insert code as you indicated anywhere on the site.
All you have to do is insert one line (see step 3 of the install) into the tpl_main_page.php" page. That inserts the code automatically onto your pages in the proper location.
Don't forget to ad your tracking code in the Admin configuration.
In the code you show it still says "UA-xxxxx-x" and that is for sample purposes only. You need to add your tracking code in the Admin in order for that to be replaced with your own.
Re: Simple Google Analytics - Support
Hey econcepts, it works now. For some reason, when I first got the code, it was missing a dashed number at the end. When I checked it a couple of days ago, there was still the original number. When I just checked it now, google had added another number to my code. It works now. Thanks.
Christine
Re: Simple Google Analytics - Support
I figured it out... user tracking was interfering with my footer. collecting data now. Thanks for your help.:smile:
Re: Simple Google Analytics - Support
Im trying to download this, but the file I get from the zc downloads is called.
simple_google_analytics_1-2-2.zip
My system tells me its not a standard archive and will not open it.
I try to get it from your site and your site page does not open.
Can anyone send it to me please, prefferably as a zip or rar file.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
spottedhaggis
Im trying to download this, but the file I get from the zc downloads is called.
simple_google_analytics_1-2-2.zip
My system tells me its not a standard archive and will not open it.
I try to get it from your site and your site page does not open.
Can anyone send it to me please, prefferably as a zip or rar file.
I was having the same problem. Are you on a Mac? If so, right click on the ZIP file and choose 'Open With > Archive Utility' and that will open it. For whatever reason, StuffIt will not open this ZIP file.
Re: Simple Google Analytics - Support
:cry:
Can somebody help me out here? I installed 1.2.2. over a week ago right before I went on vacation. When I got back yesterday and logged into my analytics account, I realized it hasn't been working – even though it says it IS receiving data.
I am using Zen Cart 1.3.7.1 and my website is www.queerrepublictees.com
Thanks in advance for any help and/or advice.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
rlfreshwater
:cry:
Can somebody help me out here? I installed 1.2.2. over a week ago right before I went on vacation. When I got back yesterday and logged into my analytics account, I realized it hasn't been working – even though it says it IS receiving data.
I am using Zen Cart 1.3.7.1 and my website is
www.queerrepublictees.com
Thanks in advance for any help and/or advice.
UPDATE: I seem to have fixed the problem. The analytics account ID located under 'Analytics Settings > Edit Account and Data Sharing Settings' in my Google account dashboard did not have the extra '-1' on the end.
In other words, pull the correct account ID from the code that Google generates for you on this page: 'Analytics Settings > Profile Settings > Tracking Code' instead of this page: 'Analytics Settings > Edit Account and Data Sharing Settings'
Re: Simple Google Analytics - Support
Thanks again, Eric, for this mod!
The goals I set up in Google Analytics aren't working and I am getting conflicting information from different sources on how to set them up. :blink:
Can someone please answer the following?
Do I use my entire URL in the goals such as:
'https://www.your-site.com/index.php?main_page=create_account_success'
Or do I just use what comes after the domain name such as:
/index.php?main_page=create_account_success
THANKS