Disclosed is a method for preparing an ultra-violet radiation absorbing polymer composition comprising the polymer compound of formula in an esterification/transesterification which method comprises the steps of reacting a polyglycerol intermediate of formula with a benzotriazole UV-chromophore comprising a complementary functional group of formula to form the polymer compound of formula (3).