Adds GA tracking code to top-level template