Re: Simple Google Analytics - Support
Quote:
Originally Posted by
DMservices
Hi Cuda, afraid im struggling to install simple analytics - am running zen 1.3.7 with MySQL 5.0.27-standard. Added both the files and edited tpl_main_page. then ran the sql script.
No menu option is appearing for me under admin/configuration and i get the following error on homepage:
Warning: require(includes/templates/Dan/index/google_analytics.php) [function.require]: failed to open stream: No such file or directory in /home/dsmeek/public_html/includes/templates/Dan/common/tpl_main_page.php on line 180
Fatal error: require() [function.require]: Failed opening required 'includes/templates/Dan/index/google_analytics.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dsmeek/public_html/includes/templates/Dan/common/tpl_main_page.php on line 180
Any help appreciated and please take into account that my hosts are shocking and could have messed with db etc without me knowing!
thanks very much & sorry if this has already been covered elsewhere - its a big thread!
Dan
Try dumping the google_analytics.php file into the includes/templates/Dan/index/ folder.... why do you have an index folder in your template is it required for another mod?
One more side note if you use Jrox affilate manager they tell you to add a folder to your custom template named "checkout_success" you would also need to add google_analytics.php to that folder for it to function on the checkout success page.
Let us know if that works....
Re: Simple Google Analytics - Support
Hi Cuda,
yes it was for a small mod to 'bookmark us' - have no idea why it was in the index folder though! have removed it and the error message has gone - thanks! However i still have no option in the configuration menu - should this have kicked in from running the sql script? if so could you tell me which table to look for so i can see if it's worked?
thanks again
Re: Simple Google Analytics - Support
Good news! Forgot that i had the 'admin profiles' mod installed and therefore needed to activate any new addition. Ive got the menu now so hopefully it will be all good from here.
cheers,
Dan
Re: Simple Google Analytics - Support
Hi Cuda,
Just a quick question:
When I add new products and categories in my shop, is simple google Analytics going to reference those new addings ?
Best regards,
Saraniel
Re: Simple Google Analytics - Support
Ooops, I just posted this in the other Google Analytics thread and I was reading and saw this is the thread with the active mod so I figured this would be a more appropriate place to ask my question (sorry for double post)...
I just signed up for Google Analytics. My question is: What's the difference between this mod and just directly inserting the google tracking script code into the template/common/html_header.php file?
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
Saraniel
Hi Cuda,
Just a quick question:
When I add new products and categories in my shop, is simple google Analytics going to reference those new addings ?
Best regards,
Saraniel
The code is dynamic and will showup on all your product pages
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
davemehta
Ooops, I just posted this in the other Google Analytics thread and I was reading and saw this is the thread with the active mod so I figured this would be a more appropriate place to ask my question (sorry for double post)...
I just signed up for Google Analytics. My question is: What's the difference between this mod and just directly inserting the google tracking script code into the template/common/html_header.php file?
I posted this reply to you in the other thread as well. Here it is in case you didn't get that one...
There is no difference (the mod makes it easier without the need to "touch code" from within the Admin).
By the way, I would recommend that if you are going to insert the code yourself, then don't insert it into the header file. I would recommend inserting it into the "tpl_main_page.php" found in the "common" folder (includes/templates/[your template]/common ).
That is the better place to put it (and the spot that the Simple Google Analytics inserts it).
I have inserted the Google Analytics code (along with e-com tracking and conversion tracking) on older carts just by pasting into the bottom as indicated here. Again, the mod provided makes it a bit easier. (Why not take the "easy route")?
Re: Simple Google Analytics - Support
Hello I have a question about which file you check in step 2 of the readme. I am using the default template so my structure looks like:
cart/includes/template/template_default
I do not see a file in that template_default directory where they would be a body tag...as described in the readme:
2. Make sure your body tag in includes/templates/[your_template] includes this code (if not see trouble shooting below it is not neccassary but an addition to your template needs to be made):
anyone help point me to the right file to double check I have everything else except that.
Thanks-Khris
PS - I am using 1.37
Re: Simple Google Analytics - Support
Look for this file:
includes/templates/template_default/common/tpl_main_page.php
If one is using a different template then change "template_default" to the name of your template.
That should get you on track.
Rob
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
gottoast
cart/includes/template/template_default
PS - I am using 1.37
1.37 Already has this line in it, so you should be OK. However, as robax said, if you want to look at the file, look in your "common" folder.