function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anurag SoamAnurag Soam 

Aura component to navigate on different link based on user location

Hi All,

I want to create one aura component where it should re-direct based on Users region. For e.g if user is from USA region(country) and when he try to click on link it should redirect to web page and when a user from Japan login and click on that component link it should be redirected to diffrent web page.
Please help me with this.

Thanks,
Anurag
PriyaPriya (Salesforce Developers) 
Hi Anurag,

So do you want to have any button/link on the Aura component , and when user will click on that button , it should redirect to differnt web page based on the user country?

Thanks
Anurag SoamAnurag Soam
Yes