Re: Simple Google Analytics - Support
Yes, that is correct.
Since the code is placed properly yet is still not showing up on your site make sure you:
1) Check to ensure the tpl_main_page.php is in the proper location for the template you are using.
2) The Smart Backgrounds does not override the footer file in any way with it's own code (which might override this.)
I would suspect it is probably more than likely #1 on this list.
If we can't get it figure out I can get in and take a look for you.
Just let me know.
Re: Simple Google Analytics - Support
Okay. I double check the smartbackground mod and no, there weren't any changes to the footer. My tpl_main_page.php file is located in /includes/templates./residentpress/common/
That's correct, right? My only other change is that I renamed my admin file however I can see the google ananlytics configuration tab in my admin panel. So my "admin" sees the files. Hmmm....
Thanks in advance for you help. Let me know what you think I should do next. Thanks.
Kelly
Re: Simple Google Analytics - Support
Ok on the smart backgrounds.
Renaming the admin won't so anything so you're ok there.
The location of the file would be correct providing that is yoru template directory (which it looks to be.)
Do this. Send me your login info (Admin Zen and FTP) through a private message and I'll take a look.
Should be a very quick fix.
Re: Simple Google Analytics - Support
Hold on a second. I just went to your site and the code is now showing. Whatever you did in the recent changes (or something) seemed to have got it working.
The tracking code now looks to be in place.
To confirm this you can pull up any page on your site and then do a "view source". The code is a the very bottom now.
Re: Simple Google Analytics - Support
Eric,
Thank you for your kind assistance. I've been up to late working on this and after double checking everything I noticed my directory folder was mistyped. I forgot to had the _ in google_analytics. Ugh! Thank you for looking at everything.
Kelly
Re: Simple Google Analytics - Support
I have version 1.2.2 of the Simple GA module installed on my Zen Cart 1.3.8a site. On the "thank you" confirmation page after a customer has placed an order, the page conversion tracking script is being loaded twice, once in the header and once in the footer. The one in the header is being loaded from Google's http server even though the page is SSL encrypted. The one in the footer is being loaded from the https server. Also in the header is the <noscript><img ...> tag that is being pulled from Google's http server. This is causing a security warning (in IE, but not Firefox or Chrome).
I've confirmed that I do not have any entries in my tpl_main_page or html_header files that would be manually loading the page conversion script. I've tried looking through the other template files. Is there one I could have missed?
I know we had an earlier version of this module installed, prior to there being support for the conversion tracking. Perhaps there's a bit of leftover code?
Sorry if this has been addressed previously in this thread. I tried searching through the 117 pages of replies but I could have missed it.
Thanks,
Tim
Re: Simple Google Analytics - Support
For the good of the community:
I was having trouble with this application not displaying the GA code and the </body> tag missing altogether. This only happened after installing the required script in tpl_main_page.php. I double checked my installation, made sure everything was spelled right, in the right place, etc. I added bof and eof tags before and after the php code and found that nothing after the bof comment was appearing - so the script was not running at all. After a few more hours of checking everything, I finally turned on php errors by inserting this code at the top of the file:
ini_set('display_errors',1);
error_reporting(E_ALL);
This revealed the following error:
Call to undefined function phprequire()
I was using notepad++ to make the changes and had copied / pasted the code into the tpl_main_page.php file. To resolve, all I had to do was add a space after "<?php" even though there were carriage returns in between that code and the start of the "require" function. I guess notepad++ didn't translate it properly when I pasted it in. :shocking:
So many hours wasted... Hope I can save someone else the headache.
Thanks for the great tool, Eric!
Jeremy (aka, zen newbie)
Re: Simple Google Analytics - Support
Where did you find these solutions? I just installed that plugin.
Thanks!
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
kblckmr
Eric,
Thank you for your kind assistance. I've been up to late working on this and after double checking everything I noticed my directory folder was mistyped. I forgot to had the _ in google_analytics. Ugh! Thank you for looking at everything.
Kelly
Glad you got it working. :)
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
skypanther
I have version 1.2.2 of the Simple GA module installed on my Zen Cart 1.3.8a site. On the "thank you" confirmation page after a customer has placed an order, the page conversion tracking script is being loaded twice, once in the header and once in the footer. The one in the header is being loaded from Google's http server even though the page is SSL encrypted. The one in the footer is being loaded from the https server. Also in the header is the <noscript><img ...> tag that is being pulled from Google's http server. This is causing a security warning (in IE, but not Firefox or Chrome).
I've confirmed that I do not have any entries in my tpl_main_page or html_header files that would be manually loading the page conversion script. I've tried looking through the other template files. Is there one I could have missed?
I know we had an earlier version of this module installed, prior to there being support for the conversion tracking. Perhaps there's a bit of leftover code?
Sorry if this has been addressed previously in this thread. I tried searching through the 117 pages of replies but I could have missed it.
Thanks,
Tim
It sounds like you have both of the Google Analytics modules installed. Mine only adds tracking to the footer file and has always offered conversion tracking.
This is the support thread for Simple Google Analytics. The other module you have installed (that adds tracking to the header) is called "Google Analytics by Andrew". The "Andrew version" one has more install steps and can be difficult I have been told.
I would recommend going back to the original install steps with that version and making sure you removed any references to the code that were asked to bee added.
If you need more help on it let me know. The best way to ensure you get it though is to remove any code from the header etc.. that the "Andrew" mod told you to add.