Google has a webpage with detailed instructions
There are several ways to collect data in Analytics, depending on whether you want to track a website, an app, or other Internet-connected device.
You will need to have someone who is competent in HTML to add the tracking code.