Jump to content

Tracking Afilliates Issue


Joe Michael

Recommended Posts

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 ...

post-42090-0-70035500-1391077722_thumb.jpg

Edited by Joe Michael (see edit history)
Link to comment
Share on other sites

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 by Joe Michael (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...