To begin tracking a website using analytics.js, paste the following JavaScript snippet into your website template page so that it appears before the closing tag. The UA-XXXX-Y, parameter must be replaced with the Web Property ID for the Google Web Property you wish to track.