Results 1 to 10 of 858

Threaded View

  1. #11
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: User tracking mod

    Jeff's version readme leaves out some useful info which was in pinghead's UserTracking version readme.

    Here is an excerpt from pinghead's last version which may help:

    File Modifications: 2 with Catalog-user-tracking AND Admin-user-tracking

    add the following to the end of /includes/templates/YOUR TEMPLATE/common/tpl_footer.php

    Alternative 1: tracking all users and bots.
    <?php if (ZEN_CONFIG_USER_TRACKING == 'true' && function_exists('zen_update_user_tracking')) { zen_update_user_tracking(); } ?>

    Alternative 2: track only users with set sessions.
    <?php if (ZEN_CONFIG_USER_TRACKING == 'true' && $session_started && function_exists('zen_update_user_tracking')) { zen_update_user_tracking(); } ?>

    Alternative 3: RECOMMENDED, track all users except bots/spiders, requires Configuration->Sessions->Prevent Spider Sessions->true (I don't know if this works with Zen-Cart versions older than 1.2.6d).
    <?php if (ZEN_CONFIG_USER_TRACKING == 'true' && !$spider_flag && function_exists('zen_update_user_tracking')) { zen_update_user_tracking(); } ?>


    add if you want to track admin pages viewed add the following to the end of /admin/includes/footer.php

    <?php if (ADMIN_CONFIG_USER_TRACKING == 'true' && function_exists('zen_update_user_tracking')) { zen_update_user_tracking(); } ?>
    BTW you may want to checkout Pinghead's version as some features in his vresion are not in JeffD's version (and vice versa)
    Last edited by Woodymon; 23 Feb 2007 at 10:43 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