Page History
The usage tracking code should be copied to all pages of your siteinto every page you wish to track, and is best placed following the opening <HEAD> tag. Select the SharePoint farm version you would like configure and the code will be automatically generated. For more information, Configuring Usage Tracking and Reporting for SharePoint Online, or for SharePoint On-Premise.