hello,
a lot of posts in this section! but where to find a proper (working)way to install Google Analytics
thank you
hello,
a lot of posts in this section! but where to find a proper (working)way to install Google Analytics
thank you
I downloaded the simple google analytics contribution (for which this thread is the support for) and followed the steps. Now I won't say I didn't have a few hiccough's but that was probably my inefficiency and lack of expertise. In the long run, it's working for me now and I'm a total novice. So I guess this contribution is pretty simple. The instructions were on the read me file within the download and if you just do everything step by step you should be fine.
Last edited by artycles; 4 May 2009 at 10:29 AM. Reason: add a bit.
thank you for advise!
I'll try it
best regards
I think I identified a bug in version 1.2.2 of this mod. I found in AWStats that I'm getting calls to this file on my domain resulting in 404 errors:
/google-analytics.com/ga.js
I guess what it's supposed to do is call http://google-analytics.com/ga.js, right? I searched for the text /google-analytics.com/ga.js in zencart and found the below code in this file:
/home/myaccount/public_html/includes/templates/mytemplate/google_analytics/google_analytics.php
Am I interpreting this correctly as what's causing the bug? How should I modify the code to fix it? I'm actually not using the ga.js code any more as of the other day, but perhaps this is what was causing the missing data with ga.js tracking from this mod in the first place.Code:document.write(unescape(\"%3Cscript src='\" + gaJsHost + \"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\"));
I'm not sure what store page called the /google-analytics.com/ga.js file, because AWStatus only tells me the referrer was /index.php, which is the index page of my store and could mean any number of pages. But the above is the only code I found that seems to be calling /google-analytics.com/ga.js.
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Don't edit that info or you're going to cause real mess.
That code is the exact code which Google tells you to insert (with that exact url) from inside Google Analytics. So unless there was an issue on Google end (temporarily?) then I don't think that the url is the issue.
If that was the simple fix then Google would have likely found it long ago.
In fact, that url "google-analytics..." is one Google uses to run some of the analytics applications so it should be fine.
If you want to take a look at the code they tell you to insert to see it is the actual link they provide then simply login to your Google Analytics account, click on the "Edit" link from the main dashboard next to the website profile you want to edit and then on the next page click the "Check Status" link (upper right).
This will bring you to a page where you can actually see the code (both ga.js version and legacy version).
Hope that helps!
Last edited by econcepts; 13 May 2009 at 01:10 PM. Reason: added info
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Hello,
I have read some of your posts on SGA. What I have done is that I added the analytics code in the header file - i know this is not the best way to do - but it works. I don't know what the implication would be though. This was just a test but it works - ran check status at Google analytics and confirmed ok ;-)
I wanted certain meta tags to be on all my pages so I followed the instruction as mentioned here - https://www.zen-cart.com/tutorials/index.php?article=62
Following this intructions to achieve my add on meta tags. At the end of the header file I added Google analytics.
Has anybody tried this ?
Anybody experienced any problems whilst using this.
I will be using traditional method to install SGA anyways but the alternative method does the trick too.
I am quite keen to know if anybody here has done this before.
Thanks in advance
Hi all,
I've installed this and followed all the instructions. I can see the code being inserted into my pages when I "view source", however GA still thinks that the tracking code is not installed. Anyone have any ideas please?
TIA
Khushil Dep
www.befancy.co.uk
ok. i think i had this problem before in one of my site.
did you add your site on GA as .domainname.xxx or with www(dot)domainname.xxx.
I had to readd my domain name with www(dot)domainname.xxx and it worked all fine.
let me know how it goes.
First of all, thanks for this support thread!
I've come to a halt in the installation process at step 4, from which I'm to lame proceed. I've put the googleanalytics-INSTALL.sql and googleanalytics-UNINSTALL.sql in /public_html root and all the other files in the right directories (admin, includes etc), but now I actually want to install it. The readme says
When I go to Tools->Install SQL i see, in strong red, NOTE: Zen Cart database-upgrade scripts should NOT be run from this page.. I mean, isn't this exactly what we're doing?4. If this is a BRAND NEW install, you will need to update your database with the googleanalytics.sql file.
If you are upgrading (from the oldest 1.0 version), you will need to use the SQL file that is called googleanalytics-UPGRADE.sql
In your site admin go to Tools->Install Sql Patches and apply the googleanalytics.sql patch included.
Anyhow, how do I proceed? Do I need to run a SQL query in the upper box?
Heeeelp!
Bookmarks