The “Lookup table” macro is the ideal macro if you have installed one container across your domain and multiple sub-domains with each one having its own Google analytic property.
According to Google a Lookup Table macro “allows you to create a macro for which the value varies according to the value in another macro. This is useful if your website is set up in such a way that the appropriate value (for example, a conversion tracking ID) can be mapped to the URL or another aspect of the page. In this example, a macro named Conversion ID is being created. If the URL is “/thanks/buy1.html”, the value is set to “12345”; if the URL is “thanks/buy2.html”, the value is set to “34567”. There is no limit to the number of rows in the lookup table“.