There are a lot of situations where you may have your website visitors bounce around across your root domain (yourdomain.com) and sub-domains (subdomain.yourdomain.com).
I recently had this situation arise for myself. I have my Ghost blog hosted on the root domain (freak.marketing) and since I can't easily edit this theme to add a proper direct response optin page for my new online course, I used Carrd.co (aff link) to create it. I then pointed the landing page at a sub-domain (stripe.freak.marketing).
Simply adding the Google Analytics script to this sub-domain isn't going to give me accurate conversion data. For example, let's say a visitor comes in to Freak.Marketing via organic search. They then click over to stripe.freak.marketing where the Carrd lead magnet page is pointing and optin there.
The basic set up of Google Analytics would attribute this conversion to freak.marketing, not organic search like it sould be attributed.
To fix this, it's as simple as making a small edit in Google Tag Manager (GTM). This is assuming you have Google Analytics set up via a GTM tag.
You edit the custom Google Analytics Variable you're using with your Google Analytics Tag:
Google provides instructions for this here in their documentation.
Are you tired of reading tutorials and ready to learn how to set up and optimize your Google Ad Campaign with a professional?