Use the Shopify App Block feature to embed a tracking block on any page.
This feature is only available on Shopify Themes that are compatible with Online Store 2.0. See more details at official Shopify documentation
Pay attention to the URL of the page where the tracking block is inserted. For example, the links in your emails will need to be updated to match this location.