Re: Simple Google Analytics - Support
Apparently I can only post on the 3rd party thread. so this is for
kdays. In answer to your helpful response on the other thread
It is telling me that I am receiving data. at the bottom though its telling me to paste this code.
Paste this code on your site
Copy the following code, then paste it onto every page you want to track immediately before the closing </head> tag.
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-19545334-1']);
_gaq.push(['_setDomainName', '.thetrailingedge.com']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
I don't mind entering this code I just don't understand where.
also my url is www. thetrailingedge.com this one is receiving data
and www.tte.ca is waiting to receive data.
thanks for your help.
Bob
Any help would be greatly appreciated
RobertG is online now Report Post Reply With Quote
Re: Simple Google Analytics - support
Quote:
Originally Posted by
RobertG
I,ve installed Simple Google Analytics and also signed up. I have my UA numbers which are pasted on the zen cart admin Simple Google Analytics configuration page. although I have a green checkmark on one site I still have the ! mark on my second profile (i.e my site has 2 domains, one is tte.ca the other one is thetrailingedge.com) Im not getting any information, its been well over 2 days that I installed and signed in. Upon reading up on the
Google Analytics site and reading Getting Started with the Asynchronous Snippet, it tells me the following:
The Analytics snippet is a small piece of JavaScript code that you paste into your pages. It activates Google Analytics tracking by inserting ga.js into the page. To use this on your pages, copy the code snippet below, replacing UA-XXXXX-X with your web property ID. If you need to do more than basic page tracking, see the tracking reference for a list of methods available in the API and see the Usage Guide for details on using the asynchronous syntax. For step-by-step instructions on setting up tracking, see the Help Center article on setting up tracking.
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
Am I suppose to enter this and if so where do I put it, Please advise.
P.S. I followed the install information to a tee.
Thanks,
If you are using Simple Google Analytics you do NOT need to follow any instructions on the Google site. It's all done for you in the contribution already (placement of code, etc...). Only follow the instructions that are found in the Simple GA readme file.
All you have to do is insert your GA tracking ID in the proper location within the Zen Cart admin, select the type of tracking you want and you're all set.
Do NOT paste any code that Google says to anywhere within your site if you have the Simple Google Analytics mod installed.
I looked at your site (from the above post) and you've got multiple tracking codes, and multiple tracking types on the page.
The header as the Async tracking code with one Google Analytics ID and then the footer has the ga.js version of the tracking code in place with a totally different tracking id.
These will conflict with each other.
You need to pick one or the other, and then only use the tracking id that is designated for your specific url. Do not put both in place.
So what you'll need to do is find out which code you inserted yourself (that was not inserted through the Simple GA contribution and then remove that tracking (only leave the Simple GA in place.)
Confirm your tracking id matches that of the site you are trying to "verify" from within your GA account and you're all set.
Re: Simple Google Analytics - Support
Thank you very much for your help. I've followed up with everything you suggested, Now I'll wait for the results. I'll keep you apprised of the situation. Thanks again for your help.
Sincerely,
Bob:clap:
Re: Simple Google Analytics - Support
No problem. Let us know how it turns out for you.
Re: Simple Google Analytics - Support
Hi all!
I apologize if I am asking a redundant question, however, I have made an honest attempt to find any prior posts related to my issue.
I am currently using version ZC 1.3.9g. I have followed the readme to the letter--several times--and I keep coming up with the same problem: I get a blank white screen with no data. Here is a link to my site. NOTE: It doesn't contain the modified files--for the above reason of returning a blank screen and attempting to view source returns no data.
The only other addon I am running is the module to display categories in the centerbox.
Site---> w w w dot d i s c o u n t s t r o b e s dot c o m
Any ideas?
:cool:
Re: Simple Google Analytics - Support
A blank screen likely means you have an error in your PHP somewhere. To find out where it is you could enable the error logging in your cart , install the files, try to access them, and then view the log that is created. This will tell you right where the error is and you can correct it.
I suspect that during install of step 3, something was removed by accident.
The error logging is built in to your version. All you have to do is look at the log.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
A blank screen likely means you have an error in your PHP somewhere. To find out where it is you could enable the error logging in your cart , install the files, try to access them, and then view the log that is created. This will tell you right where the error is and you can correct it.
I suspect that during install of step 3, something was removed by accident.
The error logging is built in to your version. All you have to do is look at the log.
Too bad the debugger doesn't have a dum-dum output for operator using notepad++. Do I need to say more? :cool:
:lamo:
:oops:
Re: Simple Google Analytics - Support
Hi. Searching this thread, so far I do not see a reference to text appearing on the home page from the includes/templates/my_template/common/html_header.php.
My home page at www.gokaraokemachine.com shows the following text at the very top:
Quote:
/* Begin Simple Google Analytics */ /* End Simple Google Analytics */
I saw that there was an HTML-related problem in 1.3.9g that was fixed in 1.3.9h. I'm not actually sure this is HTML appearing. I had just gone live when I upgraded to 1.3.9h from 1.3.9g and noticed this problem which I had not noticed before. I just recently upgraded from Simple Google Analytics version 1.2.2 to 1.2.3. My ISP just implemented PHP 5.3.2-1ubuntu4.5.
Any tips would be appreciated. I apologize if this has been discussed somewhere in this thread--I just couldn't find the right search term.
Re: Simple Google Analytics - Support
Hi
I followed the instructions but couldnt find the step 2.
/includes/templates/[your_template]/common/tpl_main_page.php
I dont have this file as above, is there any other files i can put the step 3 codes on?
Re: Simple Google Analytics - Support
Good Friday morning all. I've been asked to do some SEO work on a Zen Cart (which I've never used) site so I've been doing research here and in manuals for the last 2 days. I'm getting ready to install Simple SEO and Simple Google Analytics and just wanted to see if there were any issues I should anticipate. I'm going through the last 50 pages of the support forum for Simple SEO and then I'll do the same for Simple Google. The only variable I may intoduce is that after I get these 2 set up I intend to create a custom opening page that I've already created in PhotoShop in HTML. It's just easier for me right now until I get more familiar with Zen Cart. I hope this isn't going to break anything.
Also, when I was forced to do a Drupal site 2 years ago they had an (buggy) Admin module that allowed me to select any element on the page and it would show the template heirarchy which made it very easy for a newbie. Is there anything comparable to this in Zen Cart?
Oh, I've already installed Module Manager if that makes a difference.
Thanks