analytics template added to main layouts