added ga for templatetype