You want to track example.com and other example.com using a single property. What must be set up?
cross domain tracking
Google Tag Manager
Include and Exclude filters
custom dimensions