Re: Simple Google Analytics - Support
The instructions say to put the code before the </body> tag.
At the bottom of /includes/templates/[your_template]/common/tpl_main_page.php
Copy and paste the following lines of code (found below) just before the </body> tag:
This was the case a few years ago but these are the current instructions.
Copy the following code, then paste it onto every page you want to track immediately before the closing </head> tag.
I've installed per the instructions but wondered about the discrepancy.
Thanks
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
2Geckos
The instructions say to put the code before the </body> tag.
At the bottom of /includes/templates/[your_template]/common/tpl_main_page.php
Copy and paste the following lines of code (found below) just before the </body> tag:
This was the case a few years ago but these are the current instructions.
Copy the following code, then paste it onto every page you want to track immediately before the closing </head> tag.
I've installed per the instructions but wondered about the discrepancy.
Thanks
If you look a few posts back you will see that it's been acknowledged that the instructions in the currently available version has a few issues/discrenpancies.. you may ignore the erroneous instructions.. The only "every page" you want to copy the code into is the "/includes/templates/[your_template]/common/tpl_main_page.php".
Re: Simple Google Analytics - Support
Ran into a major problem with my install (installed 1.2.5.c on 1.5), it's not receiving tracking and my website won't load now. I get a blank page, favicon and title load, but nothing else. WTF
I have to agree though, I've never had a problem installing any modules and the writeup on this could be a lot better.
I uploaded all the correct files, renamed all the directories to match my admin and template. CHECK. At the bottom of tpl_main_page, before the closing body tag, I added the code. CHECK. Ran the SQL Install code, no errors, said everything went fine. I see the option now in my config. This is where I get confused though-what is this mention about a 'ga.js' file? This is directly after the SQL step. I looked and I don't even have that file in question and the only file in my checkout success folder is a header file, so what is this about?
So I pretty much did everything correctly and now my site is down. What do i do???
Re: Simple Google Analytics - Support
This sounds like an issue with something else on your site that is affecting the order process or the order confirmation page. The module should not have this type of effect at all.
Re: Simple Google Analytics - Support
Follow the old instructions. They are the correct ones.
This module was updated recently by another zenner, and during that transition, the instructions were re-written. I am in the process of releasing an new version with added updates and will be reverting the instructions to a more clear set as well.
Do not post the code to every page on the site. That is incorrect.
Re: Simple Google Analytics - Support
A blank page means you have an error in your PHP somewhere. Typically this is caused when trying to insert any of the lines needed to run the module and on in removes or replaces code by accident. The new instructions are very unclear and are being re-written in my next release to go back to the previous way.
For the time being, I would revert your changes to the previous files, then start again following the instructions in the old version (just before the 1.5 upgrade version was uploaded.) You will need to register the pages with the 1.5 admin, but the instructions on what you need to do are more clear with the older install.
Let me know if that helps.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
A blank page means you have an error in your PHP somewhere. Typically this is caused when trying to insert any of the lines needed to run the module and on in removes or replaces code by accident. The new instructions are very unclear and are being re-written in my next release to go back to the previous way.
For the time being, I would revert your changes to the previous files, then start again following the instructions in the old version (just before the 1.5 upgrade version was uploaded.) You will need to register the pages with the 1.5 admin, but the instructions on what you need to do are more clear with the older install.
Let me know if that helps.
Sorry, a little confused. How can I get the older version, and what version is that one? I ended up getting my site to show up again though but I had to delete all of the files that got uploaded. I made sure that when copied the code into my body that I didn't copy over any existing code. Is that ga.js file supposed to be in my checkout success folder? Why wouldn't it be? I haven't even touched any of those files.
Re: Simple Google Analytics - Support
Yes, I saw that (went to your site via the PM you sent me.)
The install should be actually very easy (but with the current instructions is seems to be more difficult.)
I would recommend installing the version 1.2.5 -- no 'b' / 'c' version. (look lower in the downloads area of the zen cart section).
This one is identical to the others but it has easier to understand instructions. The only things you will need to be aware of (if running 1.5) is that you will still need to register the pages in the admin (not included in the instructions for 1.2.5 as that was not available during the initial writing.)
OR, you can use my newest version here (I have yet to upload) which covers it all plus some new items.
There should be nothing in the way of ga.js anywhere in your download. My packages do not contain that at all. The code is automatically generated for you so no worries on that. Just upload a few files (2 or so) add one line of code to the tpl_main_page.php file, and your all set.
It you still have issues or want me to help you with it, just let me know (PM me again.)
Again, very quick install (prior to the 1.5 upgrade version that went into place I was told it was one of the easiest and pain free installs. )
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
Yes, I saw that (went to your site via the PM you sent me.)
The install should be actually very easy (but with the current instructions is seems to be more difficult.)
I would recommend installing the version 1.2.5 -- no 'b' / 'c' version. (look lower in the downloads area of the zen cart section).
This one is identical to the others but it has easier to understand instructions. The only things you will need to be aware of (if running 1.5) is that you will still need to register the pages in the admin (not included in the instructions for 1.2.5 as that was not available during the initial writing.)
OR, you can use my newest version here (I have yet to upload) which covers it all plus some new items.
There should be nothing in the way of ga.js anywhere in your download. My packages do not contain that at all. The code is automatically generated for you so no worries on that. Just upload a few files (2 or so) add one line of code to the tpl_main_page.php file, and your all set.
It you still have issues or want me to help you with it, just let me know (PM me again.)
Again, very quick install (prior to the 1.5 upgrade version that went into place I was told it was one of the easiest and pain free installs. )
Link to new version???
Re: Simple Google Analytics - Support
Ok so I went through the older versions install and copied everything over, ran the SQL but I dont see the Analytics option under my config menu in the admin. I saw some earlier posts in this thread about registering it in the admin but when I go to myPHPadmin and run the query I don't get anything back, it says it can't find it something. Is it a problem if I run the SQL install commands more than once? It doesn't seem to be putting that info in..so I'm kind of stuck...