Page 1 of 2 12 LastLast
Results 1 to 10 of 2161

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Posts
    1
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Hi,

    My version of Zen Cart (quite old due for upgrade) is V 1.3.8a.

    I installed Simple Google Analytics in an attempt to get google Ecommerce working.

    The install seemed to go OK, however when I did a test order, using "test bean bag" found in "pet bean bag" directory.

    The checkout_succes page didn't load completely, it loaded the background and nothing else.

    After reading online I downloaded and installed the ZenCart debug utility and it began outputting messages like the one below....


    a[08-Feb-2011 04:26:03] PHP Warning: require(includes/templates/orange/google_analyticsgoogle_analytics.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/stylish/public_html/includes/templates/orange/common/html_header.php on line 131
    [08-Feb-2011 04:26:03] PHP Warning: require(includes/templates/orange/google_analyticsgoogle_analytics.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/stylish/public_html/includes/templates/orange/common/html_header.php on line 131
    [08-Feb-2011 04:26:03] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/orange/google_analyticsgoogle_analytics.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/stylish/public_html/includes/templates/orange/common/html_header.php on line 131
    Basically whats happening is that the html_header file cannot find the google_analytics.php file. After changing things around a bit and copying the google_analytics file into 3 different places namely

    my_template/checkout_success/google_analytics/
    my_template/checkout_success/
    my_template/google_analytics/

    There is no more output from the debug utility.

    However being the sceptic that I am, I'd like to ask... Even though all seems well, will the actual google analytics have survived the copying and pasting of files into different places in order to overcome the error, I'm thinking not?

  2. #2
    Join Date
    Feb 2010
    Posts
    18
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Hi,

    I appear to be having the same issues as Jim

    I have configuered everything in admin but still getting this error at analytics:

    Profile Name: www.themakeupartistboutique.com
    Website URL: http://www.themakeupartistboutique.com
    Web Property ID [?] : UA-21172541-1
    Tracking Status: Warning Tracking Not Installed (Last checked: 08-Feb-2011 06:19:49 )
    The Google Analytics tracking code has not been detected on your website's homepage. For Analytics to function, you or your web administrator must add the code to each page of your website.

    Any idea?

    Many thanks

    Emma

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by bubbas454 View Post
    Hi,

    I appear to be having the same issues as Jim

    I have configuered everything in admin but still getting this error at analytics:

    Profile Name: www.themakeupartistboutique.com
    Website URL: http://www.themakeupartistboutique.com
    Web Property ID [?] : UA-21172541-1
    Tracking Status: Warning Tracking Not Installed (Last checked: 08-Feb-2011 06:19:49 )
    The Google Analytics tracking code has not been detected on your website's homepage. For Analytics to function, you or your web administrator must add the code to each page of your website.

    Any idea?

    Many thanks

    Emma
    Check my reply to him. It sounds like it might be the same thing. Try adding the slash and recheck. Let me know if that works. (This is done within your Google Analytics account in the "Edit Profile" section for the site in question.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  4. #4
    Join Date
    Feb 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by econcepts View Post
    Check my reply to him. It sounds like it might be the same thing. Try adding the slash and recheck. Let me know if that works. (This is done within your Google Analytics account in the "Edit Profile" section for the site in question.
    I have the same problem..
    I have tried the trailing slash as well..

    Any ideas..

    When I look at the source there is gaps in the lines..
    <script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-21272482-1']);

    _gaq.push(['_trackPageview']);

    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
    </script>

  5. #5
    Join Date
    Feb 2010
    Posts
    18
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by econcepts View Post
    Check my reply to him. It sounds like it might be the same thing. Try adding the slash and recheck. Let me know if that works. (This is done within your Google Analytics account in the "Edit Profile" section for the site in question.

    Yep tried it no idea what to try next or what I am actually doing wrong

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by bubbas454 View Post
    Yep tried it no idea what to try next or what I am actually doing wrong
    @rorock and @bubbas454,

    Keep trying. The code looks right. Check Jim's reply in post #1429

    http://www.zen-cart.com/forum/showpo...postcount=1429

    He had the same issue and simply 'kept re-verifying'. Google eventually 'found it'.

    Let me know if you have similar experiences.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  7. #7
    Join Date
    Dec 2006
    Location
    Augusta, GA
    Posts
    72
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    OK. I have two sites using Simple Google Analytics:

    scubadorag.com and supernutrient.com

    They are both using Zen 1.3.9h. They are almost identical on the back end. I have separate Google Analytics accounts tracking both. One is giving me results in the eCommerce area (scubadorag.com) and one isn't (supernutrient.com). I can't see anything that is different between the two and I'm about to lose my mind.

    I'm hoping that another set of eyes notices anything obvious that I've done to screw up.

    Thank you!

  8. #8

    Default Re: Simple Google Analytics - Support

    Ever since I installed the Jrox footer file in its own "CheckoutSuccess" folder (per Jrox instructions), Google analytics doesn't report any of my sales. I have Simple Google Analytics v. 1.2.2 installed. Any ideas what I can do to fix this? (I posted this several days ago, but in the wrong forum--so this is a re-post)

  9. #9
    Join Date
    Dec 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by hermes369 View Post
    OK. I have two sites using Simple Google Analytics:

    scubadorag.com and supernutrient.com

    They are both using Zen 1.3.9h. They are almost identical on the back end. I have separate Google Analytics accounts tracking both. One is giving me results in the eCommerce area (scubadorag.com) and one isn't (supernutrient.com). I can't see anything that is different between the two and I'm about to lose my mind.

    I'm hoping that another set of eyes notices anything obvious that I've done to screw up.

    Thank you!
    The main problem I see in the source code of the two sites is (scubadorag.com) has the GA code in the right spot before the </head> tag. The (supernutrient.com) site has the GA code after the beginning of the <body> tag. The GA code needs to be before the </head> tag. I hope this helps.
    Red Baron
    Happy to be Zenning today

  10. #10
    Join Date
    Jan 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I've got the script setup exactly as in the install instructions, however the checkout_success page now refuses to show.

    The error message from the debugger is
    [08-Feb-2011 19:54:50] PHP Warning: require(includes/templates/orange/checkout_success//google_analytics.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/stylish/public_html/includes/templates/orange/common/html_header.php on line 132
    [08-Feb-2011 19:54:50] PHP Warning: require(includes/templates/orange/checkout_success//google_analytics.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/stylish/public_html/includes/templates/orange/common/html_header.php on line 132
    [08-Feb-2011 19:54:50] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/orange/checkout_success//google_analytics.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/stylish/public_html/includes/templates/orange/common/html_header.php on line 132
    essentially it is looking for the google analytics file here...

    includes/templates/orange/checkout_success//google_analytics.php

    instead of here

    includes/templates/orange/checkout_success/google_analytics/google_analytics.php

    however I'm unsure how to sort this problem. If i try to edit the directory in the html_header page the problem is still there except it will try to look eg. includes/templates/orange/checkout_success/google_analytics//google_analytics.php

    It is a really daft problem involving / and .. in php paths but I've tried adding and removing / and .. and all sorts of things and it keeps looking everywhere but the right place

 

 
Page 1 of 2 12 LastLast

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

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