Hello,I have a query about redirection. I own 2 domains, let’s refer to them as xyz.com and xyz.us.
Currently, the .com domain is redirecting to the .us website. This means that when visitors go to xyz.com, they are directed to the .us site but the address bar still displays XYZ.COM. Similarly, visitors to xyz.us will see the .com URL in the address bar.
I have two questions:
- How can I track visits to the .com domain in Google Analytics?
- I am not seeing any content from the .us domain being indexed. Which domain will actually be indexed?
You can track visits to the .com domain in Google Analytics by using a custom URL parameter. This will allow you to distinguish between traffic coming from the .com domain and traffic coming from the .us domain.
To do this, you will need to create a custom URL parameter in Google Analytics. This parameter will be appended to the URL of the .com domain, and it will be used to identify traffic from that domain.
For example, you could use the parameter utm_source
and set it to xyz.com
. This will allow you to track visits from the .com domain in Google Analytics.
When it comes to which domain will be indexed, Google will generally prioritize the domain that is most relevant to the content. In this case, since the .com domain is redirecting to the .us domain, it is likely that Google will index the .us domain. However, you can submit a sitemap for the .us domain to Google Search Console to ensure that Google is aware of the content on that domain. This will help to improve the chances of the .us domain being indexed.