Page 41 of 217 FirstFirst ... 3139404142435191141 ... LastLast
Results 401 to 410 of 2161
  1. #401
    Join Date
    Sep 2007
    Posts
    215
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support - new installation

    I've installed this and even pasted in an extra javascript into the main page header. I can see the script when I look at the source. But why doesn't google pick this up? http://www.fine-wine-shop.com

    Thx - any help much appreciated.

  2. #402
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Simple Google Analytics - Support - new installation

    Quote Originally Posted by enquirer66 View Post
    I've installed this and even pasted in an extra javascript into the main page header. I can see the script when I look at the source. But why doesn't google pick this up? http://www.fine-wine-shop.com

    Thx - any help much appreciated.
    You've got the code actually showing two times in your footer (it should only show one time). I do not see it in the header anywhere. There should be no need to paste any extra javascript into the header to use this module. It does that for you using overrides. Just install and go.

    When you say Google does not pick it up, what exactly are you referring to? Is it still saying "not verified" as in it can't verify the code exists? There are many things that can cause that all relating to how and where you tell Google (form within your Google account) to search for the code. Google can be very picky at times with trailing slashes for example in urls.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  3. #403
    Join Date
    Jul 2006
    Posts
    50
    Plugin Contributions
    2

    Default Re: Simple Google Analytics - Support

    I found this post because I was having the same problem with the quick order page and I know what is happening. Look below for my solution.

    Quote Originally Posted by econcepts View Post
    The error you are getting means you are missing a file (or have placed it in the wrong location). That is what the "no such file or directory" part means.

    As far as your exact error:

    Check the two parts I have listed in red.

    1) You have a double slash in the include portion. You should only have one slash

    2) If you are not using the classic template for your web store, then that would explain why it says "no such file or directory". The link in red points to the classic folder.

    If you use a custom folder, you'll want to make sure you installed the analytics include there.

    Once you get the include portion into the correct "tpl_main_page.php", it should solve the rest of your errors. They all stem from the same thing.

    My advice would be to go back and make sure you uploaded the files to the correct locations.
    Quote Originally Posted by mbheald View Post
    I am creating an order form (using Quick Order Module) for Firehouse Subs Restaurants to order all of their hot sauces on our approved list. however, I have already used this module to create an quick order form for all of our customers to use. I modified the filenames, extra datafiles, language files, template files, and header.php from "quick_order" to "fhs_quick_order" and QUICK_ORDER to "FHS_QUICK_ORDER" in their respective places and the module will work and add items to the cart. however I am receiving some errors at the bottom of the page that I cannot figure out.

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

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

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

    The file is not placed in the wrong area. It is in template_default/google_analytics/ folder, and with the override system of ZC it doesn't need to be copied to any other template unless you want to make changes to the code in the file.

    The problem is with the installation instructions where it states to put in this line in the tpl_main_page.php page

    Code:
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    the problem is in the use of just ".php" it needs to be changed to 'google_analytics.php' to work properly on the quick order form. I figured this out by searching for the get_template_dir function and found other places where it was used and did use (always used) the full name of the file needed.

    the way that the get_template_dir works is that it looks to see if the file exists in this order
    1)current_template/currentpage/ folder
    2)template_default/currentpage/ folder
    3)current_template/$template_dir(google_analytics)/ folder
    4)if nothing else matches then return template_default/$template_dir(google_analytics)

    with the instructions the way they currently are in the analytics contributions, the get_template_dir will return true at number 2 and returns template_default/quick_order/ because file_exists says that the folder is valid since an improper filename was given and just checks the directory, which then falls back to the tpl_main_page and gets concat'd with "google_analytics.php" which isn't found.

    So change ".php" to 'google_analytics.php' for it to work properly all the time.

    Hope this helps.

  4. #404
    Join Date
    Aug 2006
    Location
    London
    Posts
    53
    Plugin Contributions
    0

    Idea or Suggestion Re: Simple Google Analytics - Support

    Quote Originally Posted by econcepts View Post
    For the record and in case anyone else experiences this problem (spoke about a few posts ago with Barricades)



    Here is the solution. I spoke via PM with barricades and it turned out that the addition of a contribution that allowed various Admin access controls was the culprit.

    Nothing was wrong with that contribution at all, the "access" to that newly installed module (Simple Google Analytics) had to be "allowed" for the user in order to get it to show in the Admin drop down box.

    Here is the exact reply form barricades in case anyone else needs it:



    Hope this post helps others out that may run across this.
    ALL

    Thanks, that's what it was for me too. Great mod. All the best.

    N
    Last edited by beatnik; 22 Nov 2007 at 12:01 PM. Reason: Add link

  5. #405
    Join Date
    Aug 2007
    Posts
    114
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Wow Im pulling my hair out....

    Installed the latest Simple Google analytics mod from the downloads page..

    Im running 1.3.7. All installed ok, works fine in admin... code shows on pages if i view source.

    The code shows up on my hompage with the correct user number thing... not xxx

    its just before the </body> tag.

    I have the url in my google to http://www.domain.co.uk/ (with the final trailing slash)

    When i try to check the code is installed from google i get :

    The Google Analytics tracking code has not been detected on your website's home page.

    Was there ever an answer to this??? Can anyone help?

  6. #406
    Join Date
    Aug 2007
    Posts
    114
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Bump... anyone?

  7. #407
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by phil99 View Post
    Bump... anyone?
    Phil,

    Check your PM. I just sent you a private message in response to yours that may help. In most of these cases the inability of Google to verify or not verify code usually (but not always) falls on the url you are asking Google to verify it at (if the tracking code is in place ... which yours looks to be.)
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  8. #408
    Join Date
    Aug 2007
    Posts
    114
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Hi there, just to help anyone else that has this...

    Its been 23 hours now since i set this up, and I have set it up correctly... everything is done correctly... url is correct with trailing /, code is correct etc etc.

    My analytics reports are showing results now... even though google say they cant detect the code so I am assuming its just a problem with google.

    Thanks for your help guys... Im gonna try to install the yahoo search ppc tracking now!

  9. #409
    Join Date
    Nov 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I have the same problem...did you change anything?

    Steve

  10. #410
    Join Date
    Aug 2007
    Posts
    114
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Hi there no... even now after 48 hours google say they cant detect the code... but the analytics is working nicely....


 

 

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