Hello,
We implemented a custom domain on the portal for our client. Now, the portal can be accessed via two domains:
- The default PA Portals domain, e.g. domain.powerappsportals.com
- The custom domain provided by our client, e.g. www.domain.com
This is a bit problematic for our client because they do not want the default domain (.powerappsportals.com) to be visible with search engines. They are also using Google Tag Manager for site analytics and now they are getting duplicated analytics (from the custom and the default domain) which messes up their data.
Is it possible to somehow "block" the default domain from being searchable? Is it maybe possible to use 'no index' directives when the pages are returned from the default domain? And to remove gtag scripts from the DOM? Is this even a viable solution?