Are duplicate tracking codes required on two separate projects with a domain and subdomain?

I have two separate projects. Each with their own site plan. I am using a regular domain on one, and the other a subdomain to that regular one. So ex. &

We are using the subdomain for more creative freedom with landing pages/tests/etc. My question is for tracking. For example, do I need to setup GA and FB pixel in both settings or will it still track as long as I set up the “regular” domain.

Here is my site Read-Only: LINK
(how to share your site Read-Only link)