Page 28 of 217 FirstFirst ... 1826272829303878128 ... LastLast
Results 271 to 280 of 2161
  1. #271
    Join Date
    Aug 2007
    Posts
    1
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Hello There

    I am having alot of problems with using this script- I have tried a few now and i can't seem to get them to work

    Anyway i have some error at the bottem of the page that displays all the time

    the website is http://easylife.com

    the error i am receiving is:
    HTML Code:
    [QUOTE]
    [HTML]Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/pear/includes/templates/template_default/google_analytics/google_analytics.php) is not within the allowed path(s): (/tmp:/home/EasyLife/easylife.com) in /home/EasyLife/easylife.com/user/htdocs/cart/includes/templates/template_default/common/tpl_main_page.php on line 319
    
    Warning: main(includes/templates/template_default/google_analytics/google_analytics.php) [function.main]: failed to open stream: Operation not permitted in /home/EasyLife/easylife.com/user/htdocs/cart/includes/templates/template_default/common/tpl_main_page.php on line 319
    
    Fatal error: main() [function.require]: Failed opening required 'includes/templates/template_default/google_analytics/google_analytics.php' (include_path='.:/usr/share/pear') in /home/EasyLife/easylife.com/user/htdocs/cart/includes/templates/template_default/common/tpl_main_page.php on line 319
    [/QUOTE][/HTML]


    Any help appreciated

    Chris Avery
    AEI Security

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

    Default Re: Simple Google Analytics - Support

    Chris,

    This error indicates that your host has enabled the PHP open_base_dir setting on your server. Your host needs to add your ZenCart installation folder to the allowed paths for this setting (i.e., add the file path referenced in the error as "not within the allowed path").

    The open_base_dir setting is primarily used to prevent php scripts for a particular user from accessing files in another user's account. So usually, any files in your own account should be readable by your own scripts.

    This setting could be why you are having so many issues. the version available for download in the Zen Cart Downloads section should be pretty easy to install. Just two files to upload and one file to alter.

    I went to your site, and I do not see the error message at all. It looks fine to me.

    When I perform a view source, I also noticed that the Google Analytics tracking is installed at the bottom of the page (correctly), HOWEVER, It also shows that you have the tracking code for "Conversion Tracking" at the bottom of the page as well.

    If you are trying to track conversions of sales, then you should only include that Conversion Tracking code at the bottom of the checkout_success page. You also need to account for it being a SSL or Non-SSL connection.

    Lastly, the code for Conversion Tracking should go just below the regular Google Analytics tracking code, but above the closing </BODY> tag. Right now you have it outside of the entire HTML document structure.
    Last edited by econcepts; 7 Aug 2007 at 04:12 PM. Reason: added more help
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

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

    Default Re: Simple Google Analytics - Support

    Just wondering - (and I apologize if this has been asked before) but what's the function of the Target Address option ?

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by netmeg View Post
    Just wondering - (and I apologize if this has been asked before) but what's the function of the Target Address option ?
    Target address is used with the e-commerce tracking. It allows you to determine which address you want the transaction "hooked" to for reporting purposes.

    Your choices are:

    Customers (address)
    Delivery (address)
    Billing (address)
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

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

    Default NEW RELEASE: Simple Google Analytics Version 1.1.0 with Conversion Tracking Support

    After working through all the questions in the forums regarding Google Analytics, one common theme among users is "how do I install it", and how can I add "Conversion Tracking" as well?

    Up until now, the only way to add Conversion Tracking was to manually add the code.

    That has now changed. I decided to re-work the original Simple Google Analytics contribution to address several issues I continue to hear.

    1) "How do I install it" (I have updated the instructions to help assist in this and give more clarity)

    2) How do I add Conversion Tracking?

    This new version (1.1.0) now provides the ability for users to configure Google Conversion Tracking directly from within the Admin section.

    I have also reworked a few of the previous items to include more "instruction" on what each item is, what you use it for, and how you use it. There were many questions like "What is the Target Address?" ; "What is the SKU/Code?" etc...

    These are all answered in the new version as well.

    How to Download the new version 1.1.0

    You can download the new version complete with Conversion Tracking support by going to the following link in the Zen Cart downloads section:

    http://www.zen-cart.com/index.php?ma...roducts_id=412

    Where to get more information on the newest release

    To get more information on this newest release, along with screenshots and some helpful tips on installing it, you can go to:

    http://www.zencartoptimization.com/2...sion-tracking/

    Enjoy!
    Last edited by econcepts; 10 Aug 2007 at 04:29 PM. Reason: added content
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  6. #276
    Join Date
    Jul 2007
    Location
    Durham, NC
    Posts
    55
    Plugin Contributions
    1

    Default Re: Simple Google Analytics - Support

    Hi, Eric (econcepts),

    Thanks for rolling the Conversion Tracking into the mod.

    I am converting my site from hand-inserted GA and Conversion codes, to the simple-google-analytics mod. When I install the sql patch, I get the error display shown below between the "****" marks, and my Google Analytics menu in Admin stops just before the Conversion Tracking settings shown on your site's screen shot. Is this a problem on my site, or am I just on the "bleeding edge" of your new addition?

    My host provides MySQL 4.1.22-standard, not version 5. Is that the problem? We're running Zen Cart 1.3.7. This install was to our test site which we keep permanently in maintenance mode and not viewable by the public at large.

    ****

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Yes', 'No'), ')' at line 1
    in:
    [INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'Activate Conversion Tracking', 'GOOGLE_CONVERSION_ACTIVE', 'No', 'This element enables you turn on or off Google Conversion Tracking.

    Please Note: Conversion tracking is used to track the effectiveness of Google AdWords paid search campaigns. If you are not running any paid search campaigns, then you should leave this set to "No".

    If you are running Google AdWords (paid search) campaigns, then turning this on will place the proper conversion tracking code on your checkout success page and enable you to start tracking conversions.

    Turning this on requires you to enter your unique Google Conversion Tracking ID in place of the "XXXXXXXXXXX" number shown in the next section.

    For more hints and tips on how to use Google Analytics to increase sales from your store, visit ZenCartOptimization.com

    Do you want to turn on Google AdWords Conversion Tracking?
    ', @t4, 5, NOW(), NOW(), NULL, 'zen_cfg_select_option(array('Yes', 'No'), ');]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    ****

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

    Default Re: Simple Google Analytics - Support

    Alan,

    Which SQL patch are you using? There is one for "upgrading only", and one for "new (fresh) installs".

    Let me know that and I'll take a look at that SQL syntax.

    I've tested both here on a similar platform, and it works fine.

    Again, let me know which patch you are using so I can look at that file.

    Thanks!

    By the way, the only report I have heard of (with SQL syntax in general) from PHP 4.x to 5.x is that in some cases, 5.x does not like items qualified as such '' and would rather them come across as 'NULL'.

    That shouldn't be an issue with you though as you are on a 4.x version (and I have only heard it on a few 5.x version installs).
    Last edited by econcepts; 14 Aug 2007 at 08:38 PM. Reason: Added content
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  8. #278
    Join Date
    Jul 2007
    Location
    Durham, NC
    Posts
    55
    Plugin Contributions
    1

    Default Re: Simple Google Analytics - Support

    Eric,

    Thanks for looking at this. Being a new install, I'm using the googleanalytics.sql file, using Admin > Tools > Install SQL Patches, and clicking Browse next to Upload File to browse to this file on my local disk. After that, the Upload button brings me to the error noted in the previous post.

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

    Default Re: Simple Google Analytics - Support

    Alan,

    Can you copy and paste the contents of the SQL patch into the Admin and run it that way (rather than upload).

    Let me know how that works while I look into this one. I have a feeling that the upload function may be choking on a few of the quotes that are in the copy.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

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

    Default Re: Simple Google Analytics - Support

    Alan,

    Ok, got it. Go ahead and download this version here (I'll upload later this eve to the Contribs section).

    All I did was alter part of one of the lines for the SQL Syntax on the two files.

    This should work for uploading and installing now. Let me know if you have any problems.

    Thanks!
    Attached Files Attached Files
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

 

 

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