How to modify the Traffic Overview in the Home screen of the affiliate panel?

You will need to edit the template called period_stats.stpl that you can find at Configuration > Design > Affiliate panel theme > click Edit Theme on the currently active theme. (For merchant panel use template name: home_panel_content.stpl)
 
Prefixes:
 
$last30Days
$today
$thisMonth
$allTime  (only for affiliate panel)
 
FirstTier sufix:
Works for Commissions object, so:
  • $todayCommissionsFirstTier
  • $thisMonthCommissionsFirstTier
  • $last30DaysCommissionsFirstTier
  • $allTimeCommissionsFirstTier
 
Variables:
 
(click count)
Clicks->count->all <= all clicks
Clicks->count->raw  <= repeated clicks
Clicks->count->unique  <= unique clicks
Clicks->count->declined  <= declined clicks
 
(commission of clicks)
Clicks->commission->approved   (instead of 'approved' you can also use: pending, declined, paid, all)
 

Example (prefix +  variable) -   display the count of paid commissions in this month:
$thisMonthClicks->commission->count->paid 

 
(impression count)
Impressions->count->all <= all impressions
Impressions->count->raw  <= repeated impressions
Impressions->count->unique  <= unique impressions
 
(CPM commissions)
Impressions->commission->approved    (instead of 'approved' you can also use: pending, declined, paid, all)
 
(1st tier commissions of type "Sale")
Sales->totalCost->approved    (instead of 'approved' you can also use: pending, declined, paid, all)
Sales->count->approved     (instead of 'approved' you can also use: pending, declined, paid, all)
Sales->commission->approved    (instead of 'approved' you can also use: pending, declined, paid, all)
 
(1st tier commissions of type "Action")
ActionCommissions->totalCost->approved    (instead of 'approved' you can also use: pending, declined, paid, all)
ActionCommissions->count->approved     (instead of 'approved' you can also use: pending, declined, paid, all)
ActionCommissions->commission->approved    (instead of 'approved' you can also use: pending, declined, paid, all)
 
(all kinds of commissions)
Commissions->totalCost->approved   (instead of 'approved' you can also use: pending, declined, paid, all)
Commissions->count->approved    (instead of 'approved' you can also use: pending, declined, paid, all)
Commissions->commission->approved    (instead of 'approved' you can also use: pending, declined, paid, all)
 
(refunds)
Refunds->totalCost->approved   (instead of 'approved' you can also use: pending, declined, paid, all)
Refunds->count->approved   (instead of 'approved' you can also use: pending, declined, paid, all)
Refunds->commission->approved   (instead of 'approved' you can also use: pending, declined, paid, all)
 
(chargebacks)
Chargebacks->totalCost->approved   (instead of 'approved' you can also use: pending, declined, paid, all)
Chargebacks->count->approved   (instead of 'approved' you can also use: pending, declined, paid, all)
Chargebacks->commission->approved   (instead of 'approved' you can also use: pending, declined, paid, all)
 
(SignupBonus commissions)
SignupBonus->count->approved   (instead of 'approved' you can also use: pending, declined, paid, all)
SignupBonus->commission->approved   (instead of 'approved' you can also use: pending, declined, paid, all)
 

Subaffiliates count

It is also possible to add the number of subaffiliates the way as described here: https://support.qualityunit.com/506453-How-to-add-sub-affiliates-count-at-home-screen

 

Parent affiliate

Since version 5.5.57.2 you can display parent affiliate details, use variables: 

 
{$parentAffiliate->firstname}
{$parentAffiliate->lastname}
{$parentAffiliate->username}
{$parentAffiliate->email}
{$parentAffiliate->notificationemail}
{$parentAffiliate->refid}
{$parentAffiliate->id}
{$parentAffiliate->data1}
{$parentAffiliate->data2}
{$parentAffiliate->data3}
...
{$parentAffiliate->data25}
{$parentAffiliate->photo} /*since version 5.6.15.1*/