you can hijacking the victim from the url then you get the GEO of the victim but preparing this type of attack need knowledge in web development like you can simply done in some basic languages like (PHP,C# asp,Python django) + you need a hosting service like the server can listen or receive income connection from outside on yiur networks area.