record usage of template widget