I do as Wayne has explained. My bikes, tractors, scooter, and 4-wheeler have CTEK pigtails and all get a periodic fillup with the charger. My batteries hold up remarkably well with the last two bike batteries lasting 9 and 11 years. My CTEK charger does have an anti-sulphation step in the “smart” charging protocol. Since batteries “age” by slowly dissolving the plates, the eventual sediment buildup shorts out the plates well before they are nearly depleted. Anything that retards sulphation is almost sure to improve life.
The other thing that will make your battery last longer is a dry storage area that remains a consistent temperature. Batteries suffer in extreme temps...hot or cold. I have a temperature/humidity controlled shop that I use to store my bikes...it makes a difference.