Something to be aware of when using request.headers is that it disables page caching which could negatively impact your website/page performance.
If you're using a global module, you could do what @Kevin-C suggested and use smart content in that module to display different content based on different locations.
Something to be aware of when using request.headers is that it disables page caching which could negatively impact your website/page performance.
If you're using a global module, you could do what @Kevin-C suggested and use smart content in that module to display different content based on different locations.