I am showing different content to the visitors from USA.
All Americans seeing their content via
https://example.com/?country=US while rest of the world seeing:
Everything works as planned, the only concern I have ...
US based bots (Google Search Console) seeing this page as following:
https://example.com/- StatusCode: 302, Status: Found, Indexability: Non-Indexable, Indexability Status: Redirected
https://example.com/?country=US- StatusCode: 200, Status: OK, Indexability: Non-Indexable, Indexability Status: Canonicalised
For the rest of the world:
https://example.com/- StatusCode: 200, Status: OK, Indexability: Indexable, Indexability Status: Canonical
As you may see from above
https://example.com/ now has TWO different Responses when crawled in the US and outside of US.
Also looks like US based bots always seeing "Indexability: Non-Indexable" ... and I am afraid US bots are actually never be able to see the real Canonical page
https://example.com/ .... since will be always redirected to Canonicalised
Do you see any danger from SEO perspective? Is there any way to avoid this situation?
Would you recommend a different approach to this problem, maybe by avoiding the use of a querystring?