add callback for discount URL attributes