Joe Michael Posted January 30, 2014 Share Posted January 30, 2014 (edited) I would like to change the tracking method. When a visitor is honored with a fixed amount for clicks it's calculating number of Visits, but i want it to count the Visitors (Unique visitors) to get the fee for clicks. So i tried to figure it myself and this is what i did: On row 164 of AdminReferrersController.php which is located under /controllers/admin/ i changed this: (sa.cache_visits*click_fee) to this: (sa.cache_visitors*click_fee) Basically what it does is changing the way this module is calculating referrer's click fee. Now in my administration - statistics>referrers i see the correct values in the referrers table. BUT it's still not visible in the user statistics panel. Now trying to figure that out Any help on this issue will be highly appreciated ... Edited January 30, 2014 by Joe Michael (see edit history) Link to comment Share on other sites More sharing options...
Joe Michael Posted January 30, 2014 Author Share Posted January 30, 2014 (edited) This is quote of the file: modules/trackingfront/trackingfront.php $displayTab = array( 'uniqs' => $this->l('Unique visitors'), 'visitors' => $this->l('Visitors'), 'visits' => $this->l('Visits'), 'pages' => $this->l('Pages viewed'), 'registrations' => $this->l('Registrations'), 'orders' => $this->l('Orders'), 'base_fee' => $this->l('Base fee'), 'percent_fee' => $this->l('Percent fee'), 'click_fee' => $this->l('Click fee'), 'sales' => $this->l('Sales'), 'cart' => $this->l('Average cart'), 'reg_rate' => $this->l('Registration rate'), 'order_rate' => $this->l('Order rate')); $this->smarty->assign('displayTab', $displayTab); Im interested in the highlighted row. Where does it gets the info for 'click_fee' ? I couldnt find out and i think there will be the answer to solving this problem. Edited January 30, 2014 by Joe Michael (see edit history) Link to comment Share on other sites More sharing options...
Joe Michael Posted February 1, 2014 Author Share Posted February 1, 2014 Some1 ? Link to comment Share on other sites More sharing options...
Xavier du Tertre Posted February 3, 2014 Share Posted February 3, 2014 I think you'll have better luck on the "Development" forum! I'm moving the topic. Link to comment Share on other sites More sharing options...
Joe Michael Posted February 12, 2014 Author Share Posted February 12, 2014 any1 ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now