Here is the example.
On R1.
track 1 ip route 0.0.0.0 0.0.0.0 reachability
interface FastEthernet0/0
mac-address aaaa.aaaa.aaaa
ip address 208.x.x.254 255.255.255.0
glbp 100 ip 208.x.x.1
glbp 100 preempt
glbp 100 load-balancing weighted
glbp 100 weighting 200
glbp 100 weighting track 1 decrement 200
On R2.
track 1 ip route 0.0.0.0 0.0.0.0 reachability
interface FastEthernet0/0
mac-address cccc.cccc.cccc
ip address 208.x.x.253 255.255.255.0
glbp 100 ip 208.x.x.1
glbp 100 priority 90
glbp 100 preempt
glbp 100 load-balancing weighted
glbp 100 weighting track 1 decrement 100