This example demonstrates how to have a regionalized section of a page. This will work best in cases where most of the content is the same between regions and only limited sections need to be regionalized.
Emulating users
During development, Googlers can emulate a user from a different country by adding the
parameter country
to the URL, set to the target country code. For example:
?country=GB
.
In production, Googlers can more accurately emulate a user from a different country by using the Polyjuice Proxy option in the BeyondCorp Chrome extension. Note: This approach won't work on staging domains, since the traffic doesn't come through an external IP.
Demo
Not Regionalized Content
This content is not regionalized.
Regionalized Content
These are the US cusotmers.
🇺🇸
Also Not Regionalized Content
This content is also not regionalized.
Permalinks to regionalized pages
Debug
- Pages's country code: US
- Country code from URL param: GB
- User's country code: US
- Effective country code: US