Re: Simple Google Analytics - Support
Eric, I uninstall the first GA and installed yours. I have another question, where can I find this:
Google Custom Code - After
Please copy and paste or add your custom tracking here.
I tried looking through my GA account and cannot find it.
Thanks!
Re: Simple Google Analytics - Support
Eric, I think I found it...under Actions...I pasted the script code in the box.
Is that correct?
I have been zenning too much! :bigups:
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
PinkLeopard
Eric, I think I found it...under Actions...I pasted the script code in the box.
Is that correct?
I have been zenning too much! :bigups:
No. You ONLY want to use the "custom" section if you are looking to add more customized tracking your original code (like tracking page specific actions, domain info, etc...).
If you are not looking to track custom events then you should not use that section at all.
The only thing you need to do is to add your analytics ID to the section in the admin and then if you want to track pay per click conversion (adwords) include your tracking id for that.
So in your case if you are not customizing the code just leave the custom section BLANK.
Also, if you had Andrew's version of GA already installed, you'll want to make sure you completely remove any FILES that came with that version and alter back any lines of code that may have been done upon installing that. I believe that version has a number of things you have to do to actual files for installation, and if you do not remove those, you'll find the tracking is off (may not even work).
Just running the uninstall patch for that previous version will not work. You'll need to get the files back to their original settings (before that install).
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
bluey28
oh my what a blond moment lol!
my store got a lot of modules on it and yep i've got the admin permissions' one and i can now see the google analytics in my configuration now :clap:
Yes, that is what it sounded like was going on. Glad you figured it out.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
No. You ONLY want to use the "custom" section if you are looking to add more customized tracking your original code (like tracking page specific actions, domain info, etc...).
If you are not looking to track custom events then you should not use that section at all.
The only thing you need to do is to add your analytics ID to the section in the admin and then if you want to track pay per click conversion (adwords) include your tracking id for that.
So in your case if you are not customizing the code just leave the custom section BLANK.
Also, if you had Andrew's version of GA already installed, you'll want to make sure you completely remove any FILES that came with that version and alter back any lines of code that may have been done upon installing that. I believe that version has a number of things you have to do to actual files for installation, and if you do not remove those, you'll find the tracking is off (may not even work).
Just running the uninstall patch for that previous version will not work. You'll need to get the files back to their original settings (before that install).
Thanks Eric...you're a doll...
I removed the script and now going to remove all of Andrew's file..
Thanks again for a wonderful addon and your help. :yes:
Re: Simple Google Analytics - Support
Hi Eric,
First of all, thanks for your hard work in updating this module!
I'm using version of Zen Cart 1.3.9e. I installed the Simple Analytics Module using your instructions in the readme.txt. file (very easy to follow BTW).
However, I'm getting a caution sign in Analytics with the error "Tracking Unknown." I did a View Page Source of the home page of the site and I could see the tracking code before the </body> tag, but I could not see the code before the </head> tag.
I double checked by looking at the html_header.php file in cPanel and the PHP code is there... but it looks like it is not generating the necessary js code in the final output. Here is the code I put right before the </head> tag in html_header.php:
<?php
if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
}
?>
Do you have any ideas what might be going on here?
The domain is http://www.firstmedicalprodcuts.com
Thanks!
Matt
Re: Simple Google Analytics - Support
Sorry, I spelled the URL wrong. It should be this:
http://www.firstmedicalproducts.com
Re: Simple Google Analytics - Support
Here is an update on what happened.
Earlier I waited several hours before I posted my problem. I had read in previous posts on this thread that sometimes it takes several hours for Google to become aware of the tracking code and for the analyitics account to be 'receiving data.'
As of about 4 hours after I installed the module it was not working. I came back and checked analytics about 8 hours later and viola! It was receiving data.
So, it seems like I was pre-mature in posting my original problem.
Re: Simple Google Analytics - Support
That's great to hear. Thanks for letting us know everything is working.
Re: Simple Google Analytics - support
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,