I wasn't putting the mod down merely asking the question as some people are finding it difficult.
I wasn't putting the mod down merely asking the question as some people are finding it difficult.
I have 2 quick "newbie" questions. I installed the latest version of "Google Analytics by Andrew" v2.1.1 09.01.2008.
1. my site is located at the root level, but Google Analytics would not recognize it until I put a trailing slash at the end of the URL. i.e. "www.mysite.com/" Is that normal?
2. I inserted the required code line in tpl.main_page.php just above the </body> tag. When I view source on the page I notice that the code is 'commented'.Is that normal? (I deleted the tracking number for this post)Code:<!-- bof Google Analytics tracking --> <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-XXXXXXX-X'); pageTracker._initData(); pageTracker._trackPageview(''); //--> </script> <!-- eof Google Analytics tracking -->
Thanks Andrew for a great easy to use mod.
Hey all,
I ran into theissue when attempting to validate my site.Code:document.write("<script id='__ie_onload' defer='defer'><\/script>");
My question:
Why are there two slashes in the script close tag?This is obviously what is not validating. I'm assuming there is a purpose, but am not familiar with it.Code:<\/script>
Thanks in advance.
The extra slash on the closing tag "<\/script> is a technique for dynamically loading off-page javascript. For an explanation see:
http://www.codehouse.com/javascript/articles/external/
Hello,
We upgraded to the new GA tracking code a couple weeks ago at which time I upgraded the ZC GA module. Since that point our GA tracking results during checkout have dropped to basically 0 results though the purchases continue like normal. (not sure if all tracking on secure pages is the issue.) It appears that tracking all other pages (product pages, etc) is working fine.
Can someone confirm that it looks like our GA is setup properly?
http://www.listenersbible.com/products
And can anyone offer suggestions on what we can do to fix tracking during checkout?
Thanks
Just a question question guys. Does this mod track conversions as well as the anylitics side ?
Or is there a way to add the google conversion code to this mode ?
Thanks
Shane
Hello All
So i have uploaded all the files in the right folder from GoogleAnalytics By Dan. and also put the code that he said on my tpl_mailn_page.php at the very bottom of the page. i set up the google analytics from Google.com and also ut the UA number in my config , but from Google.com its giving me Tracking Not Installed. please help
thanks
I have this problem about Google Analytics report. In the content detail section, I found out that most of my visitors visited these two pages;
I don't know where these pages are but they are empty for sure.
One other thing is my Google Analytics 'Site Overlay' report. It doesn't gives any report on any of my page. All the links show 0% on hits.
What's the problem here and is there any fix for this? I need to customize or maybe remove those two empty pages. All also fix the 'Site Overlay' report.
Any help?
I installed this contribution and have no problems until now. Now I discover that the script produces a mistake when there is a apostrophe in the productname. The mistake appears because the inverted comma close the expected HTML content.
Isn't it possible to remove it, like seo it do.Code:<script type="text/javascript"> <!-- var pageTracker = _gat._getTracker('UA-XXXXXXX-1'); pageTracker._initData(); pageTracker._trackPageview('Daddy's best beer'); //--> </script>