User Tools

Site Tools


Translations of this page:

Sidebar

Documentation index

user_field

User Field Formula

If you miss some trade parameter, for example you'd like to know ratio clicks to out for each trade, - this featue for you. You get direct access to internal variables. This formula only reflects a number or whatever but it doesn't affect trade. if you want to affect trade formula - use Trade Formula.

What you have to do :

First of all add 'User Field' column in Settings→ CJ Settings → Display Config (Show User Field)

Type field name User Field Name. This title actually is for your convenience only, this is what script will show as a title of user field column.

Type formula to 'User Field Formula'. Here is an example for ratio clics to out hits.

=@round($d['day']['cd']/$d['day']['od']);

And there's a list of all available variables

          [day] => Array
              (
                  [rd] => 536
                  [ud] => 500
                  [od] => 551
                  [cd] => 540
                  [ctd] => 182
                  [cud] => 358
                  [quality] => 179.5
                  [quality_url] => 350.5
                  [pr] => 40
                  [pr_out] => 40
                  [ch] => 0
                  [ncd] => 78
                  [user_count] => 418
                  [user_dis] => 0
                  [last_click] => 208
                  [thishouru] => 0
                  [thishourr] => 0
                  [thishouro] => 0
                  [thishourct] => 0
                  [thishourcu] => 0
                  [thishourcq] => 0
                  [thishourcq_url] => 0
                  [thishournc] => 0
                  [thishour_user_count] => 0
                  [thishour_user_dis] => 0
              )
          [prod] => Array
              (
                  [hour_trade] => 0
                  [hour_total] => 0
                  [day_trade] => 0.359
                  [day_total] => 1.06
                  [hour_out2click] => 0
                  [day_out2click] => 1.0396226415094
              )
          [user_vars] => Array
              (
                  [day_count] => 78
                  [day_dis] => 0
                  [hour_count] => 0
                  [hour_dis] => 0
              )
user_field.txt · Last modified: 2014/01/29 18:05 (external edit)