what is the purpose of hsrp
HSRP is configured on the inside interfaces of the routers. The tracking is used to track the outside interfaces, which are non hsrp interfaces. If the outside interface/line protocol goes down on the main router, the HSRP priority is decreased for that router, which results in the failover router having the higher priority and takes over as the active router.