Results 1 to 10 of 860

Hybrid View

  1. #1
    Join Date
    Mar 2014
    Location
    Utah
    Posts
    23
    Plugin Contributions
    0

    Default Re: User tracking mod

    Hello, I am having two problems with this new install. I am currently using ZenCart v1.5.1 and using User Tracking Version 1.4.4. I have the menu working great under "User Tracking Config", but I am not getting any tracking results. I have verified the lines

    #1. Under my "User Tracking" Screen I get this (it would appear that I a missing a language file, but I gone through each file and uploaded all one by one to make sure they were in the appropriate folders).

    User Tracking Start: * Hide SpidersShow Spiders Update Report
    This tool allows for you to see the click patterns of the users through your site, organized by sessions. This data can be very valuable to those looking for how to improve your site by watching how customers actually use it. You can surf back and forth through the days by using the link below.
    Idle time is calculated from the current date/time and is based off of the last action taken during the session.
    SELECT VIEW: Back to Jun 16, 2014

    Now displaying the latest CONFIG_USER_TRACKING_SESSION_LIMIT sessions of this 24 hour period. You can also purge all records past the last 7 day(s) of data.

    Delete all info from IP-Address CONFIG_USER_TRACKING_EXCLUDED purge all records

    There have been 0 page views in this 24 hour period. Total number of users: 0. Total number of spiders: 0.
    There have been 0 page views in this 24 hour period. Total number of users: 0. Total number of spiders: 0.


    #2. The second issue I am having is an error in my logs:
    PHP Code:
    [17-Jun-2014 13:09:11PHP Fatal error:  1136:Column count doesn't match value count at row 1 :: INSERT INTO configuration VALUES (0, 'User Tracking Visitors', 'ZEN_CONFIG_USER_TRACKING', 'true', 'Check the Customers/Guests behaviour ? (each click will be recorded)', @UserTrackgID, 1, '2003-03-03 11:19:26', '2003-02-09 21:20:07', NULL, 'zen_cfg_select_option(array(''true''''false''),'); in /home1/mycoolha/public_html/catalog/includes/classes/db/mysql/query_factory.php on line 120 
    I have tried to go this forum thread and to be honest I am confused by all the changes and different sql patches. I apologize if I am referring to an issue you have already cleared up. Any help would be greatly appreciated. Obviously I have done something wrong. Thank you!

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: User tracking mod

    Quote Originally Posted by MyCoolHats View Post
    Hello, I am having two problems with this new install. I am currently using ZenCart v1.5.1 and using User Tracking Version 1.4.4. I have the menu working great under "User Tracking Config", but I am not getting any tracking results. I have verified the lines

    #1. Under my "User Tracking" Screen I get this (it would appear that I a missing a language file, but I gone through each file and uploaded all one by one to make sure they were in the appropriate folders).

    User Tracking Start: * Hide SpidersShow Spiders Update Report
    This tool allows for you to see the click patterns of the users through your site, organized by sessions. This data can be very valuable to those looking for how to improve your site by watching how customers actually use it. You can surf back and forth through the days by using the link below.
    Idle time is calculated from the current date/time and is based off of the last action taken during the session.
    SELECT VIEW: Back to Jun 16, 2014

    Now displaying the latest CONFIG_USER_TRACKING_SESSION_LIMIT sessions of this 24 hour period. You can also purge all records past the last 7 day(s) of data.

    Delete all info from IP-Address CONFIG_USER_TRACKING_EXCLUDED purge all records

    There have been 0 page views in this 24 hour period. Total number of users: 0. Total number of spiders: 0.
    There have been 0 page views in this 24 hour period. Total number of users: 0. Total number of spiders: 0.


    #2. The second issue I am having is an error in my logs:
    PHP Code:
    [17-Jun-2014 13:09:11PHP Fatal error:  1136:Column count doesn't match value count at row 1 :: INSERT INTO configuration VALUES (0, 'User Tracking Visitors', 'ZEN_CONFIG_USER_TRACKING', 'true', 'Check the Customers/Guests behaviour ? (each click will be recorded)', @UserTrackgID, 1, '2003-03-03 11:19:26', '2003-02-09 21:20:07', NULL, 'zen_cfg_select_option(array(''true''''false''),'); in /home1/mycoolha/public_html/catalog/includes/classes/db/mysql/query_factory.php on line 120 
    I have tried to go this forum thread and to be honest I am confused by all the changes and different sql patches. I apologize if I am referring to an issue you have already cleared up. Any help would be greatly appreciated. Obviously I have done something wrong. Thank you!
    The first issue (what looks like a missing definition) is actually a missing database install (SQL). That is/would be included in one of the unfortunately not well put together sets of files. Or so it would seem to me as the one that. Packaged it and somehow lead you down this path.

    The second item, I am not sure why there is something different about that statement compared to what is in your database, but it appears that the number of columns between the two do not match. Version of ZC?

    I have been working on packaging this better, but have gotten distracted with other things. May need to finish it off in the short term. Had a few other minor improvements as well. Was making progress on incorporating the ip blocker developed by lat9 until it got fundamentally changed. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Mar 2014
    Location
    Utah
    Posts
    23
    Plugin Contributions
    0

    Default Re: User tracking mod

    Quote Originally Posted by mc12345678 View Post
    The first issue (what looks like a missing definition) is actually a missing database install (SQL). That is/would be included in one of the unfortunately not well put together sets of files. Or so it would seem to me as the one that. Packaged it and somehow lead you down this path.

    The second item, I am not sure why there is something different about that statement compared to what is in your database, but it appears that the number of columns between the two do not match. Version of ZC?

    I have been working on packaging this better, but have gotten distracted with other things. May need to finish it off in the short term. Had a few other minor improvements as well. Was making progress on incorporating the ip blocker developed by lat9 until it got fundamentally changed. :)
    The version of zencart 1.5.1 and I understand you are busy. Just let me know when you have a package put together and I will try again. Until then any suggestions are welcome. I don't which SQL to use that came in the download. I have tried them all and uninstalled sql - every option I can think off. I usually get a duplicate error or the column count doesn't match. I think it may be due to me using 1.5.1???

  4. #4
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: User tracking mod

    Quote Originally Posted by MyCoolHats View Post
    The version of zencart 1.5.1 and I understand you are busy. Just let me know when you have a package put together and I will try again. Until then any suggestions are welcome. I don't which SQL to use that came in the download. I have tried them all and uninstalled sql - every option I can think off. I usually get a duplicate error or the column count doesn't match. I think it may be due to me using 1.5.1???
    I can say this, no it's not because of using zC 1.5.1.

    Placing the entire code of the new install sql into the instaall sql patches window of the admin should install all of the sql at once. It will not work if put in one line at a time.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: User tracking mod

    Also just looked, the most recent version is 1.5.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: User tracking mod

    There is a difference in the formatting of the new user and update sql statements regarding how the calls are made to the sql database. The new install sends on as if the number of columns in the sql statement is exactly correct. Have you added any plugins to your cart, and if so which?

    I know one of the things to modify in the new user sql is to instead just insert into the table, inform the database what the following assignments relate to.

    Take a look at the update_user_tracking.sql. The first insert statement inserts into the configuration table and has a parenthetical list of fields. If you copy that parenthetical list and paste it between configuration and VALUES in the new_install_user_tracking.sql file (where it is not currently), that should resolve the issues found at the first insert to the configuration table.

    Then I think now that I look at the new_install and update sqls, that the update sql is to be run after the new_install.

    Sorry, it appears that the full new install sql didn't get the new features added to it. :/ thank you for identifying this. All the more reason to put together the installer I was working on so that the instructions will be very easy. :) it is easier to do than to document. :) I will do better though.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: User tracking mod

    Quote Originally Posted by mc12345678 View Post
    Then I think now that I look at the new_install and update sqls, that the update sql is to be run after the new_install.

    Sorry, it appears that the full new install sql didn't get the new features added to it. :/ thank you for identifying this. All the more reason to put together the installer I was working on so that the instructions will be very easy. :) it is easier to do than to document. :) I will do better though.
    Had a better opportunity to look/search through the two files. I was wrong about the above statement. The two files do have the same SQL queries in them to create all of the options afforded by Version 1.5; however, there still remains a formatting issue that may be affecting some versions of SQL server... There is also a no-no in the SQL statements that I will include here.

    New Users until the next update:
    Code:
     
    INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('UserTracking', 'BOX_TOOLS_USER_TRACKING', 'FILENAME_USER_TRACKING', '', 'tools', 'Y', 10000); 
    SELECT @UserTrackgID := configuration_group_id 
    FROM configuration_group where configuration_group_title LIKE '%User Tracking%';
    INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('UserTrackingConfig', 'BOX_TOOLS_USER_TRACKING_CONFIG', 'FILENAME_CONFIGURATION', CONCAT('gID=', @UserTrackgID), 'configuration', 'Y', 10001) WHERE @UserTrackgID <> 0;
    DROP TABLE IF EXISTS user_tracking;
    CREATE TABLE user_tracking (
      `customer_id` int(11) default NULL,
      `click_id` int(11) default NULL,
      `full_name` varchar(64) NOT NULL default '',
      `session_id` varchar(32) NOT NULL default '',
      `ip_address` varchar(15) NOT NULL default '',
      `time_entry` varchar(14) NOT NULL default '',
      `time_last_click` varchar(14) NOT NULL default '',
      `last_page_url` varchar(128) NOT NULL default '',
      `referer_url` varchar(254) NOT NULL default '',
      `page_desc` varchar(64) NOT NULL default '',
      `customers_host_address` varchar(64) NOT NULL default ''
    ) ENGINE=MyISAM;
    
    SELECT @UserTrackgID := configuration_group_id 
    FROM configuration_group where configuration_group_title LIKE '%User Tracking%';
    DELETE FROM configuration where configuration_group_id = @UserTrackgID and @UserTrackgID <> 0; 
    INSERT INTO configuration_group (`configuration_group_id`, `configuration_group_title`, `configuration_group_description`, `sort_order`, `visible`) VALUES (0, 'User Tracking Config', 'User Tracking', '', 1);
    SELECT @UserTrackgID := configuration_group_id 
    FROM configuration_group where configuration_group_title LIKE '%User Tracking%';
    UPDATE configuration_group SET sort_order = @UserTrackgID WHERE configuration_group_id = @UserTrackgID and @UserTrackgID <> 0;
    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 (0, 'User Tracking Visitors', 'ZEN_CONFIG_USER_TRACKING', 'true', 'Check the Customers/Guests behaviour ? (each click will be recorded)', @UserTrackgID, 1, '2003-03-03 11:19:26', '2003-02-09 21:20:07', NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
    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 (0, 'User Tracking (ADMIN)', 'ADMIN_CONFIG_USER_TRACKING', 'true', 'Check the ADMINs behaviour ? (each click will be recorded)', @UserTrackgID, 2, '2003-03-03 11:19:26', '2003-02-09 21:20:07', NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
    INSERT INTO configuration VALUES (0, 'User Tracking (exclude this IP-Address)', 'CONFIG_USER_TRACKING_EXCLUDED', 'your IP', 'Do NOT record this IP Address<br>(like webmaster/owners/Beta-testers)', @UserTrackgID, 10, '2003-03-04 23:08:38', '2003-02-09 21:20:07', NULL, NULL);
    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 (0, 'User Tracking (Session Limit)', 'CONFIG_USER_TRACKING_SESSION_LIMIT', '50', 'Displaying the latest # sessions of this 24 hour period.<br>(SET to 999999 for unlimited per 24 hour period)<br>NOTE:<BR>Watch you space !', @UserTrackgID, 15, '2003-03-03 11:19:13', '2003-02-09 21:20:07', NULL, NULL);
    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 (0, 'User Tracking (Admin User Can Delete)', 'CONFIG_USER_TRACKING_ADMIN_CAN_DELETE', 'true', 'Allow Record Deletion to be Active?<br/>Setting this to true will override ENTRY and SESSION purges.<br/>Default <b>true</b><br/>', @UserTrackgID, 25, '2013-11-09 11:19:26', '2013-11-09 11:19:26', NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
    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 (0, 'User Tracking (Admin User Can Delete Historical Data)', 'CONFIG_USER_TRACKING_ADMIN_CAN_DELETE_RECORDS', 'false', 'Allow Record Deletion of records older than now - the purge duration set below.<br/>This value is ignored if Admin User Can Delete is set to true.  Otherwise set this to true to allow deletion of visits.<br/>Default <b>false</b>.<br/>', @UserTrackgID, 26, '2013-11-09 11:19:26', '2013-11-09 11:19:26', NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
    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 (0, 'User Tracking (Admin User Can Delete SESSIONS)', 'CONFIG_USER_TRACKING_ADMIN_CAN_DELETE_SESSIONS', 'false', 'Allow SESSION Deletion to be Active?<br/>This setting is ignored if Admin User Can Delete is set to true.<br/>Default <b>false</b><br/>', @UserTrackgID, 27, '2013-11-09 11:19:26', '2013-11-09 11:19:26', NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
    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 (0, 'User Tracking (Admin User Can Delete IP)', 'CONFIG_USER_TRACKING_ADMIN_CAN_DELETE_IP', 'false', 'Allow Deletion of records that match the identified IP address?<br/>This setting is ignored if Admin User Can Delete is set to true.<br/>Default <b>false</b><br/>', @UserTrackgID, 28, '2013-11-09 11:19:26', '2013-11-09 11:19:26', NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
    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 (0, 'User Tracking (Purge this Number)', 'CONFIG_USER_TRACKING_PURGE_NUMBER', '3', 'What is the number associated with purging before the current date/time?<br/><br/>An example would be to choose 3 here and units associated with days to delete data greater than 3 days before today.<br/>', @UserTrackgID, 30, '2013-11-09 23:08:38', '2013-11-09 23:08:38', NULL, NULL);
    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 (0, 'User Tracking (Purge Units)', 'CONFIG_USER_TRACKING_PURGE_UNITS', '1440', 'Pick the units associate with the periodicity to allow purging data.<br/><br/>60) Hours<br/>1440) Days<br/>10080) Weeks<br/>43200) Months (Based on 30 days)<br/>', @UserTrackgID, 31, '2013-11-09 23:08:38', '2013-11-09 23:08:38', NULL, 'zen_cfg_select_option(array(''60'', ''1440'',''10080'',''43200''),');
    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 (0, 'User Tracking (Type of User Interaction to Record)', 'CONFIG_USER_TRACKING_TRACK_TYPE_RECORD', '1', 'Type of user tracking to record?<br/><br/>1 - All visitors.<br/>2 - Visitors views where sessions have been started.<br/>3 - All users except bots/spiders ( requires Configuration->Sessions->Prevent Spider Sessions->true)  (Don\'t know if this works with Zen-Cart versions older than 1.2.6d)<br/><br/>Related to above: If you set Force Cookie Use->true, then at the first user entry, sessions do not start!!! And in variants 2 and 3, user-tracking will not have started. In this case you lose one click and do not log the refferal. But if this user is a returning user and has an old/previous zen cookie the session started and your tracking system will collect this info. So, the result beforehand is not logged or will not be known.<br/>', @UserTrackgID, 40, '2013-11-09 11:19:26', '2013-11-09 11:19:26', NULL, 'zen_cfg_select_option(array(''1'', ''2'',''3''),');
    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 (0, 'User Tracking (your favorite WHOIS URL)', 'USER_TRACKING_WHOIS_URL', 'http://www.dnsstuff.com/tools/whois.ch?ip=', 'Put here you favorite WHOIS tracking site<br>(the IP will follow automaticly after this url)', @UserTrackgID, 50, '2003-03-03 11:19:13', '2003-03-11 11:40:01', NULL, NULL);
    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 (0, 'User Tracking (Show Product Category when tracking product clicks)', 'ZEN_CONFIG_SHOW_USER_TRACKING_CATEGORY', 'true', 'Show Product Category when tracking product clicks', @UserTrackgID, 60, '2006-12-05 11:19:26', '2006-12-05 21:20:07', NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
    INSERT INTO configuration VALUES (0, 'User Tracking (Version Installed)', 'CONFIG_USER_TRACKING_VERSION', '1.5', 'Shows the version number associated with user tracking and should be updated with each upgrade', @UserTrackgID, 1000, '2013-11-10 04:19:26', '2013-11-18 04:19:26', NULL, NULL);

    The above is updated to reflect mostly what I would say will be in the next version. I plan on changing all of the dates so that they are autopopulated though, rather than hard coded as above, also, the use of 0 for the configuration_id is unnecessary and actually can cause some installations not to work as they expect either a NULL or to not have the value passed to begin with.

    This revision of the new install file removes the need to run an update query that is posted 2 pages back to rid the use of the user_tracking_config file. Now the settings appear under the admin's configuration menu option as expected/desired.
    Last edited by mc12345678; 17 Jun 2014 at 10:31 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Mar 2014
    Location
    Utah
    Posts
    23
    Plugin Contributions
    0

    Default Re: User tracking mod

    Quote Originally Posted by mc12345678 View Post
    I can say this, no it's not because of using zC 1.5.1.

    Placing the entire code of the new install sql into the instaall sql patches window of the admin should install all of the sql at once. It will not work if put in one line at a time.
    I tried it again and received an error, please refresh page and try again. Now in my error log it says duplicate error (below). I have tried the uninstall sql and then the new install sql and get the same duplicate error.
    PHP Code:
    [17-Jun-2014 14:49:42PHP Fatal error:  1062:Duplicate entry 'UserTracking' for key 'page_key' :: /* Tables need to be ensured to include the prefix if it exists. */ INSERT INTO admin_pages (page_keylanguage_keymain_pagepage_paramsmenu_keydisplay_on_menusort_orderVALUES ('UserTracking''BOX_TOOLS_USER_TRACKING''FILENAME_USER_TRACKING''''tools''Y'10000); in /home1/mycoolha/public_html/catalog/includes/classes/db/mysql/query_factory.php on line 120 

  9. #9
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: User tracking mod

    Quote Originally Posted by MyCoolHats View Post
    I tried it again and received an error, please refresh page and try again. Now in my error log it says duplicate error (below). I have tried the uninstall sql and then the new install sql and get the same duplicate error.
    PHP Code:
    [17-Jun-2014 14:49:42PHP Fatal error:  1062:Duplicate entry 'UserTracking' for key 'page_key' :: /* Tables need to be ensured to include the prefix if it exists. */ INSERT INTO admin_pages (page_keylanguage_keymain_pagepage_paramsmenu_keydisplay_on_menusort_orderVALUES ('UserTracking''BOX_TOOLS_USER_TRACKING''FILENAME_USER_TRACKING''''tools''Y'10000); in /home1/mycoolha/public_html/catalog/includes/classes/db/mysql/query_factory.php on line 120 
    Looking at the ver 1.5 uninstall sql, the removal of that page_key should have occurred already. You can also safely omit that line from the new_install text when posting the sql. The lines that can not be omitted, involve @UserTrackgID up to the ending semicolon.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #10
    Join Date
    Mar 2014
    Location
    Utah
    Posts
    23
    Plugin Contributions
    0

    Default Re: User tracking mod

    Quote Originally Posted by mc12345678 View Post
    Looking at the ver 1.5 uninstall sql, the removal of that page_key should have occurred already. You can also safely omit that line from the new_install text when posting the sql. The lines that can not be omitted, involve @UserTrackgID up to the ending semicolon.
    Okay, so I upload this portion of the new install sql
    PHP Code:
    SELECT @UserTrackgID := configuration_group_id 
    FROM configuration_group where configuration_group_title LIKE 
    '%User Tracking%';

    DELETE FROM configuration where configuration_group_id = @UserTrackgID
    /* DELETE FROM configuration where configuration_group_id = '999'; Desire is to replace 999 with the next configuration_group_id; however, this may require revision to the base code to support*/
    INSERT INTO configuration_group (`configuration_group_id`, `configuration_group_title`, `configuration_group_description`, `sort_order`, `visible`) VALUES (0'User Tracking Config''User Tracking'''1);

    SELECT @UserTrackgID := configuration_group_id 
    FROM configuration_group where configuration_group_title LIKE 
    '%User Tracking%';

    UPDATE configuration_group SET sort_order = @UserTrackgID WHERE configuration_group_id = @UserTrackgID;

    INSERT INTO configuration VALUES (0'User Tracking Visitors''ZEN_CONFIG_USER_TRACKING''true''Check the Customers/Guests behaviour ? (each click will be recorded)', @UserTrackgID1'2003-03-03 11:19:26''2003-02-09 21:20:07'NULL'zen_cfg_select_option(array(''true'', ''false''),');
    INSERT INTO configuration VALUES (0'User Tracking (ADMIN)''ADMIN_CONFIG_USER_TRACKING''true''Check the ADMINs behaviour ? (each click will be recorded)', @UserTrackgID2'2003-03-03 11:19:26''2003-02-09 21:20:07'NULL'zen_cfg_select_option(array(''true'', ''false''),');
    INSERT INTO configuration VALUES (0'User Tracking (exclude this IP-Address)''CONFIG_USER_TRACKING_EXCLUDED''your IP''Do NOT record this IP Address<br>(like webmaster/owners/Beta-testers)', @UserTrackgID10'2003-03-04 23:08:38''2003-02-09 21:20:07'NULLNULL);
    INSERT INTO configuration VALUES (0'User Tracking (Session Limit)''CONFIG_USER_TRACKING_SESSION_LIMIT''50''Displaying the latest # sessions of this 24 hour period.<br>(SET to 999999 for unlimited per 24 hour period)<br>NOTE:<BR>Watch you space !', @UserTrackgID15'2003-03-03 11:19:13''2003-02-09 21:20:07'NULLNULL);
    INSERT INTO configuration (configuration_idconfiguration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderlast_modifieddate_addeduse_functionset_functionVALUES (0'User Tracking (Admin User Can Delete)''CONFIG_USER_TRACKING_ADMIN_CAN_DELETE''true''Allow Record Deletion to be Active?<br/>Setting this to true will override ENTRY and SESSION purges.<br/>Default <b>true</b><br/>', @UserTrackgID25'2013-11-09 11:19:26''2013-11-09 11:19:26'NULL'zen_cfg_select_option(array(''true'', ''false''),');
    INSERT INTO configuration (configuration_idconfiguration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderlast_modifieddate_addeduse_functionset_functionVALUES (0'User Tracking (Admin User Can Delete Historical Data)''CONFIG_USER_TRACKING_ADMIN_CAN_DELETE_RECORDS''false''Allow Record Deletion of records older than now - the purge duration set below.<br/>This value is ignored if Admin User Can Delete is set to true.  Otherwise set this to true to allow deletion of visits.<br/>Default <b>false</b>.<br/>', @UserTrackgID26'2013-11-09 11:19:26''2013-11-09 11:19:26'NULL'zen_cfg_select_option(array(''true'', ''false''),');
    INSERT INTO configuration (configuration_idconfiguration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderlast_modifieddate_addeduse_functionset_functionVALUES (0'User Tracking (Admin User Can Delete SESSIONS)''CONFIG_USER_TRACKING_ADMIN_CAN_DELETE_SESSIONS''false''Allow SESSION Deletion to be Active?<br/>This setting is ignored if Admin User Can Delete is set to true.<br/>Default <b>false</b><br/>', @UserTrackgID27'2013-11-09 11:19:26''2013-11-09 11:19:26'NULL'zen_cfg_select_option(array(''true'', ''false''),');
    INSERT INTO configuration (configuration_idconfiguration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderlast_modifieddate_addeduse_functionset_functionVALUES (0'User Tracking (Admin User Can Delete IP)''CONFIG_USER_TRACKING_ADMIN_CAN_DELETE_IP''false''Allow Deletion of records that match the identified IP address?<br/>This setting is ignored if Admin User Can Delete is set to true.<br/>Default <b>false</b><br/>', @UserTrackgID28'2013-11-09 11:19:26''2013-11-09 11:19:26'NULL'zen_cfg_select_option(array(''true'', ''false''),');
    INSERT INTO configuration (configuration_idconfiguration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderlast_modifieddate_addeduse_functionset_functionVALUES (0'User Tracking (Purge this Number)''CONFIG_USER_TRACKING_PURGE_NUMBER''3''What is the number associated with purging before the current date/time?<br/><br/>An example would be to choose 3 here and units associated with days to delete data greater than 3 days before today.<br/>', @UserTrackgID30'2013-11-09 23:08:38''2013-11-09 23:08:38'NULLNULL);
    INSERT INTO configuration (configuration_idconfiguration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderlast_modifieddate_addeduse_functionset_functionVALUES (0'User Tracking (Purge Units)''CONFIG_USER_TRACKING_PURGE_UNITS''1440''Pick the units associate with the periodicity to allow purging data.<br/><br/>60) Hours<br/>1440) Days<br/>10080) Weeks<br/>43200) Months (Based on 30 days)<br/>', @UserTrackgID31'2013-11-09 23:08:38''2013-11-09 23:08:38'NULL'zen_cfg_select_option(array(''60'', ''1440'',''10080'',''43200''),');
    INSERT INTO configuration (configuration_idconfiguration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderlast_modifieddate_addeduse_functionset_functionVALUES (0'User Tracking (Type of User Interaction to Record)''CONFIG_USER_TRACKING_TRACK_TYPE_RECORD''1''Type of user tracking to record?<br/><br/>1 - All visitors.<br/>2 - Visitors views where sessions have been started.<br/>3 - All users except bots/spiders ( requires Configuration->Sessions->Prevent Spider Sessions->true)  (Don\'t know if this works with Zen-Cart versions older than 1.2.6d)<br/><br/>Related to above: If you set Force Cookie Use->true, then at the first user entry, sessions do not start!!! And in variants 2 and 3, user-tracking will not have started. In this case you lose one click and do not log the refferal. But if this user is a returning user and has an old/previous zen cookie the session started and your tracking system will collect this info. So, the result beforehand is not logged or will not be known.<br/>', @UserTrackgID40'2013-11-09 11:19:26''2013-11-09 11:19:26'NULL'zen_cfg_select_option(array(''1'', ''2'',''3''),');
    INSERT INTO configuration VALUES (0'User Tracking (your favorite WHOIS URL)''USER_TRACKING_WHOIS_URL''http://www.dnsstuff.com/tools/whois.ch?ip=''Put here you favorite WHOIS tracking site<br>(the IP will follow automaticly after this url)', @UserTrackgID50'2003-03-03 11:19:13''2003-03-11 11:40:01'NULLNULL);
    INSERT INTO configuration VALUES (0'User Tracking (Show Product Category when tracking product clicks)''ZEN_CONFIG_SHOW_USER_TRACKING_CATEGORY''true''Show Product Category when tracking product clicks', @UserTrackgID60'2006-12-05 11:19:26''2006-12-05 21:20:07'NULL'zen_cfg_select_option(array(''true'', ''false''),');
    INSERT INTO configuration VALUES (0'User Tracking (Version Installed)''CONFIG_USER_TRACKING_VERSION''1.5''Shows the version number associated with user tracking and should be updated with each upgrade', @UserTrackgID1000'2013-11-10 04:19:26''2013-11-18 04:19:26'NULLNULL); 

    I still received a webpage error, to refresh page and try again later. In my logs I have this error
    PHP Code:
    [17-Jun-2014 15:15:23PHP Fatal error:  1136:Column count doesn't match value count at row 1 :: INSERT INTO configuration VALUES (0, 'User Tracking Visitors', 'ZEN_CONFIG_USER_TRACKING', 'true', 'Check the Customers/Guests behaviour ? (each click will be recorded)', @UserTrackgID, 1, '2003-03-03 11:19:26', '2003-02-09 21:20:07', NULL, 'zen_cfg_select_option(array(''true''''false''),'); 
    Last edited by MyCoolHats; 17 Jun 2014 at 10:20 PM.

 

 

Similar Threads

  1. User Tracking Mod only shows the Admin Session
    By Griff1324 in forum General Questions
    Replies: 6
    Last Post: 29 May 2008, 10:56 PM
  2. User Tracking Mod issue: repeated Logins: Admin: View Sessions
    By dharma in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 20 Feb 2008, 04:48 AM
  3. Search log mod vs. user tracking
    By ashton0603 in forum General Questions
    Replies: 4
    Last Post: 30 Jan 2008, 08:43 AM
  4. Google Analytics vs User Tracking mod
    By miles in forum General Questions
    Replies: 1
    Last Post: 15 Jun 2007, 10:09 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