Page 12 of 217 FirstFirst ... 210111213142262112 ... LastLast
Results 111 to 120 of 2161
  1. #111
    Join Date
    Apr 2005
    Posts
    68
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Yes, the site that did not pose any problems is a brand new 1.3.7.

    I just enabled it for the GA today and it's collecting the first load of data. The 'view page source' shows the right numbers and the checkout_success -- the correctly filled utmform.


    And so does the old trusted 1.2.5.
    Enabling it on the old version was not too hard at all: I had to "update" the query_factory.php file in the classes/db/mysql to include then missing bindvars() function et al.
    This query_factory update did not have any effect on the Configuration "no-show" that started my question.

    Do you know what function/file assembles dhtml menus for the admin console? Is there a max limit on the number of entries to put in the admin menu?

    Any ideas?
    --AW

  2. #112
    Join Date
    Jul 2006
    Posts
    129
    Plugin Contributions
    1

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by dreamdaily View Post
    Yes, the site that did not pose any problems is a brand new 1.3.7.

    I just enabled it for the GA today and it's collecting the first load of data. The 'view page source' shows the right numbers and the checkout_success -- the correctly filled utmform.


    And so does the old trusted 1.2.5.
    Enabling it on the old version was not too hard at all: I had to "update" the query_factory.php file in the classes/db/mysql to include then missing bindvars() function et al.
    This query_factory update did not have any effect on the Configuration "no-show" that started my question.

    Do you know what function/file assembles dhtml menus for the admin console? Is there a max limit on the number of entries to put in the admin menu?

    Any ideas?
    --AW
    You may want to start at admin/includes/boxes/configuration_dhtml.php
    if 1.2.5 has that I really didn't use the 1.2 series so I am not much help with it. I doubt there is a maximum number that can be shown but you never know...let us know if you do track down the problem....sorry I can't be of more help but luckily you shouldn't have to change those settings very often if at all.
    ---------------------------------
    Barracuda Productions pure instincts

  3. #113
    Join Date
    Apr 2005
    Posts
    68
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    OK, the mistery of the missing menu option is solved.

    My bad, of course: it was just the "Admin Level" mod that was blocking the access to the new admin action. Everything is fine now.

    Just in case someone is still on 1.2.x and wants to implement the Google Analytics:

    Here is what needs to be done on 1.2.x:

    1) Install the Mod like described in the README file.
    2) Modify the core file /includes/classes/db/sql/query_factory.php:

    a) Find around line 268

    function queryTime() {
    return $this->total_query_time;
    }

    }

    b) Add right AFTER the function queryTime() and BEFORE the second curly brace the following code from the 1.3.x version of this file.
    The final result looks like this:

    function queryTime() {
    return $this->total_query_time;
    }

    function getBindVarValue($value, $type) {
    $typeArray = explode(':',$type);
    $type = $typeArray[0];
    switch ($type) {
    case 'csv':
    return $value;
    break;
    case 'passthru':
    return $value;
    break;
    case 'float':
    return (!zen_not_null($value) || $value=='' || $value == 0) ? 0 : $value;
    break;
    case 'integer':
    return (int)$value;
    break;
    case 'string':
    if (isset($typeArray[1])) {
    $regexp = $typeArray[1];
    }
    return '\'' . $this->prepare_input($value) . '\'';
    break;
    case 'noquotestring':
    return $this->prepare_input($value);
    break;
    case 'currency':
    return '\'' . $this->prepare_input($value) . '\'';
    break;
    case 'date':
    return '\'' . $this->prepare_input($value) . '\'';
    break;
    case 'enum':
    if (isset($typeArray[1])) {
    $enumArray = explode('|', $typeArray[1]);
    }
    return '\'' . $this->prepare_input($value) . '\'';
    default:
    die('var-type undefined: ' . $type . '('.$value.')');
    }
    }
    /**
    * method to do bind variables to a query
    **/
    function bindVars($sql, $bindVarString, $bindVarValue, $bindVarType, $debug = false) {
    $bindVarTypeArray = explode(':', $bindVarType);
    $sqlNew = $this->getBindVarValue($bindVarValue, $bindVarType);
    $sqlNew = str_replace($bindVarString, $sqlNew, $sql);
    return $sqlNew;
    }

    function prepareInput($string) {
    return @mysql_real_escape_string($string);
    }
    }


    It seems to be working without a glitch on the 1.2.5 code.

    All the best,
    --dreamdaily

  4. #114
    Join Date
    Apr 2005
    Posts
    68
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Dear cuda,

    I have another question, now regarding the workings of the mod:

    My assumption is that it does not touch the ipn_main_handler.php, therefore, it does not report on the PayPal bound clicks (regular PayPal, NOT the Express).

    If this is true, then 'checkout_confirmation' page will report a larger number of exits/bounces/etc. than it really has, since many PayPal users will not be tracked once they go to the PayPal site to pay.

    Also, after running ZC sites for almost 2 years I noticed that a lot of PayPal users do not "return to merchant" after paying and thus will never see the checkout_success page. In these cases, the transactional data will not get to Google.

    1) Is my assumption regarding the ipn_main_handler.php correct?
    2) If no, how does Google count the PayPal-ers?
    3) If yes, what do you think about rigging the ipn_main_handler.php?

    What do you think?
    --dreamdaily

  5. #115
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Simple Google Analytics - Support

    Too it's interesting that the developer of this problem thinks.

  6. #116
    Join Date
    Jul 2006
    Posts
    129
    Plugin Contributions
    1

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by a_berezin View Post
    Too it's interesting that the developer of this problem thinks.
    Ok look Andrew (a_berezin) you are resorting to insulting now...go back and read this thread I have given an apology for your misunderstanding of what I said and also stated that this mod is a version of your "Google Analytics Integration" mod that I changed and renamed "Simple Google Analytics." This is a community opensource project we share code and edit code to our liking. From my understanding of the GNU license I am more then welcomed to do so as long as I give credit in the files and such to any code written by others. What is your understanding of GNU license???

    It is not like everytime we talk about Zen Cart we have to give a disclaimer that it started out as osCommerce.

    If you would rather not share your code then do not but I do not appreciate your unnecessary insults and your lack of community support.
    ---------------------------------
    Barracuda Productions pure instincts

  7. #117
    Join Date
    Jan 2006
    Location
    Toronto, Ontario, Canada
    Posts
    183
    Plugin Contributions
    3

    Default Re: Simple Google Analytics - Support

    i must agree that it was uncalled for. cuda did clarify his stance earlier in the thread.
    Ahmad Rahman
    TRUST IT | web site design and development
    mobile: 416.828.0224 | email: [email protected]
    www.trustit.ca

    For IT solutions how you want IT, when you want IT, TRUST IT.

  8. #118
    Join Date
    Jul 2006
    Posts
    129
    Plugin Contributions
    1

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by dreamdaily View Post
    Dear cuda,

    I have another question, now regarding the workings of the mod:

    My assumption is that it does not touch the ipn_main_handler.php, therefore, it does not report on the PayPal bound clicks (regular PayPal, NOT the Express).

    If this is true, then 'checkout_confirmation' page will report a larger number of exits/bounces/etc. than it really has, since many PayPal users will not be tracked once they go to the PayPal site to pay.

    Also, after running ZC sites for almost 2 years I noticed that a lot of PayPal users do not "return to merchant" after paying and thus will never see the checkout_success page. In these cases, the transactional data will not get to Google.

    1) Is my assumption regarding the ipn_main_handler.php correct?
    2) If no, how does Google count the PayPal-ers?
    3) If yes, what do you think about rigging the ipn_main_handler.php?

    What do you think?
    --dreamdaily
    Dreamdaily-

    1. Google analytics tracks when you land on a page with the google analytics code not when you exit (exits are when you do not return to the site)... you can however track button clicks if desired. If a user does not return to the success page their transaction data can not be tracked you are correct.

    3. How are you going to call the javascript?
    ---------------------------------
    Barracuda Productions pure instincts

  9. #119
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Simple Google Analytics - Support

    So there are a lot of empty words, and answer is not present.

    Once again ask.
    That the developer thinks about PayPal ipn_main_handler?

  10. #120
    Join Date
    Jul 2006
    Posts
    129
    Plugin Contributions
    1

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by a_berezin View Post
    So there are a lot of empty words, and answer is not present.

    Once again ask.
    That the developer thinks about PayPal ipn_main_handler?
    Ok then you are the almighty....what would you suggest o great developer. Give an answer that will satisfy you so none of us need to hear your ridicule anymore....
    ---------------------------------
    Barracuda Productions pure instincts

 

 

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