Page 46 of 217 FirstFirst ... 3644454647485696146 ... LastLast
Results 451 to 460 of 2161
  1. #451
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by cgardner View Post
    OKay, got everything up, but maybe the file is in the wrong place? I put it right in the zen cart folder. At the bottom of the page it says:

    Warning: main(includes/templates/template_default/google_analytics/google_analytics.php): failed to open stream: No such file or directory in /home/diginirv/public_html/zen_cart/store/includes/templates/magic/common/tpl_main_page.php on line 181

    Warning: main(includes/templates/template_default/google_analytics/google_analytics.php): failed to open stream: No such file or directory in /home/diginirv/public_html/zen_cart/store/includes/templates/magic/common/tpl_main_page.php on line 181

    Fatal error: main(): Failed opening required 'includes/templates/template_default/google_analytics/google_analytics.php' (include_path='.:/usr/local/lib/php') in /home/diginirv/public_html/zen_cart/store/includes/templates/magic/common/tpl_main_page.php on line 181

    See it at http://diginirvana.com/zen_cart/store

    What have I done wrong? I can't tell what is going on in google analytics since I have been tracking the rest of the website for a while (I added the extra line in zen cart to show that zen cart is a subdirectory of my store).

    This error results from uploading the files to the incorrect locations.

    Be sure to follow the instructions very closely. It should be a 30 second "drag and drop" to get it installed.

    In your case, make sure that you uploaded the "google_analytics" directory (and associated files within it) to the proper location. That should solve your issue.

    It is currently looking for that directory (which contains the files that are "included" on the page to make Analytics work) under your "template_default" location.

    If that is your template (and you are not using a custom template) then it means you did not upload the "google_analytics" directory to the location specified (include/templates/template_default).

    To correct, simply upload that entire directory to "include/templates/template_default" and you should see the error go away.

    So, what it would look like when you are done is

    "includes/templates/template_default/google_analytics"

    If you are using a custom directory template (called "magic") then you should upload the directory to the following location

    /includes/templates/magic/

    So it would look like this when complete.

    /includes/templates/magic/google_analytics


    Viola :)
    Last edited by econcepts; 13 Dec 2007 at 05:49 PM. Reason: added content
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  2. #452
    Join Date
    Sep 2007
    Posts
    46
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Thanks for the help everyone! The message is gone at the bottom, but only because I went back to check on line 181 and that was the lines I copied and pasted from the instructions for Step 2:

    <?php

    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    ?>

    I just deleted it. However, now I have the problem of not having google analytics recognized. My directory has been in the right place, so this is not the problem. Hmmmm. Any other suggestions? Thank you for your help on this!

  3. #453
    Join Date
    Jan 2007
    Posts
    14
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Any chance this is going to be modified for the new Google Analytics code that was released this week? Google claims that using the new (non-urchin) code will allow some kind of better viewing of ecommerce transactions; I have it installed for all my clients except for two that use Zen Cart, and wasn't sure if it would be possible/easy to update the code there. We are using this module currently.

  4. #454
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by cgardner View Post
    Thanks for the help everyone! The message is gone at the bottom, but only because I went back to check on line 181 and that was the lines I copied and pasted from the instructions for Step 2:

    <?php

    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    ?>

    I just deleted it. However, now I have the problem of not having google analytics recognized. My directory has been in the right place, so this is not the problem. Hmmmm. Any other suggestions? Thank you for your help on this!

    Google can't verify the code because by deleting those lines, you just removed the include statement that inserts the tracking code on your pages.

    That line absolutely has to be in there for it to work.

    I guarantee, the original problem you were seeing is due to not uploading all files to the proper locations.

    My suggestion would be to go back and first remove everything you put in place for this mod. Then, reinstall carefully according to the instructions. Your problem was more than likely due to the "google-analytics" directory not being uploaded to the correct location (which contains the file that is "inserted" using the lines you removed).
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  5. #455
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by netmeg View Post
    Any chance this is going to be modified for the new Google Analytics code that was released this week? Google claims that using the new (non-urchin) code will allow some kind of better viewing of ecommerce transactions; I have it installed for all my clients except for two that use Zen Cart, and wasn't sure if it would be possible/easy to update the code there. We are using this module currently.
    Yes, this code WILL in fact be updated to use the newer Google Analytics code just released this week. I am working on that now. :)

    I'll post to the board once ready to go and upload to the forums for download as well.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  6. #456
    Join Date
    Nov 2005
    Posts
    20
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Ok, I have read through this entire thread here and my issue seems to be a new topic. I have installed this mod on a fresh install of zen 1.3.8. I see that the tracking code is being generated in the catalog, however I do not find the admin config settings in the control panel to set my tracking ID. I have uploaded all the files to the correct directory. Not sure why I cannot see this option in the Admin panel.

    It should be under Admin>Config>Google yes?

    Am I missing something?

    Can I add my tracking id manually?

    Thanks
    Rooster

  7. #457
    Join Date
    Nov 2005
    Posts
    20
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Nevermind - I had have the admin profile module setup and I simply needed to turn that feature on.

  8. #458
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by econcepts View Post
    Yes, this code WILL in fact be updated to use the newer Google Analytics code just released this week. I am working on that now. :)

    I'll post to the board once ready to go and upload to the forums for download as well.
    Thanks Eric {BTW} I love your website and the eBooks, so much useful info.

    I just set up a new site today and went to google and noticed the new script. for those who are wondering if it works in 1.3.8 YES it does,

    If you are developing a mailing list for notification of this new mod, would you please include me?

    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

  9. #459
    Join Date
    Nov 2007
    Location
    Dallas, Texas USA
    Posts
    183
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Just jumped in here. Can I assume the new G code and the Simple Google Analytics mod like each other? BTW, Eric, your site won't resolve at this writing. I'll check back. Thanks.

  10. #460
    Join Date
    Nov 2007
    Posts
    31
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I am having problems setting this up on my site. I am running the newest version of Zen Cart. I have done the following.

    Created a Google Analytics account.

    I download the google analytic mod. I checked the code in the file, /public_html/includes/templates/silverfish/common/tpl_main_page.php

    Made sure that the body ID showed
    <body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>

    Then added :

    <?php

    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');

    ?>

    Just before the </body>

    Updated the .sql file for non-upgrate.

    Changed the account # in the admin config

    Uploaded the files included with the mod into my file structure.

    Now, when I access Google Analytics, I get tracking code not detected.
    I have my Analytics set for http://www.pinwest.net and the default page, index.php.

    Any ideas ???

    Thanks,

    David...

 

 

Similar Threads

  1. v150 Simple Google Analytics .sql error !
    By Miff in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 10 Feb 2012, 11:33 PM
  2. Simple Google Analytics-not working
    By RobertG in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 11 Nov 2010, 06:07 PM
  3. Simple (From Google) Analytics Install
    By DagLindt in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 May 2009, 10:46 PM
  4. Simple google analytics- help
    By Pet Herbal Remedies in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 1 Oct 2008, 10:37 PM
  5. Simple Google Analytics not working
    By jvanree in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 29 May 2008, 03:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR