Zen Cart Logo
Forums / All Other Contributions/Addons / Simple Google Analytics - Support

Simple Google Analytics - Support

Views: 451,119

Results 381 to 400 of 2,165
1 Nov 2007, 3:11 AM
#381
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Simple Google Analytics - Support

motti:

econcept, why you don’t answer my Emails?

I bought your e-book and it create lots of problem in my web sites?

You should keep some kind of customer support for your product.
For start send me new zip file of the program, as the one I got missing icons, and maybe most likely some files

Motti,

Which e-book are you speaking of? The only e-book I have for purchase is the Google Analytics one, and that shouldn't affect your site at all unless you did not install Google Analytics correctly the first time around?

If you're speaking of the Template Pack I have (it's not an e-book, but the actual template files) for implementing the 20 Ways, then all the files that you need are included in the zip you have. If you are missing anything, or having problems, then it means you installed the contribution incorrectly. That contribution is used on over 50 different sites that I know of without any problems. If the instructions and the 20 Ways book are looked at closely, it works just fine.

Full support for that product is provided at my blog. It would be better to post your questions on it there to benefit all current users of the product.

In addition, you will find answers to many of your questions in both the readme file that came with the pack, in the free 20 Ways e-book itself, and at my blog.

This thread is for the support of the Simple Google Analytics contribution.

Thanks!

1 Nov 2007, 3:30 AM
#382
motti avatar

motti

Zen Follower

Join Date:
Feb 2007
Location:
Los Angeles
Posts:
348
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Yes I am talking abut the 20 ways template, and yes I know this is not the place to get support for it, but I did try to contact you ( 5 emails 2 days). You should contact me back as you did in the past and give me this link for your blog.
That was not the first mod I bought from you, and most likely not the last. But you got to keep the minimum of support for your stuff

I still need fresh zip file, and yes I am missing icons and almost sure some files too

Thank you

1 Nov 2007, 3:37 AM
#383
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

motti:

Yes I am talking abut the 20 ways template, and yes I know this is not the place to get support for it, but I did try to contact you ( 5 emails 2 days). You should contact me back as you did in the past and give me this link for your blog.
That was not the first mod I bought from you, and most likely not the last. But you got to keep the minimum of support for your stuff

I still need fresh zip file, and yes I am missing icons and almost sure some files too

Thank you

Motti,

The link to the support blog is not only in my signature here (and always has been), but is plainly included in the emails you received to download the templates as well as in every ebook I write. If you aren't getting emails, then I would check your bulk mail folder etc.. to make sure you are not missing them. I can assure you, they go out.

It would be best to direct those questions in that blog. I support all my products. Always have. Search the forums and you'll plainly see that. :)

Actually, I don't sell a lot of mods (only 1 to be exact), and it looks like from my records, that is the only mod you purchased. Please direct your questions on that to the proper location to benefit all users of it.

I'd rather not confuse this forum thread with that product. Thanks!

7 Nov 2007, 9:05 PM
#384
rhutchison avatar

rhutchison

New Zenner

Join Date:
Mar 2007
Posts:
21
Plugin Contributions:
0

Re: Simple Google Analytics - Support

My checkout success page is throwing out the following error in the footer:

Warning: main(includes/templates/patiotoys/checkout_success//google_analytics.php) [function.main]: failed to open stream: No such file or directory in /home/rhutchis/public_html/includes/templates/patiotoys/common/tpl_main_page.php on line 201

Warning: main(includes/templates/patiotoys/checkout_success//google_analytics.php) [function.main]: failed to open stream: No such file or directory in /home/rhutchis/public_html/includes/templates/patiotoys/common/tpl_main_page.php on line 201

Warning: main(includes/templates/patiotoys/checkout_success//google_analytics.php) [function.main]: failed to open stream: No such file or directory in /home/rhutchis/public_html/includes/templates/patiotoys/common/tpl_main_page.php on line 201

Fatal error: main() [function.require]: Failed opening required 'includes/templates/patiotoys/checkout_success//google_analytics.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rhutchis/public_html/includes/templates/patiotoys/common/tpl_main_page.php on line 201I have gone back through the installation notes and, as near as I can tell, I have everything configured correctly. I'm collecting data in Analytics, I'm just having this problem with checkout_success

I'm running ZC 1.3.7 and the body tag for tpl_main_page is:

<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>The included code at the bottom of tpl_main_page is:
<?php require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php'); ?>The error tells me that this last bit of code is not picking up the fact that's it needs to look in the templates/patiotoys/google_analytics directory for the file.

I have an override directory with templates/patiotoys/checkout_success/tpl_footer.php that I need for my JAM affiliate software, which is likely the culprit.

One solution would be to copy the google_analytics.php file to a directory that the code at the end of tpl_main_page is looking in, but that seems a bit kludgey. Is there an elegant code solution for this?

Thanks,

Roger

7 Nov 2007, 10:12 PM
#385
retrobec avatar

retrobec

New Zenner

Join Date:
Aug 2007
Location:
Boiling Springs, South Carolina
Posts:
43
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hi, I'm trying to install the Simple Google Analytics right now. I've gotten through all the steps up until the install of the SQL patch. I'm in the Admin SQL Query Executer and am not sure how to actually do it. It wouldn't let me just upload the file you provided, so do I copy and paste the whole SQL document into the query frame, then hit send? I'm afraid to mess something up. I would really appreciate some further instructions.
Thanks!
-Becky

7 Nov 2007, 11:03 PM
#386
rhutchison avatar

rhutchison

New Zenner

Join Date:
Mar 2007
Posts:
21
Plugin Contributions:
0

Re: Simple Google Analytics - Support

retrobec:

Hi, I'm trying to install the Simple Google Analytics right now. I've gotten through all the steps up until the install of the SQL patch. I'm in the Admin SQL Query Executer and am not sure how to actually do it. It wouldn't let me just upload the file you provided, so do I copy and paste the whole SQL document into the query frame, then hit send? I'm afraid to mess something up. I would really appreciate some further instructions.
Thanks!
-Becky

Yes Becky, just copy/paste from the text file (.sql) into the window in the SQL Query Executor and hit send.

That's standard procedure for doing any Zen database structure updates. The "upload" feature is unreliable.

-Roger

8 Nov 2007, 10:12 AM
#387
ces avatar

ces

Zen Follower

Join Date:
Nov 2004
Location:
West Mids, England
Posts:
199
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Don't forget to take a backup of your database first, just in case :-0

Craig

8 Nov 2007, 2:42 PM
#388
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

rhutchison:

My checkout success page is throwing out the following error in the footer:

I have gone back through the installation notes and, as near as I can tell, I have everything configured correctly. I'm collecting data in Analytics, I'm just having this problem with checkout_success

I'm running ZC 1.3.7 and the body tag for tpl_main_page is:

The included code at the bottom of tpl_main_page is:

The error tells me that this last bit of code is not picking up the fact that's it needs to look in the templates/patiotoys/google_analytics directory for the file.

I have an override directory with templates/patiotoys/checkout_success/tpl_footer.php that I need for my JAM affiliate software, which is likely the culprit.

One solution would be to copy the google_analytics.php file to a directory that the code at the end of tpl_main_page is looking in, but that seems a bit kludgey. Is there an elegant code solution for this?

Thanks,

Roger

Roger,

The footer file should be in the "common" folder as standard zen procedure. It is shared across all pages.

If you need affiliate link tracking only on the checkout_success page (near the footer), then try the following:

  1. Copy the line(s) of code you need for the tracking and paste it into the tpl_main_page.php file just above the Google Analytics code. use the following as a guide:
<?php if ($_GET['main_page']=="checkout_success") { ?> <!--Paste your affiliate code between these comments--> <!-- End of Affiliate Code --> <?php }?>

Keep in mind you will need to delete the "tpl_footer.php" file that you included under the "checkout_success" directory as well.

You'll also want to make sure the affiliate link is secure (https:) as the checkout success page is often secure so you wouldn't want to the ssl message box to pop up from the client browser.

Hope that helps.

10 Nov 2007, 4:03 AM
#389
hd2o avatar

hd2o

New Zenner

Join Date:
Oct 2007
Location:
las vegas
Posts:
18
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I have read the thread and posts that address this issue, but can't get past it. Using Zen 1.3.7 Site is: http://hd2o.tv

Instructions followed, tpl_main_page.php code was added.
I get at the bottom on the main page:

Warning: main(includes/templates/template_default/google_analytics/google_analytics.php) [function.main]: failed to open stream: No such file or directory in /home/slecrc/public_html/includes/templates/CUSTOM/common/tpl_main_page.php on line 180

Warning: main(includes/templates/template_default/google_analytics/google_analytics.php) [function.main]: failed to open stream: No such file or directory in /home/slecrc/public_html/includes/templates/CUSTOM/common/tpl_main_page.php on line 180

Warning: main(includes/templates/template_default/google_analytics/google_analytics.php) [function.main]: failed to open stream: No such file or directory in /home/slecrc/public_html/includes/templates/CUSTOM/common/tpl_main_page.php on line 180

Fatal error: main() [function.require]: Failed opening required 'includes/templates/template_default/google_analytics/google_analytics.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/share/pear/') in /home/slecrc/public_html/includes/templates/CUSTOM/common/tpl_main_page.php on line 180

Line 180 must be the added code?
Also, google tells me it is not active - confirming the errors. "Tracking Not Installed"
Any help is greatly appreciated beyond the genius of writing the code!
Regards,
Paul

10 Nov 2007, 5:09 AM
#390
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

hd2o:

I have read the thread and posts that address this issue, but can't get past it. Using Zen 1.3.7 Site is: http://hd2o.tv

Instructions followed, tpl_main_page.php code was added.
I get at the bottom on the main page:

Warning: main(includes/templates/template_default/google_analytics/google_analytics.php) [function.main]: failed to open stream: No such file or directory in /home/slecrc/public_html/includes/templates/CUSTOM/common/tpl_main_page.php on line 180

Warning: main(includes/templates/template_default/google_analytics/google_analytics.php) [function.main]: failed to open stream: No such file or directory in /home/slecrc/public_html/includes/templates/CUSTOM/common/tpl_main_page.php on line 180

Warning: main(includes/templates/template_default/google_analytics/google_analytics.php) [function.main]: failed to open stream: No such file or directory in /home/slecrc/public_html/includes/templates/CUSTOM/common/tpl_main_page.php on line 180

Fatal error: main() [function.require]: Failed opening required 'includes/templates/template_default/google_analytics/google_analytics.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/share/pear/') in /home/slecrc/public_html/includes/templates/CUSTOM/common/tpl_main_page.php on line 180

Line 180 must be the added code?
Also, google tells me it is not active - confirming the errors. "Tracking Not Installed"
Any help is greatly appreciated beyond the genius of writing the code!
Regards,
Paul

Are you using a custom template or not? In one error, it references the "template_default" directory, and in the other, it references a "CUSTOM" directory.

If you are using a custom directory, then make sure you put ALL overrides in folders associated with that custom template. So, for example, if you are using a custom template and that directory is called "CUSTOM" (as stated in your error message) then the Google Code needs to be installed in the /includes/templates/CUSTOM/common/tpl_main_page.php file. (Not in the one located within the "template_default" directory.)

Likewise, the directory "google_analytics" should be uploaded to /includes/templates/CUSTOM/google_analytics (NOT /includes/templates/template_default/google_analytics).

Google is unable to verify the code because there is no tracking code present due to the incorrect placement of the files on your end. Once you get them in the correct locations as indicated here, it should all be fine.

You'll need to have Google go back out and check the location of the tracking code to verify it once you have everything in place.

10 Nov 2007, 5:37 AM
#391
hd2o avatar

hd2o

New Zenner

Join Date:
Oct 2007
Location:
las vegas
Posts:
18
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I am using a custom temp.
I'll hack it and let you know.
thank you tons
paul

10 Nov 2007, 6:12 AM
#392
hd2o avatar

hd2o

New Zenner

Join Date:
Oct 2007
Location:
las vegas
Posts:
18
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

Are you using a custom template or not? In one error, it references the "template_default" directory, and in the other, it references a "CUSTOM" directory.

If you are using a custom directory, then make sure you put ALL overrides in folders associated with that custom template. So, for example, if you are using a custom template and that directory is called "CUSTOM" (as stated in your error message) then the Google Code needs to be installed in the /includes/templates/CUSTOM/common/tpl_main_page.php file. (Not in the one located within the "template_default" directory.)

Likewise, the directory "google_analytics" should be uploaded to /includes/templates/CUSTOM/google_analytics (NOT /includes/templates/template_default/google_analytics).

I thought the directory was it - Moved 'Simple_Google_Analytics' into CUSTOM directory, but no. I've reset the file from backup so it's not an error. Tomorrow I'll try looking at it again.
regards,

10 Nov 2007, 7:07 PM
#393
lizh avatar

lizh

New Zenner

Join Date:
Nov 2007
Posts:
3
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Can someone tell me how to UNINSTALL this mod?
thanks
Liz

11 Nov 2007, 1:32 PM
#395
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

hd2o:

I thought the directory was it - Moved 'Simple_Google_Analytics' into CUSTOM directory, but no. I've reset the file from backup so it's not an error. Tomorrow I'll try looking at it again.
regards,

Just a quick FYI. There is no directory called "Simple_Google_Analytics" in the install. Not sure where that came from, but it shouldn't exist on your end.

My recommendation would be to go back and start over from the beginning. I am pretty sure it is an issue with the files not being copied to the correct directory. Again, it looks like you have copied them to 2 different directories (1 being the custom and the other being the "default').

That would definitely cause problems as the overrides system in Zen would not be able to find the files needed to make it all work.

12 Nov 2007, 10:11 PM
#396
hd2o avatar

hd2o

New Zenner

Join Date:
Oct 2007
Location:
las vegas
Posts:
18
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hi Eric, I appreciate your time.
When I unzipped the download, everything was in a directory called "Simple_Google_Analytics". I moved that entire folder to the server. What you're saying is that folder should not exist, and the interal files should be in: templates/CUSTOM but 'without' the outside directory? (I'll also scan for duplicates in template_default)
If true, I will have: templates/CUSTOM/admin (folder) along with the other contents GPL.txt and includes (folder), the 2 .sql patches, and readme_instructions.txt? I'd be dumping the outermost directory.
I added the code to temp_default/common/tpl_mail_page.php to test that file's effect. It has been removed.
20 Ways to Increase Sales is awesome! The Analytics workbook is certainly next.
Paul

13 Nov 2007, 3:14 AM
#397
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

hd2o:

Hi Eric, I appreciate your time.
When I unzipped the download, everything was in a directory called "Simple_Google_Analytics". I moved that entire folder to the server. What you're saying is that folder should not exist, and the interal files should be in: templates/CUSTOM but 'without' the outside directory? (I'll also scan for duplicates in template_default)
If true, I will have: templates/CUSTOM/admin (folder) along with the other contents GPL.txt and includes (folder), the 2 .sql patches, and readme_instructions.txt? I'd be dumping the outermost directory.
I added the code to temp_default/common/tpl_mail_page.php to test that file's effect. It has been removed.
20 Ways to Increase Sales is awesome! The Analytics workbook is certainly next.
Paul

Paul,

You are correct, the "Simple_Google_Analytics" directory that comes with the unzipped package should NOT be uploaded as is to your store. That is just the "holding directory" for all the files.

You want to unzip that, then open up the "includes" folder included in the contribution. Rename any directory that says "your_template" to "CUSTOM" (as this is what you said is the name of your personal custom template directory) then upload the entire contents of both the admin and the includes AS IS (just upload and go) to your store.

Run the SQL patch and presto. All set. It should state that in the readme as well in case you need a refresher.

Make sure you upload both the admin and the includes directory to your ROOT folder and AS IS (don't try to move admin under a "custom" directory ... that won't work as the Admin section of Zen Cart does not yet provide the ability to over ride files as does the catalog side.

Hope that helps.

14 Nov 2007, 5:23 AM
#398
hd2o avatar

hd2o

New Zenner

Join Date:
Oct 2007
Location:
las vegas
Posts:
18
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Eric,
Still one more set of questions for you. (Got the your_template changed to CUSTOM) The ROOT is 'public_html'? or is ROOT outside of that? Inside 'public_html' is a directory called 'includes' - the Zen Cart stuff. The zen admin folders are in 'public_html' because my store is the sites main page, but admin was renamed for security, so no problem with admin. ?How do I avoid 2 'includes' directories in 'public_html'? Can admin and includes reside outside 'public_html'?
Paul

14 Nov 2007, 3:49 PM
#399
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

hd2o:

Eric,
Still one more set of questions for you. (Got the your_template changed to CUSTOM) The ROOT is 'public_html'? or is ROOT outside of that? Inside 'public_html' is a directory called 'includes' - the Zen Cart stuff. The zen admin folders are in 'public_html' because my store is the sites main page, but admin was renamed for security, so no problem with admin. ?How do I avoid 2 'includes' directories in 'public_html'? Can admin and includes reside outside 'public_html'?
Paul

That depends on your server setup, but chances are, if you have a "public_html" directory, that would be considered the root of your site.

You should not have 2 "includes" in the same folder anyhow. If you tried to do that, the files from the "includes" folder you were uploading would by default fall into the already present "includes" folder. That is the nature of servers setups.

Hope that helps.

15 Nov 2007, 4:31 AM
#400
hd2o avatar

hd2o

New Zenner

Join Date:
Oct 2007
Location:
las vegas
Posts:
18
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Thanks Eric,
I think that kills the use of analytics for now. I didn't think it through when setting up the zen cart. It should be in a directory and not on the root. I'm grateful for all your time on this.
Regards,
Paul