Google analytics is the measurement, collection, analysis and reporting of web data for purposes of understanding and optimizing web usage. Its provides information about the number of visitors to a website and the number of page views. It helps gauge traffic and popularity trends which is useful for market research. In Maintenance plugin there is a section where you can insert your google analytics ID. Please note that it’s importance to disable 503 function in Maintenance plugin otherwise, it won’t work. Kindly follow this steps to insert your google analytics ID in your Maintenance plugin.
Go Dashboard> Maintenance> Disable 503 function> Insert google analytics ID and click save changes.